Altera_Forum
Honored Contributor
16 years agoStratix IV GX BUP booting problem
I have installed the new version and it doesn't work also for my Stratix IV GX board using board update portal (BUP).
Here are my steps: 1. Convert .sof to .flash: sof2flash --input=<yourfile_hw>.sof --output=<yourfile>_hw.flash --offset=0xC20000 --pfl --optionbit=0x00018000 2. Convert .elf to .flash: elf2flash --base=0x0A000000 --end=0x0BFFFFFF --reset=0x0A820000 --input=<yourfile_sw>.elf --output=<yourfile>_sw.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec 3. Program hardware: nios2-flash-programmer --base=0x08000000 <yourfile>_hw.flash 4. Program software: nios2-flash-programmer --base=0x0A000000 <yourfile>_sw.flash Do I also need to program in the <yourfile>_hw.map.flash file ? Please let me know if my steps are correct. BTW I have upgraded my Quartus II and Nios II EDS to 9.1 SP1 and before I done the above steps. Thanks.