Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIf you want to load the zImage from flash, the reset vector has to be in flash. Also the base and offset for elf2flash have to be in flash.
You also have to leave enough room for the sof in flash. For elf2flash: --base = The base address of flash, + 0xc0000000 if using an MMU --end = The end address of flash, + 0xc0000000 if using an MMU --reset = The reset address, which should be in flash, and must be high enough so that the sof fits in flash below it. Do NOT subtract the base from this value. +0xc0000000 if using an MMU. for nios2-flash-programmer: --base = The base address of flash. If using an MMU, add the --mmu option, but do NOT add an offset to this address.