This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
我在使用 ti-SDK 版本 AM64XX 09_00_00_03时尝试从 USB DFU 引导。
我要通过单击下方链接来完成此操作。
加载 tiboot3.bin 时出错、如下所示。
U-Boot SPL 2023.04-00001-g4446269d4e-dirty (Sep 25 2023 - 19:50:10 +0530) EEPROM not available at 0x50, trying to read at 0x51 Resetting on cold boot to workaround ErrataID:i2331 Please resend tiboot3.bin in case of UART/DFU boot resetting ... U-Boot SPL 2023.04-00001-g4446269d4e-dirty (Sep 25 2023 - 19:50:10 +0530) EEPROM not available at 0x50, trying to read at 0x51 SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)') SPL initial stack usage: 13376 bytes Trying to boot from DFU No USB device found usb_gadget_initialize failed SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
如果需要任何详细信息、请告诉我!
此致、
达米克
尊敬的 Dharmik:
SK-AM64B USB 端口配置为仅主机模式、它不支持 DFU 引导模式。
感谢您的答复。
我们对 SK-AM64B 板的 USB 部分进行了修改、使其像 AM64x GPEVM 一样、因为它支持 DFU。
返工如下所述、
1) 1)已删除 R267
2) 2)删除了 U48
我们已从 EVM 中移除 R267和 U48以将 SoC USB 端口配置为器件。
如果 在硬件和软件方面还有任何缺失、敬请告知。
此致、
达米克
通过以下修改、我们可以使用 dfu-util 实用程序加载 tiboot3.bin 和 tispl.bin。
diff --git a/arch/arm/dts/k3-am64-main.dtsi b/arch/arm/dts/k3-am64-main.dtsi index 5e8036f32d..e767709de9 100644 --- a/arch/arm/dts/k3-am64-main.dtsi +++ b/arch/arm/dts/k3-am64-main.dtsi @@ -616,7 +616,7 @@ "peripheral", "otg"; maximum-speed = "super-speed"; - dr_mode = "otg"; + dr_mode = "peripheral"; }; }; diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi index f9393e098a..484592772c 100644 --- a/arch/arm/dts/k3-am642-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-sk-u-boot.dtsi @@ -245,7 +245,7 @@ }; &usb0 { - dr_mode = "host"; + dr_mode = "peripheral"; bootph-pre-ram; };
使用上述补丁加载 tispl.bin 后、似乎与主机的 DFU 连接丢失、无法加载 u-boot。
我们已将来自 sudo dfu-util -a u-boot.img -D u-boot.img 我们用来尝试加载 u-boot.img 的命令。
1)主机,
dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to sourceforge.net/.../ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release dfu-util: No DFU capable USB device available
2) SK-AM64B 板、
U-Boot SPL 2023.04-00001-g4446269d4e-dirty (Sep 26 2023 - 16:48:23 +0530) EEPROM not available at 0x50, trying to read at 0x51 Resetting on cold boot to workaround ErrataID:i2331 Please resend tiboot3.bin in case of UART/DFU boot resetting ... U-Boot SPL 2023.04-00001-g4446269d4e-dirty (Sep 26 2023 - 16:48:23 +0530) EEPROM not available at 0x50, trying to read at 0x51 SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)') SPL initial stack usage: 13376 bytes Trying to boot from DFU ##########################################DOWNLOAD ... OK Ctrl+C to exit ... 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-g2fcd408bb NOTICE: BL31: Built : 11:57:41, Sep 13 2023 I/TC: I/TC: OP-TEE version: 3.20.0 (gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)) #1 Mon Sep 25 13:35:06 UTC 2023 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html I/TC: Primary CPU initializing I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)') I/TC: HUK Initialized I/TC: Activated SA2UL device I/TC: Enabled firewalls for SA2UL TRNG device I/TC: SA2UL TRNG initialized I/TC: SA2UL Drivers initialized I/TC: Primary CPU switching to normal world boot U-Boot SPL 2023.04-00001-g4446269d4e-dirty (Sep 26 2023 - 17:49:53 +0530) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)') Trying to boot from DFU
返工似乎正常工作;我们是否缺少任何与 SDK 相关的信息?
此致、
达米克
尊敬的 Dharmik:
您能否使用 Processor SDK v8.4进行测试?
我测试 DFU 的上一个 SDK 版本是 v8.4、尚未使用 SDK9.0测试 DFU。
我还使用 SDK 版本8.6进行测试、但结果是相同的、我尝试使用 SDK 版本8.4进行构建和测试。
为了从 DFU USB 引导、我需要进行哪些更改。
您愿意与我分享这些补丁或步骤吗?
此致、
达米克
尊敬的 Dharmik:
在 SDK8.6中、DFU 已知断开。 请参阅以下常见问题解答:
尽管该常见问题解答提到了 AM62x、但问题和解决方案也适用于 AM64x。