Part Number: SK-AM62
Other Parts Discussed in Thread: UNIFLASH
Hi experts,
in the mcu+sdk for AM62x, there is a boot example (uart uni flash stage 1) that basically gets loaded by the ROM, initializes drivers, and loads the stage 2 SBL which runs in the RAM. In the linker for the stage 1 SBL, there is a section that is used to store the images received by UART in the RAM and its attribute is set to NOLOAD. why is this section set to be NOLOAD ? I assume it's because the RAM is not yet initialized, is this correct or are there other reasons?
the follow-up question is that in the main code for stage 1 SBL, the buffer that is defined to store the image is defined to store in the .bss.filebuf which is basically the NOLOAD section that I talked about. But since the RAM is not yet initialized at the beginning, I wonder how memory allocation is handled in this case.
These are images from the code that I'm talking about :



