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.

PROCESSOR-SDK-AM62A: Boot flow of eMMC SBL

Part Number: PROCESSOR-SDK-AM62A

Hello There,

I'm referring to the example.syscfg files of the eMMC SBL in MCU+ SDK v08.06.00. 

There are two stages; Stage 1 and Stage 2.

In sbl_emmc_linux_stage1/am62ax-sk/r5fss0-0_nortos/example.syscfg file, There are two entries for the boot loader

bootloader1.bootMedia = "EMMC";
bootloader1.$name = "CONFIG_BOOTLOADER_EMMC_MCU";
bootloader1.EMMCAppImageOffset = "0x100000";

bootloader2.bootMedia = "EMMC";
bootloader2.$name = "CONFIG_BOOTLOADER_EMMC_SBL";
bootloader2.EMMCAppImageOffset = "0x80000";

Question: Do the above statements mean that MCU binary at the offset 0x100000 shall be loaded before the SBL stage 2?

In sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/example.syscfg file

bootloader1.bootMedia = "EMMC";
bootloader1.$name = "CONFIG_BOOTLOADER_EMMC_HSM";
bootloader1.EMMCAppImageOffset = "0x800000";

bootloader2.bootMedia = "EMMC";
bootloader2.$name = "CONFIG_BOOTLOADER_EMMC_DM";
bootloader2.EMMCAppImageOffset = "0xA00000";

bootloader3.$name = "CONFIG_BOOTLOADER_EMMC_LINUX";
bootloader3.appImageOffset = "0xC00000";
bootloader3.bootMedia = "EMMC";
bootloader3.EMMCAppImageOffset = "0xC00000";

Question: In stage 2, the DM module is loaded after MCU R5 which is in contradiction to our understanding from the document that DM is the one that loads the MCU binary.

Correct me if I have missed

Cheers

Gnana

  • Hi Gnana,

    Question: Do the above statements mean that MCU binary at the offset 0x100000 shall be loaded before the SBL stage 2?

    The MCU binary is loaded by SBL Stage 1. Basically, SBL loads each image corresponding to the defined bootloader entries. So, for SBL Stage 1 we have two such entries and so it loads those two images. The images are: 1) MCU Image 2) SBL Stage 2

    Question: In stage 2, the DM module is loaded after MCU R5 which is in contradiction to our understanding from the document that DM is the one that loads the MCU binary.

    The DM does not load any image. It' sole purpose is to service RM/PM requests from the other cores. The MCU binary and all are loaded by SBLs.

    Regards,

    Prashant