Forum Discussion
Altera_Forum
Honored Contributor
22 years agoChanging location of .entry section
Hi, i'm working on a bootloader for a system with a Cyclone 1C6, Nios II/s,256kb SRAM and an Atmel serial dataflash (2 megabits). The bootloader will load the main application from the data...
Altera_Forum
Honored Contributor
22 years agoYou have to tell the IDE that you have a custom script... Under System Library properties there's a box at the right linker script. Check 'Custom linker script'. Everytime the IDE sees a reason to recompile the system library it will also regenerate the linker script, which is called generated.x I've made a copy of this one, edited it and called it custom.x and filled that in.
I use nios2-elf-objdump -d *.elf to see where it puts the sections.