# Build tiboot3.bin using am62ax_evm_r5_usbdfu_defconfig in ti u-boot in ti-u-boot-2021.01 branch # Set boot mode to USB-DFU (SW3:00000000 SW2:11001010) # Connect USB cable to Linux host (J13) and Power on the EVM # In Linux host machine execute the following commands: - sudo -E -S dfu-util -l - sudo -E -S dfu-util -R -a bootloader -D tiboot3.bin - sudo -E -S dfu-util -R -a tispl.bin -D tispl.bin - sudo -E -S dfu-util -R -a u-boot.img -D u-boot.img # EVM serial console: U-Boot SPL 2021.01 (Apr 25 2023 - 09:47:40 -0500) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar') am62a_init: board_init_f done SPL initial stack usage: 13568 bytes am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Trying to boot from DFU ############################################################DOWNLOAD ... OK Ctrl+C to exit ... am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Authentication passed Loading Environment from MMC... *** Warning - No MMC card found, using default environment am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 init_env from device 10 not supported! Starting ATF on ARM64 core... NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty NOTICE: BL31: Built : 20:33:06, Feb 13 2023 U-Boot SPL 2021.01-g2ee8efd654 (Feb 23 2023 - 22:21:39 +0000) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar') am62a_init: board_init_f done am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Trying to boot from DFU ####DOWNLOAD ... OK Ctrl+C to exit ... am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0 Authentication passed U-Boot 2021.01-g2ee8efd654 (Feb 23 2023 - 22:21:39 +0000) SoC: AM62AX SR1.0 HS-FS Model: Texas Instruments AM62A7 SK EEPROM not available at 0x50, trying to read at 0x51 Board: AM62A-SKEVM rev E2 DRAM: 4 GiB MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 => => mtd erase spi-nand0 Erasing 0x00000000 ... 0x07ffffff (512 eraseblock(s)) => mmc list mmc@fa10000: 0 (eMMC) mmc@fa00000: 1 (SD) => mmc dev 0 1 switch to partitions #1, OK mmc0(part 1) is current device => fatload mmc 1 ${loadaddr} tiboot3.bin 357147 bytes read in 20 ms (17 MiB/s) => mtd write spi-nand0 $loadaddr 0x0 $filesize Size not on a page boundary (0x1000), rounding to 0x58000 Writing 360448 byte(s) (88 page(s)) at offset 0x00000000 => fatload mmc 1 ${loadaddr} tispl.bin 1210016 bytes read in 55 ms (21 MiB/s) => mtd write spi-nand0 $loadaddr 0x80000 $filesize Size not on a page boundary (0x1000), rounding to 0x128000 Writing 1212416 byte(s) (296 page(s)) at offset 0x00080000 => fatload mmc 1 ${loadaddr} u-boot.img 1015424 bytes read in 47 ms (20.6 MiB/s) => mtd write spi-nand0 $loadaddr 0x280000 $filesize Size not on a page boundary (0x1000), rounding to 0xf8000 Writing 1015808 byte(s) (248 page(s)) at offset 0x00280000 # Switch boot mode setting to SPI NAND boot mode (SW3: 00000000 SW2:11000000) and reboot evm