Forum Discussion
Altera_Forum
Honored Contributor
20 years ago$ elf2flash --input=LynxApp.elf --base=0 --end=0x7fffffff --output=noboot.flash
This ^^^ produces a SREC file which addresses the SRAM - that's not what I need! I now don't believe elf2flash is broken either, since I've looked closer at the differences between the two versions. Which implies that something's being set in the ELF, which I'm currently unable to detect differences to the existing released version built with quartus/nios version 5. And I've just added a board description, just specifying the flash memory, and now SOPC builder complains that "onchip memory *** cannot operate with ." I'm just going to have to modify the flash programmer code to add the offset. This has been an expensive day. Is there any source code available for elf2flash so I can see how it performs the boot code merge? Do I need an "install.ptf" file?