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 SBL_QSPI validation by ROM Bootloader

Part Number: AM2732-Q1

Tool/software:

Hi Team,

I have few questions on Boot ROM & SBL QSPI boot sequence. Can you please help us in anwsering below questions?

  • Can you please explain how ROM bootloader will validate the SBL_QSPI during bootup? 
  • How can we customise the SBL_QSPI validation?
  • If SBL_QSPI validation fails then what is the next offset does Boot ROM look for SBL image? Is secondary SBL_QSPI offset customisable?

Regards,

Shyam.

  • Hi Shyam,

    The ROM bootloader will load the SBL_QSPI from QSPI flash address 0 and make sure it is X509 signed, then starts the SBL_QSPI.

    The SBL_QSPI will load the systemFW first, then load the application program one core at a time while checking a few things (the "RPRC" is in the file header, did not use the SBL reserved memory etc.) along the way: 

    Bootloader_loadCpu

        Bootloader_rprcImageLoad

            Read RPRC file header: config->fxns->imgReadFxn()

            Check magic number for RPRC file: BOOTLOADER_RPRC_MAGIC_NUMBER (0x43525052 or "RPRC")

            Check for SBL reserved memory

    Because the SBL_QSPI provide all the source code, you can implement any validation necessary in Bootloader_rprcImageLoad().

    Best regards,

    Ming

  • Hi Ming,

    Got it. But my question is that is there a way to have security of SBL_QSPI under our control? I know anything that loads from SBL_QSPI we can configure the security

    Where as if we need to change security of SBL_QSPI then it needs change in both Boot ROM & SBL_QSPI. 

    Regards,

    Shyam.

  • Per 6/4 call, this was addressed, but SyamKumar has another question and will post after the call.