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 支持:
我有一款 AM62X LP 评估套件、我尝试按照以下指南通过 DFU 启动电路板: 3.1.2. USB 器件固件升级(DFU)—处理器 SDK AM62x 文档
我正在使用此路径中提供的二进制文件: ti-processor-linux-sdk/bin/dfu_flash/bin/am62xx-LP-evm/hs
第一个命令似乎工作正常... 之后、我无法继续该指南中的过程。 请仔细观察下方的日志。
PS > dfu-util -R -a 0 -D .\tiboot3.bin dfu-util 0.9 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to sourceforge.net/.../ Invalid DFU suffix signature A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0110 Device returned transfer size 512 Copying data from PC to DFU device Download [=========================] 100% 308298 bytes Download done. state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to runtime mode PS C:\Users\CAJ7BRG\VM_SHARED\boot_binaries> dfu-util -l dfu-util 0.9 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to sourceforge.net/.../ Found DFU: [0451:6165] ver=0200, devnum=55, cfg=1, intf=0, path="1-13", alt=1, name="UNKNOWN", serial="UNKNOWN" Found DFU: [0451:6165] ver=0200, devnum=55, cfg=1, intf=0, path="1-13", alt=0, name="UNKNOWN", serial="UNKNOWN" PS > dfu-util -R -a 0 -D .\tispl.bin dfu-util 0.9 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to sourceforge.net/.../ Invalid DFU suffix signature A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: error get_status PS C:\Users\CAJ7BRG\VM_SHARED\boot_binaries>
您好!
如果您在 Linux 环境中进行尝试、请遵循指南: https://dev.ti.com/tirex/explore/node?node=A__AeVbwnGEP1NObR9gnw1lhA__AM62-ACADEMY__uiYMDcq__LATEST
此致、
Aparna
您好! 因此、我猜 SDK 中可用的二进制文件不适用于 DFU 启动、我需要构建新的二进制文件
是的、就是这样。 您将需要使用重新编译 U-boot 二进制文件 am62x_evm_r5_usbdfu_defconfig .
请修改 UBoot_Machine_R5 等级中 Rules.make 归档并重新构建。 使用新的二进制文件通过 DFU 进行刷写。
此致、
Aparna
我执行了这些步骤、但仍然没有闪烁。 我得到与之前相同的行为。
我曾尝试在 ti-sdk/board-support/u-boot-build 中刷写二进制文件
我还需要构建 bl31.bin 和 bl32.bin 吗? 或者、我可以使用预构建的仿真器吗?
是的。 如果已使用顶级 makefile 命令重新构建 U-boot 二进制文件 生成 u-boot
将 AM62x SK EVM Type-C USB 端口 J13连接到 Linux PC USB 主机端口。
请确保电路板设置为 USB 外设引导模式:
您无需构建任何其他东西。
此致、
Aparna
低功耗 EVM 也是如此吗?
有。 如果错误仍然存在、请告知我。
我具有如这张图所示的开关。 我具有如图所示的所有连接、还有一根 USB-C 电缆。 我仍然无法闪光灯
如果我连接两根 USB-C 电缆、则会显示 DFU 器件、但仍然无法刷写
我还在 Rules.make 中更改此内容:
#add platform for scripts.
Platform?=am62xx-LP-EVM
你好 Aparna Patra! 您是否建议我尝试其他步骤? 我将提供有关 EVM 的更多信息。
板上的完整模型名称:AM62X 低功耗 SKEVM PROC124E1
我也检查了 AM62x 低功耗 SK EVM 用户指南 发现此版本有错误... 这些错误和更改是否会导致我无法刷写此 EVM?
您好!
您是否能够尝试仅连接 J13 Type C 端口并移除电源。
请在此设置中分享使用的命令和错误日志。 同时也与硬件快照有关。
此致、
Aparna
您好!
如果我只是连接 J13、则在运行 dfu-util -l 时、dfu 设备不会出现
在我的 EVM 上、J13指的是 Type C Power、J15指的是 Type C DRP。
如果我将 J13连接到 PC、则在运行 dfu-util -l 后、该器件不显示
如果我仅将 J15连接到 PC、则会显示器件、并且日志如下:
PS C:\Users\CAJ7BRG\VM_SHARED\boot_binaries> dfu-util -l 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/.../ Found DFU: [0451:6165] ver=0200, devnum=28, cfg=1, intf=0, path="1-13", alt=1, name="SocId", serial="01.00.00.00" Found DFU: [0451:6165] ver=0200, devnum=28, cfg=1, intf=0, path="1-13", alt=0, name="bootloader", serial="01.00.00.00" PS C:\Users\CAJ7BRG\VM_SHARED\boot_binaries> dfu-util -R -a 0 -D .\tiboot3.bin 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/.../ Warning: Invalid DFU suffix signature A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6165 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #0 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 512 Copying data from PC to DFU device Download [=========================] 100% 308298 bytes Download done. DFU state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to Run-Time mode PS C:\Users\CAJ7BRG\VM_SHARED\boot_binaries> dfu-util -l 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/.../ Failed to retrieve language identifiers Failed to retrieve language identifiers Failed to retrieve language identifiers Failed to retrieve language identifiers Found DFU: [0451:6165] ver=0200, devnum=33, cfg=1, intf=0, path="1-13", alt=1, name="UNKNOWN", serial="UNKNOWN" Found DFU: [0451:6165] ver=0200, devnum=33, cfg=1, intf=0, path="1-13", alt=0, name="UNKNOWN", serial="UNKNOWN" PS C:\Users\CAJ7BRG\VM_SHARED\boot_binaries> dfu-util -R -a 0 -D .\tispl.bin 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/.../ Warning: Invalid DFU suffix signature A valid DFU suffix will be required in a future dfu-util release Failed to retrieve language identifiers Failed to retrieve language identifiers Opening DFU capable USB device... Device ID 0451:6165 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #0 ... Determining device status... error get_status: LIBUSB_ERROR_PIPE
您好!
J15是 C 型 DRP。
[报价]好的、那么只需要连接 J15。
[报价 userid="548888" url="~/support/processors-group/processors/f/processors-forum/1376209/am625-am62x-evm-lp-can-t-boot-through-dfu/5259008 #5259008"]如果您在 Linux 环境中进行尝试、请遵循指南: https://dev.ti.com/tirex/explore/node?node=A__AeVbwnGEP1NObR9gnw1lhA__AM62-ACADEMY__uiYMDcq__LATEST
[报价]您是否遵循了我之前提到的指南? 命令看起来与链接中提到的命令不同。
此致、
Aparna
是的、我遵循您之前发送给我的指南。 这些命令对我来说是相同的...
消息流 dfu-util -R -a 0 -D tiboot3.bin 与使用相同 dfu-util -R -a bootloader -D tiboot3.bin
您能告诉我预期的日志是什么、以便我们查看是否有不同之处吗?
您好!
您使用的是 HS-EVM 电路板还是 FS 电路板 GP?
您可以使用如下所示的命令来找出:
❯ dfu-util -a SocId -U socid.bin 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/.../ Opening DFU capable USB device... Device ID 0451:6165 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #1 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 512 Copying data from DFU device to PC Upload [=========================] 100% 200 bytes Upload done. Received a total of 200 bytes ❯ xxd socid.bin 00000000: 0200 0000 011a 0000 616d 3632 7800 0000 ........am62x... 00000010: 0000 0000 4853 4653 0100 0100 0100 0100 ....HSFS........
此致、
Aparna
您好!
我已检查、它是 GP 设备(检查以下图片)
感谢您的确认。 您必须刷写 GP 二进制文件、即 tiboot3-am62x-gp-evm.bin
但对 GP 器件的支持在8.6 SDK 之后已删除。
您可以使用早期的 SDK 进行测试、但如果使用 GP 器件、TI 的支持将会受到限制。
此致、
Aparna
因此我有一些进展。 我刷写了以下二进制文件:
和目标引导(以下是日志):
U-Boot SPL 2023.04 (Jun 21 2024 - 08:15:56 +0000) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 13408 bytes Trying to boot from DFU #########################################################DOWNLOAD ... OK Ctrl+C to exit ... Loading Environment from nowhere... OK init_env from device 10 not supported! Starting ATF on ARM64 core... NOTICE: BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty NOTICE: BL31: Built : 16:09:05, Feb 9 2024 U-Boot SPL 2023.04 (Jun 21 2024 - 08:16:37 +0000) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 1856 bytes MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1:1 Error: could not access storage. Trying to boot from DFU #####DOWNLOAD ... OK Ctrl+C to exit ... U-Boot 2023.04 (Jun 21 2024 - 08:16:37 +0000) SoC: AM62X SR1.0 GP Model: Texas Instruments AM62x LP SK EEPROM not available at 80, trying to read at 81 Board: AM62-LP-SKEVM rev E1 DRAM: no bloblist found!2 GiB Core: 81 devices, 33 uclasses, devicetree: separate NAND: 0 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 =>
通过查看日志、它看起来像正常启动吗? 而不会出现任何问题?
您好!
是的、看起来是正确的。
此致、
Aparna
您好! 感谢您对通过 DFU 引导 u-boot 的支持。
现在、我正在尝试通过 u-boot 和 DFU 在 EVM 中引导 Linux 内核。 是否有相关指南说明如何做到这一点?
谢谢!
您好!
此处使用的引导介质是什么?
您可以按照常见问题解答说明从 eMMC 引导 Linux:
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1127618/faq-sk-am62-how-to-flash-emmc-using-usb-dfu-on-am62x-sk-e2
此致、
Aparna