This is a bootloader example, which shows an example of booting Linux on A53 core and RTOS/NORTOS applications on DM R5 and M4 cores.
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 | am62x-sk-lp |
Example folder | examples/drivers/boot/sbl_gmpc_nand_linux_multistage |
sbl_gpmc_nand_linux_stage2.release.appimage.hs_fs
.config.mak
${SDK_INSTALL_PATH}/tools/boot/sbl_prebuilt/am62x-sk-lp/default_sbl_gpmc_linux.cfg
default_sbl_gpmc_linux.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/am62x-sk-lp/default_sbl_gpmc_nand_linux.cfg
~/ti/mcu_plus_sdk
cd ~/ti/mcu_plus_sdk python uart_uniflash.py -p /dev/ttyUSB0 --cfg=~/ti/mcu_plus_sdk/tools/boot/sbl_prebuilt/am62x-sk-lp/default_sbl_gpmc_nand_linux.cfg
After flashing and booting the EVM, you will see below output on the UART console (Complete log is not shown)
DMSC Firmware Version 8.6.4--v08.06.04 (Chill Capybar DMSC Firmware revision 0x8 DMSC ABI revision 3.1 [BOOTLOADER_PROFILE] Boot Media : SPI FLASH [BOOTLOADER_PROFILE] Boot Media Clock : 133.333 MHz [BOOTLOADER_PROFILE] Boot Image Size : 177 KB [BOOTLOADER_PROFILE] Cores present : m4f0-0 r5f0-0 [BOOTLOADER PROFILE] System_init : 35700us [BOOTLOADER PROFILE] Drivers_open : 202us [BOOTLOADER PROFILE] Board_driversOpen : 35us [BOOTLOADER PROFILE] Sciclient Get Version : 10109us [BOOTLOADER PROFILE] App_loadImages : 9711us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 12401us [BOOTLOADER_PROFILE] SBL Total Time Taken : 68161us Image loading done, switching to application ... Starting MCU-m4f and 2nd stage bootloader DMSC Firmware Version 8.6.4--v08.06.04 (Chill Capybar DMSC Firmware revision 0x8 DMSC ABI revision 3.1 [BOOTLOADER_PROFILE] Boot Media : SPI FLASH [BOOTLOADER_PROFILE] Boot Media Clock : 133.333 MHz [BOOTLOADER_PROFILE] Boot Image Size : 1005 KB [BOOTLOADER_PROFILE] Cores present : hsm-m4f0-0 r5f0-0 a530-0 [BOOTLOADER PROFILE] System_init : 2811us [BOOTLOADER PROFILE] Drivers_open : 272us [BOOTLOADER PROFILE] Board_driversOpen : 46us [BOOTLOADER PROFILE] Sciclient Get Version : 10180us [BOOTLOADER PROFILE] App_loadImages : 2115us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 14570us [BOOTLOADER PROFILE] App_loadLinuxImages : 61762us [BOOTLOADER_PROFILE] SBL Total Time Taken : 91759us 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 : 05:26:20, Feb 24 2023 U-Boot SPL 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:20 +0000) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') Trying to boot from NAND Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. s Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. s U-Boot 2021.01-00001-g8a96587a0e-dirty (Mar 29 2023 - 18:42:17 +0530) SoC: AM62X SR1.0 TEST Model: Texas Instruments AM62x LP SK EEPROM not available at 0x50, trying to read at 0x51 Board: AM62-LP-SKEVM rev E1 DRAM: 2 GiB NAND: 1024 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from MMC... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Reading daughtercard EEPROM at 0x53 failed 1 Net: Warning: ethernet@8000000port@1 (eth0) using random MAC address - 72:ee:e3:ad:97:ad eth0: ethernet@8000000port@1 . . . . . . _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am62xx-evm ttyS2 Arago 2020.09 am62xxx-evm ttyS2 am62xx-evm login: