SPRADK5 June   2025 TDA4VM

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Physical Boot Mode DIP Switch Configuration
    1. 2.1 eMMC Boot Mode Switch for Primary Boot Mode
    2. 2.2 MMC/SD Boot Mode Switch for Backup Boot Mode
  6. 3Experiment
    1. 3.1 Prepare eMMC Boot Images for Primary Boot Mode
    2. 3.2 Prepare MMC/SD Boot Images for Backup Boot Mode
    3. 3.3 eMMC Memory Layout
    4. 3.4 Verify Redundant Boot
  7. 4Summary
  8. 5References

Prepare MMC/SD Boot Images for Backup Boot Mode

To support MMC/SD boot as the backup boot mode, a separate set of boot images must be prepared. Use the appropriate build commands to generate the required binaries. After building, the following files are produced:

  • tiboot3.bin (SBL)
  • app (bootapp)
cd ${PDK_PATH}/packages/ti/build
make -sj6 sbl_emmc_uda_img BOARD=j721e_evm CORE=mcu1_0
make -sj6 boot_app_mmcsd_qnx HLOSBOOT=qnx BOARD=j721e_evm CORE=mcu1_0

Copy these binaries to the eMMC User Data Area (UDA) partition, as the backup boot process loads the binaries from this region.

mount /dev/mmcblk0p1 ./emmc_uda_partition
export DST_DIR=/home/root/emmc_uda_partition

cp tiboot3.bin ${DST_DIR}/
cp app ${DST_DIR}/
cp tifs.bin ${DST_DIR}/
sync
Note: Modify the tiboot3.bin used for backup boot to correctly locate the tifs.bin and application within the eMMC UDA partition, rather than from the eMMC boot partition.