SPRAD09A December   2021  – July 2022 DRA821U

 

  1.   Abstract
  2.   Trademarks
  3. 1Hardware and Software Required Stuff
  4. 2DRA821U Boot Mode With Fast Boot Method
  5. 3Detailed Steps
    1. 3.1 Step1: Patch and Build/Copy the u-boot
    2. 3.2 Step2: Optimizations by Switching to xSPI Boot: Copy Bootloaders to xSPI
    3. 3.3 Step 3: Optimize the DTSI by Disabling Nodes not Mandatory for Linux Boot
    4. 3.4 Step 4: Create Bootable SD Card, Switch to TinyFS
    5. 3.5 Step 5: Switch to eMMC Filesystem
    6. 3.6 Step 6: Optimizations With Bootargs
    7. 3.7 Step 7: Hijack the init
  6. 4Debug Commands
    1. 4.1 SF Probe
    2. 4.2 mmcblk
    3. 4.3 How to Check Mounted Devices?
    4. 4.4 How to Check Your Partitions?
    5. 4.5 How to Restore Your Boot Setting?
  7. 5Fast Boot Result Review
  8. 6References
  9. 7Revision History

Step1: Patch and Build/Copy the u-boot

Assume you are familiar with TI Jacinto SDK build setting up. Make sure your NB is connecting to the network while building. Because the uboot might referencing the ti github. The working copy cmd is as this, you need to change according the red parameters (root).

Boot Switch setting:

This step is no needing to touch the boot switch on the EVM.

Patches:

Cmds: (Do this on ubuntu, not the EVM)

cd $PSDKLA/board-support/u-boot-2021.01+gitAUTOINC+53e79d0e89-g53e79d0e89/
git am 0001-Remove-prints-to-optimize-U-Boot-time.patch
cd ../..
make u-boot

cp board-support/k3-image-gen-2021.05/tiboot3.bin board-support/u-boot_build/a72/tispl.bin board-support/u-boot_build/a72/u-boot.img /media/root/boot/