Tool/software:
Hello TI Expert,
I am flashing the bootloader via usb-dfu mode and then I have to go to the uboot prompt and create emmc partitions but the board is not booting. I use of the GPT support in U-Boot to write a GPT partition table to eMMC.
I have attached the logs please find it.
U-Boot SPL 2021.01 (Jul 14 2023 - 17:40:18 +0530) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13424 bytes Trying to boot from DFU ###############################################DOWNLOAD ... OK Ctrl+C to exit ... Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed Loading Environment from MMC... MMC Device 0 not found *** Warning - No MMC card found, using default environment 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 : 05:06:58, Feb 24 2023 U-Boot SPL 2021.01 (Jul 14 2023 - 17:40:10 +0530) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') Trying to boot from DFU ####DOWNLOAD ... OK Ctrl+C to exit ... Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices U-Boot 2021.01 (Jul 14 2023 - 17:40:10 +0530) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 0x50, trying to read at 0x51 Reading on-board EEPROM at 0x51 failed -1 DRAM: 2 GiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 In: serial@2800000 Out: serial@2800000 Err: serial@2800000 EEPROM not available at 0x50, trying to read at 0x51 Reading on-board EEPROM at 0x51 failed -1 Net: Could not get PHY for ethernet@8000000port@1: addr 0 am65_cpsw_nuss_port ethernet@8000000port@1: phy_connect() failed No ethernet found. Hit any key to stop autoboot: 0 #DOWNLOAD ... OK Ctrl+C to exit ... ## Warning: Input data exceeds 1048576 bytes - truncated ## Info: input data size = 1048578 = 0x100002 ##DOWNLOAD ... OK Ctrl+C to exit ... #####DOWNLOAD ... OK Ctrl+C to exit ... ####DOWNLOAD ... OK Ctrl+C to exit ...
suraj@suraj-HP-Laptop-15s-fr2xxx:/opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash$ sudo python3 dfu_flash.py -d am62xx-evm -t hsfs -c /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/flash-files.cfg 2025-01-08 13:38:34 INFO: Starting the flashing tool 2025-01-08 13:38:34 INFO: Validating the requirements before flashing... 2025-01-08 13:38:34 INFO: Validated the CLI arguments and the paths to the DFU boot binaries 2025-01-08 13:38:34 INFO: Parsing the flash configuration file {/opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/flash-files.cfg}... 2025-01-08 13:38:34 INFO: Found 3 flash images <<DFU_FLASH_CONF ----------------------- ------------------------------------------------- ------- -------- ----- ---------- Alt Path Size Offset Media Attributes ----------------------- ------------------------------------------------- ------- -------- ----- ---------- tiboot3-am62x-hs-fs-evm /home/suraj/Downloads/tiboot3-am62x-hs-fs-evm.bin 295502 0x0 EMMC raw,1,- tispl /home/suraj/Downloads/tispl.bin-am62xx-evm 1182907 0x80000 EMMC raw,1,- u-boot-am62xx-evm /home/suraj/Downloads/u-boot-am62xx-evm.img 968683 0x280000 EMMC raw,1,- ----------------------- ------------------------------------------------- ------- -------- ----- ---------- DFU_FLASH_CONF 2025-01-08 13:38:34 INFO: Found 4 boot images <<DFU_BOOT_CONF ---------- ------------------------------------------------------------------------------------------------ ------ Alt Path Size ---------- ------------------------------------------------------------------------------------------------ ------ bootloader /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/tiboot3.bin 333163 tispl.bin /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/tispl.bin 960044 u-boot.img /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/u-boot.img 894876 uEnv.txt /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/uEnv.txt 174 ---------- ------------------------------------------------------------------------------------------------ ------ DFU_BOOT_CONF 2025-01-08 13:38:34 INFO: Number of USB DFU devices detected: 1 2025-01-08 13:38:34 INFO: Starting flashing for 1 identified devices 2025-01-08 13:38:34 INFO: Spawning 1 parallel processes 2025-01-08 13:38:35 INFO: 1-1 Sent! /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/tiboot3.bin 2025-01-08 13:38:38 INFO: 1-1 Sent! /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/tispl.bin 2025-01-08 13:38:42 INFO: 1-1 Sent! /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/u-boot.img 2025-01-08 13:38:47 INFO: 1-1 Sent! /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/DFU_flash/bin/am62xx-evm/hsfs/uEnv.txt 2025-01-08 13:38:49 INFO: 1-1 Sent! /home/suraj/Downloads/tiboot3-am62x-hs-fs-evm.bin 2025-01-08 13:38:50 INFO: 1-1 Sent! /home/suraj/Downloads/tispl.bin-am62xx-evm 2025-01-08 13:38:51 INFO: 1-1 Sent! /home/suraj/Downloads/u-boot-am62xx-evm.img 2025-01-08 13:38:51 INFO: 1-1 Flashing Successful... 2025-01-08 13:38:51 INFO: Flashed 1 out of 1 identified devices successfully... ^C2025-01-08 13:40:06 INFO: Exiting!!!
I want to ask whether we can flash bootloaders through dfu? Or else I will have to flash through UART because my end goal is to complete the whole process using DFU like creating dual partition in EMMC and flashing dual rootfs in both partitions.