Altera_Forum
Honored Contributor
16 years agosof in CFI and zImage in CFI
Hello all,
I have DSP Development board Stratix II Proffesional Edition (DK-DSP-2S180N) and try to save the sof and the zImage to Flash memory. I want to run the system after power on automaticly. I use: />nios2-configure-sof standard.sof create flash file: />sof2flash --offset=0x000000 --input=standard.sof --output=standard.flash programming flash with fpga configuration: />nios2-flash-programmer --base=0x05000000 standard.flash now, when i switch on the board, the sof is loading to fpga and bitstream is ok loaded. But when i creating flash from project: />elf2flash --base=0x02000000 --end=0x02ffffff --reset=0x02000000 --input=zImage --output=ext_flash.flash --boot=boot_loader_cfi_srec.srec and programming flash: />nios2-flash-programmer --base=0x05000000 ext_flash.flash and turn off and turn on the board, the led is blinking but it finished with error and no sof and no zImage is loaded. Where is the error ? I have: nios2 cpu - reset vector sdram = 0x02000000 sdram controller (sdram) = 0x02000000 flash memory interface CFI (ext_flash) = 0x05000000 Thank you for your answer. Jan Naceradsky, Czech Republic