Forum Discussion
Altera_Forum
Honored Contributor
21 years agoboot from onchip rom
Hi, If i want to use onchip rom as a boot area, i need to extract boot loader code from elf file and convert into hex for on-chip rom which will be included in sof file. But , i don&...
Altera_Forum
Honored Contributor
20 years agoHi samchou,
> i need to extract boot loader code from elf file and convert into hex Try some combination of objcopy, elf2hex, etc. (as suits your taste) from the command line ... you may find it is much easier to understand ... since you can avoid the "magic" of the IDE. For example: $ nios2-elf-objcopy -O ihex app.elf onchip_rom.hex Regards, --Scott