9.2. Understanding bootloaders in Processor SDK J722S (RTOS/Linux)

9.2.1. Introduction

There are two bootloaders in Processor SDK J722S (RTOS/Linux). They are:

  1. RTOS Bootloader

  2. Linux Bootloader

This developer note describes about these two bootloaders.

9.2.2. RTOS Bootloader

Please reference the MCU+ documentation for more details on the RTOS Bootloader

9.2.3. Linux Bootloader

Linux bootloader uses SPL and uboot to boot various CPUs.

  • This is included in Processor SDK Linux at below path

    board-support/ti-u-boot-<version and git tag>
    
  • This is used when Linux runs on the A53. Most SDK demos like deep learning demos use Linux on the the A53 hence this bootloader is used in many out of box demos.

  • In this case one would see below files in the SD card

  1. tiboot3.bin - this is the SPL (not SBL) which the ROM bootloader will boot on MCU R5F Core0

  2. tiboot3.bin will boot tifs.bin - this is the SMS firmware binary

  3. tiboot3.bin will boot tispl.bin on the A53 - this is the 1st stage bootloader on the A53 before uboot

  4. tispl.bin on the A53 will boot uboot.img on A72 - this is uboot which will boot Linux

  5. uboot.img will boot non the |arm_core|(such as C7x, R5F) binaries located at below path in rootfs partition of the SD card

    /lib/firmware/<soc>-<cpu>-fw
    
  6. uboot.img will read a file uEnv.txt which will tell which .dtbo files to apply in addition to below dtb file present in rootfs partition

    /boot/k3-<soc>-proc-board-tps65917.dtb
    
  7. uboot.img will boot Linux kernel stored in rootfs partition below

    /boot/Image
    
  8. Linux will use information in the loaded .dtb/dtbo files to configure itself during boot

Note

  • Steps 4-8 is standard Linux boot flow typical of any SoC.

  • Steps 1-3 are specific to J7 SoC.

9.2.4. Bootloaders Supported in Vision Apps

Vision Apps supports both Linux and QNX running on the A53. (For more information, see LINK).

Both of these HLOS’s are validated using U-boot SPL out of box as default.

9.2.5. Bootloader Memory Map

This section is not applicable to J722S