Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHmmm... It really ought to be possibly to write a bootloaded for ECPS that loads from an elf image (using the program sections). The non-loadable sections can be removed (with objcopy or similar) to save space.
Even post processing the elf file (using the program headers) so that a simpler loader could load multiple sections would do. The increase in the image size caused by adding the section info is probably less than the code needed to sort out the sections at run time. Unless things have changed since I used the default linker script, it is almost impossible to initialise multiple internal memory sections because the boot code tries to copy all the data into one of them first - and it wont fit.