Forum Discussion
Altera_Forum
Honored Contributor
16 years agoelf2flash --base=0x04000000 --end=0x04FFFFFF --reset=0x04100000 --input=zImage --output=zImagebf.flash --boot=/opt/altera/nios2eds/components/altera_nios2/boot_loader_cfi.srec You gave wrong reset address in elf2flash, which should be nios2 cpu hardware reset address. You should also change the reset vector to offset 0x100000 of cpi flash in sopc. The boot link address in kernel config for neek can be set to 0x01600000, which is about 2/3 of 32MB. From power on reset, fpga gets configured from offset 0x20000 of cfi flash, cpu reset from 0x100000 of cfi flash, boot loader cfi copy zImage to boot link address, zImage uncompress to 0, and kernel start. - Hippo