Forum Discussion
Altera_Forum
Honored Contributor
20 years agoGNU Cross compiler for NIOS II
Hi, I am working on NIOS II processor. Could any one send GNU cross compiler / Tool chain for NIOS II embedded processor. I want to compile U-boot for NIOS II, I already have tool chain fo...
Altera_Forum
Honored Contributor
20 years agoyou can find address map from sopc builder of your project.
u-boot will be linked to somewhere near the end of sdram. check with nios2-linux-uclibc-objdump -h u-boot, to see the VMA. first try to run u-boot from sdram, it is similar to tryout linux, but u-boot replace zImage. http://nioswiki.jot.com/wikihome/operating...s/tryoutuclinux (http://nioswiki.jot.com/wikihome/operatingsystems/tryoutuclinux) if it works, then you can program it to flash, http://nioswiki.jot.com/wikihome/operating...flashprogrammer (http://nioswiki.jot.com/wikihome/operatingsystems/flashprogrammer) it will insert an Altera supplied cfi boot loader, which will copy u-boot image from flash to sdram, and jump start on sdram to run u-boot.