Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow to implement my own bootloader
Hi, My system doesn't use CFI Flash but SPI Flash, so I have to creat my own bootloader to read code from SPI Flash to SDRAM. Now, I have implemented a bootloader code which is locat...
Altera_Forum
Honored Contributor
20 years agoHi David,
> As I know, NiosII IDE will create *.elf for you, but this file will contain many more > redundant code which is for programming CFI Flash. What I need is only the following > sections: > .exceptions, .rodata, .rwdata and .text Use nios2-elf-objcopy. Regards, --Scott