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.

[参考译文] AM625:通过 DFU 刷写 eMMC 以启动过程

Guru**** 2020320 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1208681/am625-flash-emmc-over-dfu-to-boot-procedure

器件型号:AM625

已按照常见问题解答、使用 DFU 和闪存 eMMC 引导。  

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

因此、接下来是首次使用板载 eMMC  3.1.4.1. 在通过 DFU 引导至 uBoot 后从用户指南的 U-Boot 对 eMMC 进行分区。

https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/linux/Foundational_Components/U-Boot/UG-Memory.html#

U-Boot # printenv 分区
uuuuid_disk=${uuuid_gpt_disk};name=rootfs、start=2MiB、siz=-、uuid=${uuuuid_gpt_rootfs}
U-Boot # setenv uuid_gpt_disk ...第一个 uid...
u-Boot # setenv uuid_gpt_rootfs ...second uid...
U-Boot # GPT write MMC ${partitions}/* 是从 eMMC 列表获取的器件索引*/ 


使用 DFU 重新启动到 uBoot、检查 eMMC、如下所示:
=> MMC 列表
MMC@fa10000:0 (eMMC)
MMC@fa00000: 1.
MMC@fa20000: 2.

=> printenv 分区
partitions=uuid_disk=${uuid_gpt_disk};name=rootfs、start=0、size=-、uuid=${uuuuid_gpt_rootfs}
=>MMC 部件

MMC 设备的分区映射0 --分区类型: EFI

零件开始 LBA 结束 LBA 名称
属性
键入 GUID
分区 GUID
1 0x00000022 0x01da3fde "rootfs"
attr:0x000000000000
类型:ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
GUID:039d9248-8344-4e4b-95a0-6aeba09106.

MMC 器件命令输出与用户指南大不相同。

在刷写到 eMMC 并对电路板进行下电上电之后、将引导模式设置为 eMMC、不会向控制台产生任何输出。
我不确定哪个步骤是错误的,我怀疑分区不正确,但我遵循的步骤.

BTW,已修补 SDK8.6,也尝试使用 SDK8.5,结果相同。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Tony、
    已经运行了两个命令
    =>MMC partconf 0 1 1.
    => MMC bootbus 0 2 0 0
    此致!
    -hong