Forum Discussion
Altera_Forum
Honored Contributor
19 years agoyou may find the doc of nios2 from altera's web site.
you may find the reset vector from sopc builder in your project. say, if it is set to flash_base, if you program u-boot to flash with elf2flash and nios2-flash-programmer, there is a altera supplied cfi boot loader at flash_base, and u-boot image as it payload. after reset, nios2 will start from flash_base, run the cfi boot loader, which will copy the u-boot image to sdram, at 018e0000 in your project. Then it will jump start at 018e0000 to run u-boot. (it is still possible to start from u-boot at flash without altera cfi boot loader, u-boot will relocate itself from flash to 018e0000 . )