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.0.5--v09.00.05 (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 : 151 KB [BOOTLOADER_PROFILE] Cores present : mcu-r5f0-0 r5f0-0 [BOOTLOADER PROFILE] System_init : 40220us [BOOTLOADER PROFILE] Drivers_open : 30403us [BOOTLOADER PROFILE] Board_driversOpen : 0us [BOOTLOADER PROFILE] Sciclient Get Version : 9907us [BOOTLOADER PROFILE] App_loadImages : 22082us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 23788us [BOOTLOADER_PROFILE] SBL Total Time Taken : 126403us Image loading done, switching to application ... Starting MCU-r5f and 2nd stage bootloader DMSC Firmware Version 9.0.5--v09.00.05 (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 : 302 KB [BOOTLOADER_PROFILE] Cores present : hsm-m4f0-0 r5f0-0 a530-0 c75ss0 [BOOTLOADER PROFILE] System_init : 2315us [BOOTLOADER PROFILE] Drivers_open : 19523us [BOOTLOADER PROFILE] Board_driversOpen : 0us [BOOTLOADER PROFILE] Sciclient Get Version : 9917us [BOOTLOADER PROFILE] App_loadImages : 21223us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 24059us [BOOTLOADER PROFILE] App_loadA53Images : 22086us [BOOTLOADER PROFILE] App_loadDSPImages : 24176us [BOOTLOADER_PROFILE] SBL Total Time Taken : 123304us Image loading done, switching to application ... Starting RTOS/Baremetal applications Hello World!