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.

AM5718: uboot阶段使用DFU向EMMC烧录报错

Part Number: AM5718


使用SDK06.03.00.106版本在dts、mux_data.h修改或添加mmc2节点的内容后可正常在EMMC启动,但该版本不支持DFU操作;

根据论坛的提示,使用SDK04.03.00.05版本,在uboot阶段使用DFU向EMMC的烧录操作,但无法成功。

是否是我遗漏了某些操作?

以下是串口端的打印信息:

U-Boot SPL 2017.01-00458-ga36af91b60-dirty (Apr 12 2023 - 14:50:27)
DRA722-GP ES2.0
Trying to boot from DFU
Using default environment

#########DOWNLOAD ... OK
Ctrl+C to exit ...


U-Boot 2019.01 (Mar 31 2023 - 14:58:45 +0800)

CPU  : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x IDK REV RV1.0
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Hit any key to stop autoboot:  0
=> mmc dev 1
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc part

Partition Map for MMC device 1  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000300      0x000010ff      "bootloader"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        type:   data
        guid:   c5b7024d-51ea-43ff-9a87-0a4a990a8ed1
  2     0x00001500      0x00e8ffde      "rootfs"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        type:   data
        guid:   2fe12c68-23d8-49e4-80d3-d998bc3c0e28
=> setenv dfu_alt_info ${dfu_alt_info_emmc}
=> dfu 0 mmc 1
##CACHE: Misaligned operation at range [9e73f010, 9e73f050]
CACHE: Misaligned operation at range [9e73f010, 9e73f050]
#
** Unable to use mmc 1:1 for fatwrite **
dfu: Read error!
ERROR: Deferred dfu_flush() failed!
at ../common/dfu.c:78/run_usb_dnl_gadget()
=>