Altera_Forum
Honored Contributor
19 years agoelf2flash and bootloader questions
I'm trying (so far in vain) to get RedBoot to run from flash. The ROMRAM startup version of RedBoot works fine when loaded into RAM via JTAG, but the ROM startup version of RedBoot doesn't run when programmed into flash. Other stand-alone programs seem to work fine when programmed in flash.
I see that the instructions mention some proprietary tool called elf2flash. It appears to be used instead of the standard Gnu binutils programs to generate an srec file. There also seems to be a "bootloader" srec file involved. I can find no detailed documentation on either elf2flash or the mysterious external bootloader which appears to be available only as an srec file.[list][*]What exactly does "elf2flash" do?[*]Why can't "objcopy" be used like all other normal eCos targets?[*]What is the external bootloader .srec file for? [*]Why would a ROM-resident bootloader like RedBoot require a second bootloader? [/list]