This is a bootloader example, which shows an example of booting Linux on A53 core and RTOS/NORTOS applications on R5 and M4 cores.
The SBL uses two appimages
The bootloader does SOC initializations and parses the multicore appimage present at 0x80000, splits it into RPRCs for each core applicable. Each core is then initialized, RPRC image is loaded, entry points are set and the core is released from reset.
For booting Linux, SBL parses the Linux appimage present at 0x300000, splits it into individual linux binaries (ATF, OPTEE, SPL). SBL loads the Linux binaries, entry point is set to the start address of ATF and A53 core is released from reset.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am64x-evm |
Example folder | examples/drivers/boot/sbl_ospi_linux |
config.mak
${SDK_INSTALL_PATH}/examples/drivers/boot/sbl_ospi_linux/am64x-evm/{cpu}_{os}/default_sbl_ospi_linux.cfg
default_sbl_ospi_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 C:/ti/mcu_plus_sdk/tools/boot>python uart_uniflash.py -p COM13 --cfg=C:/ti/mcu_plus_sdk/examples/drivers/boot/sbl_ospi_linux/am64x-evm/r5fss0-0_nortos/default_sbl_ospi_linux.cfg
After flashing and booting the EVM, you will see below output on the UART console (Complete log is not shown)
[BOOTLOADER PROFILE] SYSFW Load : 17592us [BOOTLOADER PROFILE] System_init : 19018us [BOOTLOADER PROFILE] Drivers_open : 141us [BOOTLOADER PROFILE] Board_driversOpen : 21886us [BOOTLOADER PROFILE] App_loadImages : 3446us [BOOTLOADER_PROFILE] SBL Total Time Taken : 65575us Image loading done, switching to application ... Starting linux and RTOS/Baremetal applications NOTICE: BL31: v2.5(release):08.00.00.004-dirty NOTICE: BL31: Built : 14:02:03, Aug 5 2021 U-Boot SPL 2021.01-g53e79d0e89 (Aug 05 2021 - 14:03:40 +0000) SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam') Trying to boot from MMC2 . . . . . . _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am64xx-evm ttyS2 Arago 2020.09 am64xx-evm ttyS2 am64xx-evm login: