This is a bootloader example, which shows an example of booting Linux on A53 core and RTOS/NORTOS applications on DM R5, MCU R5 and C75 cores.
The booting is done in 2 stages(2 bootloader applications).
The SBL uses 7 appimages
Refer SBL Booting Linux From OSPI for more details on the OSPI boot loader.
Refer Enabling DDR inline ECC enablig inline ECC
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 nortos |
| Toolchain | ti-arm-clang |
| Board | am62ax-sk |
| Example folder | examples/drivers/boot/sbl_ospi_nand_linux_multistage |
config.mak ${SDK_INSTALL_PATH}/tools/boot/sbl_prebuilt/am62ax-sk/default_sbl_ospi_nand_linux_hs_fs.cfg
default_sbl_ospi_nand_linux_hs_fs.cfg shown above.C:/ti/mcu_plus_sdk and this example and IPC application is built using makefiles, and Linux 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_ospi_nand_linux_hs_fs.cfg
~/ti/mcu_plus_sdk cd ~/ti/mcu_plus_sdk/tools/boot python uart_uniflash.py -p /dev/ttyUSB0 --cfg=~/ti/mcu_plus_sdk/tools/boot/sbl_prebuilt/am62ax-sk/default_sbl_ospi_nand_linux_hs_fs.cfg
After flashing and booting the EVM, you will see below output on the UART console (Complete log is not shown)
SYSFW Version 9.0.5--v09.00.05 (Kool Koala)
SYSFW revision 0x9
DMSC ABI revision 3.1
[BOOTLOADER_PROFILE] Boot Media : FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 166.667 MHz
[BOOTLOADER_PROFILE] Boot Image Size : 184 KB
[BOOTLOADER_PROFILE] Cores present :
mcu-r5f0-0
r5f0-0
[BOOTLOADER PROFILE] System_init : 39073us
[BOOTLOADER PROFILE] Drivers_open : 191us
[BOOTLOADER PROFILE] Board_driversOpen : 5541us
[BOOTLOADER PROFILE] Sciclient Get Version : 9894us
[BOOTLOADER PROFILE] App_waitForMcuPbist : 4us
[BOOTLOADER PROFILE] App_waitForMcuLbist : 7792us
[BOOTLOADER PROFILE] App_loadImages : 3689us
[BOOTLOADER PROFILE] App_loadSelfcoreImage : 7092us
[BOOTLOADER_PROFILE] SBL Total Time Taken : 73280us
Image loading done, switching to application ...
Starting MCU-r5f and 2nd stage bootloader
SYSFW Version 9.0.5--v09.00.05 (Kool Koala)
SYSFW revision 0x9
DMSC ABI revision 3.1
[BOOTLOADER_PROFILE] Boot Media : FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 166.667 MHz
[BOOTLOADER_PROFILE] Boot Image Size : 1045 KB
[BOOTLOADER_PROFILE] Cores present :
hsm-m4f0-0
r5f0-0
a530-0
c75ss0
[BOOTLOADER PROFILE] System_init : 1792us
[BOOTLOADER PROFILE] Drivers_open : 224us
[BOOTLOADER PROFILE] Board_driversOpen : 5543us
[BOOTLOADER PROFILE] Sciclient Get Version : 9913us
[BOOTLOADER PROFILE] App_loadImages : 2093us
[BOOTLOADER PROFILE] App_loadSelfcoreImage : 6912us
[BOOTLOADER PROFILE] App_loadLinuxImages : 31427us
[BOOTLOADER PROFILE] App_loadDSPImages : 7284us
[BOOTLOADER_PROFILE] SBL Total Time Taken : 65191us
Image loading done, switching to application ...
Starting linux and RTOS/Baremetal applications
NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
NOTICE: BL31: Built : 00:42:57, Jan 13 2023
U-Boot SPL 2023.04-g794614311a (Jul 05 2023 - 17:29:58 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
am62a_init: board_init_f done
am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0
Trying to boot from SPINAND
am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0
Authentication passed
am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0
Authentication passed
U-Boot 2023.04-g794614311a (Jul 05 2023 - 17:29:58 +0000)
SoC: AM62AX SR1.0 HS-FS
Model: Texas Instruments AM62A7 SK
.
.
.
.
.
.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am62axx-evm ttyS2
Arago 2020.09 am62axx-evm ttyS2
am62axx-evm login: