工具与软件:
您好、TI 专家:
我通过 USB-DFU 模式对引导加载程序进行刷写、然后我必须转到 uboot 提示符并创建 eMMC 分区、但电路板无法引导。 我 使用 U-Boot 中的 GPT 支持将 GPT 分区表写入 eMMC。
我已附上日志,请找到它。
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!!!
我想问一下、我们是否可以通过 DFU 为引导加载程序刷写? 或者、我将必须通过 UART 进行刷写、因为我的最终目标是使用 DFU 完成整个过程、例如在 EMMC 中创建双分区和在两个分区中刷写双 rootfs。