This is a bootloader example, which shows an example of booting RTOS/NORTOS applications on R5,M4 and A53 cores from eMMC.
The booting is done in 2 stages(2 bootloader applications).
The SBL uses 6 appimages
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am62ax-sk |
Example folder | examples/drivers/boot/sbl_emmc_multistage |
${SDK_INSTALL_PATH}/tools/boot/sbl_prebuilt/am62ax-sk/default_sbl_emmc_hs.cfg
default_sbl_emmc_hs.cfg
shown above.C:/ti/mcu_plus_sdk
and this example and IPC application is built using makefiles, and Appimage is already created, in Windows, cd C:/ti/mcu_plus_sdk/tools/boot python uart_uniflash.py -p COM13 --cfg=C:/ti/mcu_plus_sdk/tools/boot/sbl_prebuilt/am62ax-sk/default_sbl_emmc_hs.cfg
After flashing and booting the EVM, you will see below output on the UART console (Complete log is not shown)
DMSC Firmware Version 9.1.8--v09.01.08 (Kool Koala) DMSC Firmware revision 0x9 DMSC ABI revision 3.1 [BOOTLOADER_PROFILE] Boot Media : eMMC [BOOTLOADER_PROFILE] Boot Media Clock : 200.000 MHz [BOOTLOADER_PROFILE] Boot Image Size : 148 KB [BOOTLOADER_PROFILE] Cores present : mcu-r5f0-0 r5f0-0 [BOOTLOADER PROFILE] System_init : 37940us [BOOTLOADER PROFILE] Board_init : 0us [BOOTLOADER PROFILE] Drivers_open : 60669us [BOOTLOADER PROFILE] Board_driversOpen : 0us [BOOTLOADER PROFILE] Sciclient Get Version : 9898us [BOOTLOADER PROFILE] App_loadImages : 5806us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 7259us [BOOTLOADER_PROFILE] SBL Total Time Taken : 121574us Image loading done, switching to application ... Starting MCU-r5f and 2nd stage bootloader DMSC Firmware Version 9.1.8--v09.01.08 (Kool Koala) DMSC Firmware revision 0x9 DMSC ABI revision 3.1 [BOOTLOADER_PROFILE] Boot Media : eMMC [BOOTLOADER_PROFILE] Boot Media Clock : 200.000 MHz [BOOTLOADER_PROFILE] Boot Image Size : 311 KB [BOOTLOADER_PROFILE] Cores present : hsm-m4f0-0 r5f0-0 a530-0 c75ss0 [BOOTLOADER PROFILE] System_init : 1673us [BOOTLOADER PROFILE] Board_init : 0us [BOOTLOADER PROFILE] Drivers_open : 19520us [BOOTLOADER PROFILE] Board_driversOpen : 0us [BOOTLOADER PROFILE] Sciclient Get Version : 9990us [BOOTLOADER PROFILE] App_loadImages : 5127us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 7501us [BOOTLOADER PROFILE] App_loadA53Images : 6393us [BOOTLOADER PROFILE] App_loadDSPImages : 6850us [BOOTLOADER_PROFILE] SBL Total Time Taken : 57060us Image loading done, switching to application ... Starting RTOS/Baremetal applications Hello World!