This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2732-Q1: Query on reserved memory sections of SBL

Part Number: AM2732-Q1


Tool/software:

Hi Team,

I'm working on AM2732-SBL. While going through TI SDK bootloader sources there is memory reserved for SBL in 2 sections as mentioned below.

> Can anyone confirm on why below memory sections were reserved for SBL?

> In which usecase below reserved memory will be used?

> What will be the consequences if we don't reserve memory in DSS-L3(Section-1) for SBL ?

Code snippet from bootloader_soc.c in SDK:

Bootloader_resMemSections gResMemSection =
{
    .numSections    = 2,
    .memSection[0].memStart   = 0x10200000,
    .memSection[0].memEnd     = 0x10220000, //128 KB
    .memSection[1].memStart   = 0x88100000,
    .memSection[1].memEnd     = 0x88200000 //1 MB
};

Regards,

Shyam.

  • Hi Shyam,

    Those memory sections are the working memory for the SBL, if you do not reserve those memory sections, the SBL will not working properly. However, those memory sections can be used for data buffers or none initialized data for your application, because they will be free after the SBL finishes and pass the control to the application code.

    Best regards,

    Ming 

  • Hi Ming,

    Thanks for the reply. If we don't reserve below specified DSS_L3 memory then which SBL will not work properly? Is SBL_QSPI or SBL_UART or SBL_JTAG?

      .memSection[1].memStart   = 0x88100000,
       .memSection[1].memEnd     = 0x88200000 //1 MB
    Regards,
    Shyam.

     

  • Hi Syam,

    I think that DSS_L3 memory is the temporary memory area for storing the application image. It will not work properly, if you are not reverse this memory. Again, you can reclaim this memory back after the SBL complete its job and pass the control to your application code. Or you can use this space as the non-initialized data buffers. It is applicable for SBL_QSPI, SBL_UART and SBL_JTAG.

    Best regards,

    Ming