Hi,
I try to optimize code for AM335x and I have the following situation:
1. .bss section has to be the last section to keep the final binary file small and therefore loadtime from SD card is short
2. .cinit, .data, .const and sections that are only used to hold code that is copied to (and runs in) internal SRAM should be after .text. So that .text is the first section placed in memory.
Point 1 I got solved by grouping .bss, .stack and .sysmem and using "(HIGH)".
For Point 2 I tried a lot of different things but in vain so far.
1. Question: Is it possible to place .cinit behind .text section?
2. Question: Is it possible to switch-off the autoinitialisation of .bss with zero?
Thanks and best regards,
Patrick