SPRADU1 September   2026 AM62A3 , AM62A7

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Boot Process
    1. 2.1 SPL Boot Process
      1. 2.1.1 R5 SPL
      2. 2.1.2 TF-A+OPTEE+A53 SPL
      3. 2.1.3 U-Boot
      4. 2.1.4 Linux and User Mode
    2. 2.2 SPL Falcon Mode
      1. 2.2.1 Steps
        1. 2.2.1.1 Installing Linux SDK
        2. 2.2.1.2 Adding Falcon Script
        3. 2.2.1.3 Compiling Linux Device Tree
        4. 2.2.1.4 Creating tispl.bin
        5. 2.2.1.5 Creating a Bootable Card
    3. 2.3 Replacing SPL With SBL
      1. 2.3.1 Falcon Boot in SBL
  6. 3Boot Media
  7. 4Operating System Boot Optimization
    1. 4.1 Trimming Operating System
      1. 4.1.1 Using Preset Trimming Configuration
      2. 4.1.2 Custom Trimming
    2. 4.2 Reducing Log Output
  8. 5Userspace Optimization
    1. 5.1 Customizing Boot Services Using Systemd
  9. 6Minimizing Boot Services Using init Script
  10. 7Conclusion
  11. 8References

Replacing SPL With SBL

SBL is another boot mode TI offers, which replaces the traditional SPL boot mode and has a boot process as shown below. After the ROM code is executed, the R5 core boots in two steps, SBL1 and SBL2. The images of other small cores are also loaded to boot during the SBL2 stage. This boot mode can also be combined with Falcon mode, skipping U-Boot to start the Trusted Firmware, OP-TEE, and kernel directly and finally booting the file system through the kernel. The booting of the file system can be further divided into two stages. Only the services that require a fast boot are booted in the first stage, and the remaining file system is booted in the second stage.

 SBL Boot ProcessFigure 2-6 SBL Boot Process

To use this boot mode, an additional MCU SDK must be downloaded, which is documented to describe the SBL boot mode under different boot media. This article mainly takes eMMC boot as an example and describes the implementation steps in the eMMC boot case. The impact of boot media lies not only in their transfer rate, but also in the configuration of the high-speed mode in SBL boot mode. This is because the configuration of some boot media is complex, which requires the Linux operating system to be up to complete the high-speed mode configuration. Before the operating system boots, images can only be moved in low-speed mode.

See also the implementation guide for the implementation of SBL, which specifies that the images of the following cores are required:

A Linux appimage containing the Linux binaries (ATF, OPTEE, A53 SPL).
tiboot3.bin with SBL stage1, TIFS, BoardConfig
Appimage for SBL stage2
Appimage for MCU R5
Appimage for HSM M4
Appimage for C75
DM firmware appimage for DM R5

Among them, the Linux appimage, tiboot3, SBL stage2, and HSM images are described in detail. However, there is a lack of guidance on how to package the appimages for C7 and R5 cores. Therefore, a simple method for packaging these images is introduced here.

Take the C7 core image as an example. After building the MCU Plus SDK, delete the generated appimage, out, and rprc files under the mcu_plus_sdk_am62ax_xxxxxx/examples/drivers/ipc/ipc_rpmsg_echo_linux/am62ax-sk/c75ss0-0_freertos/ti-c7000 directory; copy the out file under the ti-processor-sdk-linux-edgeai-am62a-evm-xxxxx/filesystem/rootfs/lib/firmware/vision_apps_eaik directory in the Linux SDK to the ti-c7000 directory to replace the deleted out file. Note that the names of these two out files must be consistent. Then build the example in the MCU SDK. This is done by packaging the DSP image into the desired appimage using the MCU SDK Build commands.

The R5 image can also be packaged using this method.

After all the required images are packaged, follow the demo running guide to burn them into eMMC, and then boot.