SPRACY5 July   2021 DRA821U , DRA821U , DRA829J , DRA829J , DRA829V , DRA829V , TDA4VM , TDA4VM , TDA4VM-Q1 , TDA4VM-Q1

 

  1.   Trademarks
  2. 1Introduction to Flashing Tools
    1. 1.1 Trace32/Lauterbach
    2. 1.2 CCS-Based Flash Writer
    3. 1.3 Other Software Tools
  3. 2Flash Devices on TDA4
    1. 2.1 Flashing OSPI and eMMC RAW Sectors
    2. 2.2 Flashing eMMC User Partition
  4. 3Prerequisites for Flashing TDA4
    1. 3.1 Boot Switch Settings
    2. 3.2 How to Generate a Tiny File System
    3. 3.3 Generating the eMMC tisdk-tiny-image.img
    4. 3.4 Running Until u-boot
      1. 3.4.1 UART Boot Mode
      2. 3.4.2 DFU Boot
      3. 3.4.3 SD Boot or any Other Boot Mode
    5. 3.5 Configuring Boot0 Partition and Partitioning eMMC
  5. 4OSPI Flashing
    1. 4.1 Flashing Bootloader Binaries
      1. 4.1.1 TI UNIFLASH Tool
        1. 4.1.1.1 Flashing Instructions
        2. 4.1.1.2 Linux Boot Binaries
        3. 4.1.1.3 RTOS Boot Binaries
    2. 4.2 dfu-util
      1. 4.2.1 Flashing Instructions
    3. 4.3 CCS/JTAG
      1. 4.3.1 Flashing Instructions
    4. 4.4 Trace32/Lauterbach
      1. 4.4.1 Flashing Instructions
    5. 4.5 u-boot
      1. 4.5.1 Flashing Instructions
  6. 5eMMC flashing
    1. 5.1 Flashing Bootloader Binaries
      1. 5.1.1 TI UNIFLASH Tool
        1. 5.1.1.1 Flashing Instructions
      2. 5.1.2 Trace32/Lauterbach
        1. 5.1.2.1 Flashing Instructions
      3. 5.1.3 dfu-util
        1. 5.1.3.1 Flashing Instructions
    2. 5.2 u-boot
      1. 5.2.1 Flashing Instructions
    3. 5.3 eMMC UDA Partition Flashing With tinyrootfs
      1. 5.3.1 dfu-util
      2. 5.3.2 u-boot + CCS/JTAG
        1. 5.3.2.1 Flashing Instructions

Flashing Instructions

  1. Open the attached file dra82x-emmc.cmm using text editor. Change the paths below with respect to the files on your setup:
    DO "/opt/t32/cmm-richard/cmm-dra/cmm-tda4_dra829/x_gel_to_cmm_public/j7es_m3.cmm"
    
    DO "/opt/t32/cmm-richard/cmm-dra/cmm-tda4_dra829/x_gel_to_cmm_public/J721E.cmm"
    
    FLASHFILE.LOAD /home/keerthy/work/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/prebuilt-images/tiboot3.bin 0x0
    
    FLASHFILE.LOAD /home/keerthy/work/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/prebuilt-images/tispl.bin 0x80000
    
    FLASHFILE.LOAD /home/keerthy/work/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/prebuilt-images/u-boot.img 0x280000
    
    FLASHFILE.LOAD /home/keerthy/work/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/prebuilt-images/sysfw.itb 0x6C0000
    
  2. On your terminal, run the below. The above should open the trace32 main window.
    cd /opt/t32/bin/pc_linux64
    ./t32marm
  3. Run the file dra82x-emmc.cmm script; it takes a couple of minutes to burn.
  4. Switch to eMMC boot0 switch settings and boot to u-boot prompt.