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.

[参考译文] SK-AM62:在使用 DFU 刷写 rootfs 二进制文件时使用 eMMC 写入文件。

Guru**** 2551110 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1203343/sk-am62-emmc-write-file-while-flashing-the-rootfs-binary-using-dfu

器件型号:SK-AM62

HW:AM62x SKEVM

软件:SDK8.5.

尊敬的 TI 专家:

我尝试使用 DFU 将 rootfs 二进制文件(2.5GB)刷写到 eMMC。 但是、其故障百分比始终与下面的相同。

主机 PC 日志:

jwook@jwook-Desktop:~/ssd1/TI_AM62x$ sudo dfu-util -a rootfs -D tisdk-default-image-am62xx-evm-20230307080605.rootfs.ext4
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
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 4096
Copying data from PC to DFU device
Download	[=======                  ]  29%    792231936 bytes failed!
DFU state(10) = dfuERROR, status(14) = Something went wrong, but the device does not know what it was

UART 控制台日志:

U-Boot SPL 2021.01-00001-g3e29ce144c (Feb 16 2023 - 14:49:19 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
SPL initial stack usage: 13424 bytes
Trying to boot from DFU
################################################DOWNLOAD ... OK
Ctrl+C to exit ...
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.7(release):v2.7.0-359-g1309c6c805-dirty
NOTICE:  BL31: Built : 11:48:12, Dec 14 2022
I/TC:
I/TC: OP-TEE version: 3.19.0-15-gd6c5d0037 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Wed Dec 14 11:52:03 UTC 2022 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 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP 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 2021.01-00001-g3e29ce144c (Feb 16 2023 - 15:35:12 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
Trying to boot from DFU
####DOWNLOAD ... OK
Ctrl+C to exit ...


U-Boot 2021.01-00001-g3e29ce144c (Feb 16 2023 - 15:35:12 +0900)

SoC:   AM62X SR1.0 GP
Model: Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Board: AM62-SKEVM rev E3
DRAM:  2 GiB
MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0
=>
=> setenv dfu_alt_info ${dfu_alt_info_emmc}
=> dfu 0 mmc 0
#####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################mmc write failed
MMC operation failed

您可以检查一下这个问题吗?

谢谢。此致、

JaeWook

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

    错误值已超时。

    MMC 写入失败:-110

    #define ETIMEDOUT    110   /*连接超时*/

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

    您好 JaeWook:
    如果以前没有这样做、我们是否可以将 GPT 分区表添加到 eMMC?
    此操作可以通过@u-boot 来完成
    software-dl.ti.com/.../UG-Memory.html

    在将 GPT 分区表添加到 eMMC 之后、我们是否可以使用 USB-DFU 重新测试 rootfs.ext4?

    此致!
    -hong

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

    尊敬的洪冠:

    感谢您的反馈。

    我已在之前的中添加了 GPT 分区表、如下所示


    =>MMC 部件

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

    零件开始 LBA 结束 LBA 名称
    属性
    键入 GUID
    分区 GUID
    1 0x00000022 0x01da3fde "rootfs"
    attr:0x000000000000
    类型:ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
    GUID:731a396e-ea6f-49bc-ac52-3e97f76eb198

    在刷写 tisdk_BASE_rootfs (约400MB)二进制文件时没有问题。

    谢谢。此致、

    Jaewook

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

    尊敬的洪冠:

    这是在 DFU 中启用调试后 DFU 的调试日志。

    =>
    => setenv dfu_alt_info ${dfu_alt_info_emmc}
    => dfu 0 mmc 0
    dfu_alt_init: dfu_alt_num=7
    dfu_fill_entity: rawemmc raw 0 0x800000 mmcpart 1 interface: mmc dev: 0
    dfu_fill_entity: rootfs part 0 1 mmcpart 0 interface: mmc dev: 0
    dfu_fill_entity: tiboot3.bin.raw raw 0x0 0x400 mmcpart 1 interface: mmc dev: 0
    dfu_fill_entity: tispl.bin.raw raw 0x400 0x1000 mmcpart 1 interface: mmc dev: 0
    dfu_fill_entity: u-boot.img.raw raw 0x1400 0x2000 mmcpart 1 interface: mmc dev: 0
    dfu_fill_entity: u-env.raw raw 0x3400 0x100 mmcpart 1 interface: mmc dev: 0
    dfu_fill_entity: sysfw.itb.raw raw 0x3600 0x800 mmcpart 1 interface: mmc dev: 0
    
    ..................
    ..................
    ..................
    ..................
    
    
    #dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c0 offset: 0x2f4c0000 bufoffset: 0x0
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c1 offset: 0x2f4c0000 bufoffset: 0x1000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c2 offset: 0x2f4c0000 bufoffset: 0x2000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c3 offset: 0x2f4c0000 bufoffset: 0x3000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c4 offset: 0x2f4c0000 bufoffset: 0x4000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c5 offset: 0x2f4c0000 bufoffset: 0x5000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c6 offset: 0x2f4c0000 bufoffset: 0x6000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c7 offset: 0x2f4c0000 bufoffset: 0x7000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c8 offset: 0x2f4c0000 bufoffset: 0x8000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4c9 offset: 0x2f4c0000 bufoffset: 0x9000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ca offset: 0x2f4c0000 bufoffset: 0xa000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4cb offset: 0x2f4c0000 bufoffset: 0xb000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4cc offset: 0x2f4c0000 bufoffset: 0xc000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4cd offset: 0x2f4c0000 bufoffset: 0xd000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ce offset: 0x2f4c0000 bufoffset: 0xe000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4cf offset: 0x2f4c0000 bufoffset: 0xf000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d0 offset: 0x2f4c0000 bufoffset: 0x10000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d1 offset: 0x2f4c0000 bufoffset: 0x11000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d2 offset: 0x2f4c0000 bufoffset: 0x12000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d3 offset: 0x2f4c0000 bufoffset: 0x13000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d4 offset: 0x2f4c0000 bufoffset: 0x14000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d5 offset: 0x2f4c0000 bufoffset: 0x15000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d6 offset: 0x2f4c0000 bufoffset: 0x16000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d7 offset: 0x2f4c0000 bufoffset: 0x17000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d8 offset: 0x2f4c0000 bufoffset: 0x18000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4d9 offset: 0x2f4c0000 bufoffset: 0x19000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4da offset: 0x2f4c0000 bufoffset: 0x1a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4db offset: 0x2f4c0000 bufoffset: 0x1b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4dc offset: 0x2f4c0000 bufoffset: 0x1c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4dd offset: 0x2f4c0000 bufoffset: 0x1d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4de offset: 0x2f4c0000 bufoffset: 0x1e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4df offset: 0x2f4c0000 bufoffset: 0x1f000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e0 offset: 0x2f4c0000 bufoffset: 0x20000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e1 offset: 0x2f4c0000 bufoffset: 0x21000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e2 offset: 0x2f4c0000 bufoffset: 0x22000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e3 offset: 0x2f4c0000 bufoffset: 0x23000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e4 offset: 0x2f4c0000 bufoffset: 0x24000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e5 offset: 0x2f4c0000 bufoffset: 0x25000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e6 offset: 0x2f4c0000 bufoffset: 0x26000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e7 offset: 0x2f4c0000 bufoffset: 0x27000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e8 offset: 0x2f4c0000 bufoffset: 0x28000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4e9 offset: 0x2f4c0000 bufoffset: 0x29000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ea offset: 0x2f4c0000 bufoffset: 0x2a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4eb offset: 0x2f4c0000 bufoffset: 0x2b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ec offset: 0x2f4c0000 bufoffset: 0x2c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ed offset: 0x2f4c0000 bufoffset: 0x2d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ee offset: 0x2f4c0000 bufoffset: 0x2e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ef offset: 0x2f4c0000 bufoffset: 0x2f000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f0 offset: 0x2f4c0000 bufoffset: 0x30000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f1 offset: 0x2f4c0000 bufoffset: 0x31000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f2 offset: 0x2f4c0000 bufoffset: 0x32000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f3 offset: 0x2f4c0000 bufoffset: 0x33000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f4 offset: 0x2f4c0000 bufoffset: 0x34000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f5 offset: 0x2f4c0000 bufoffset: 0x35000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f6 offset: 0x2f4c0000 bufoffset: 0x36000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f7 offset: 0x2f4c0000 bufoffset: 0x37000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f8 offset: 0x2f4c0000 bufoffset: 0x38000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4f9 offset: 0x2f4c0000 bufoffset: 0x39000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4fa offset: 0x2f4c0000 bufoffset: 0x3a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4fb offset: 0x2f4c0000 bufoffset: 0x3b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4fc offset: 0x2f4c0000 bufoffset: 0x3c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4fd offset: 0x2f4c0000 bufoffset: 0x3d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4fe offset: 0x2f4c0000 bufoffset: 0x3e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf4ff offset: 0x2f4c0000 bufoffset: 0x3f000
    mmc_block_op: MMC WRITE dev: 0 start: 1549858 cnt: 512 buf: 0x00000000f8723280
    #dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf500 offset: 0x2f500000 bufoffset: 0x0
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf501 offset: 0x2f500000 bufoffset: 0x1000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf502 offset: 0x2f500000 bufoffset: 0x2000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf503 offset: 0x2f500000 bufoffset: 0x3000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf504 offset: 0x2f500000 bufoffset: 0x4000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf505 offset: 0x2f500000 bufoffset: 0x5000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf506 offset: 0x2f500000 bufoffset: 0x6000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf507 offset: 0x2f500000 bufoffset: 0x7000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf508 offset: 0x2f500000 bufoffset: 0x8000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf509 offset: 0x2f500000 bufoffset: 0x9000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf50a offset: 0x2f500000 bufoffset: 0xa000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf50b offset: 0x2f500000 bufoffset: 0xb000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf50c offset: 0x2f500000 bufoffset: 0xc000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf50d offset: 0x2f500000 bufoffset: 0xd000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf50e offset: 0x2f500000 bufoffset: 0xe000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf50f offset: 0x2f500000 bufoffset: 0xf000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf510 offset: 0x2f500000 bufoffset: 0x10000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf511 offset: 0x2f500000 bufoffset: 0x11000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf512 offset: 0x2f500000 bufoffset: 0x12000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf513 offset: 0x2f500000 bufoffset: 0x13000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf514 offset: 0x2f500000 bufoffset: 0x14000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf515 offset: 0x2f500000 bufoffset: 0x15000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf516 offset: 0x2f500000 bufoffset: 0x16000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf517 offset: 0x2f500000 bufoffset: 0x17000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf518 offset: 0x2f500000 bufoffset: 0x18000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf519 offset: 0x2f500000 bufoffset: 0x19000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf51a offset: 0x2f500000 bufoffset: 0x1a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf51b offset: 0x2f500000 bufoffset: 0x1b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf51c offset: 0x2f500000 bufoffset: 0x1c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf51d offset: 0x2f500000 bufoffset: 0x1d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf51e offset: 0x2f500000 bufoffset: 0x1e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf51f offset: 0x2f500000 bufoffset: 0x1f000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf520 offset: 0x2f500000 bufoffset: 0x20000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf521 offset: 0x2f500000 bufoffset: 0x21000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf522 offset: 0x2f500000 bufoffset: 0x22000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf523 offset: 0x2f500000 bufoffset: 0x23000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf524 offset: 0x2f500000 bufoffset: 0x24000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf525 offset: 0x2f500000 bufoffset: 0x25000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf526 offset: 0x2f500000 bufoffset: 0x26000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf527 offset: 0x2f500000 bufoffset: 0x27000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf528 offset: 0x2f500000 bufoffset: 0x28000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf529 offset: 0x2f500000 bufoffset: 0x29000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf52a offset: 0x2f500000 bufoffset: 0x2a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf52b offset: 0x2f500000 bufoffset: 0x2b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf52c offset: 0x2f500000 bufoffset: 0x2c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf52d offset: 0x2f500000 bufoffset: 0x2d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf52e offset: 0x2f500000 bufoffset: 0x2e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf52f offset: 0x2f500000 bufoffset: 0x2f000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf530 offset: 0x2f500000 bufoffset: 0x30000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf531 offset: 0x2f500000 bufoffset: 0x31000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf532 offset: 0x2f500000 bufoffset: 0x32000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf533 offset: 0x2f500000 bufoffset: 0x33000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf534 offset: 0x2f500000 bufoffset: 0x34000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf535 offset: 0x2f500000 bufoffset: 0x35000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf536 offset: 0x2f500000 bufoffset: 0x36000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf537 offset: 0x2f500000 bufoffset: 0x37000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf538 offset: 0x2f500000 bufoffset: 0x38000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf539 offset: 0x2f500000 bufoffset: 0x39000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf53a offset: 0x2f500000 bufoffset: 0x3a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf53b offset: 0x2f500000 bufoffset: 0x3b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf53c offset: 0x2f500000 bufoffset: 0x3c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf53d offset: 0x2f500000 bufoffset: 0x3d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf53e offset: 0x2f500000 bufoffset: 0x3e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf53f offset: 0x2f500000 bufoffset: 0x3f000
    mmc_block_op: MMC WRITE dev: 0 start: 1550370 cnt: 512 buf: 0x00000000f8723280
    #dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf540 offset: 0x2f540000 bufoffset: 0x0
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf541 offset: 0x2f540000 bufoffset: 0x1000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf542 offset: 0x2f540000 bufoffset: 0x2000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf543 offset: 0x2f540000 bufoffset: 0x3000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf544 offset: 0x2f540000 bufoffset: 0x4000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf545 offset: 0x2f540000 bufoffset: 0x5000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf546 offset: 0x2f540000 bufoffset: 0x6000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf547 offset: 0x2f540000 bufoffset: 0x7000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf548 offset: 0x2f540000 bufoffset: 0x8000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf549 offset: 0x2f540000 bufoffset: 0x9000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf54a offset: 0x2f540000 bufoffset: 0xa000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf54b offset: 0x2f540000 bufoffset: 0xb000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf54c offset: 0x2f540000 bufoffset: 0xc000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf54d offset: 0x2f540000 bufoffset: 0xd000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf54e offset: 0x2f540000 bufoffset: 0xe000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf54f offset: 0x2f540000 bufoffset: 0xf000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf550 offset: 0x2f540000 bufoffset: 0x10000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf551 offset: 0x2f540000 bufoffset: 0x11000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf552 offset: 0x2f540000 bufoffset: 0x12000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf553 offset: 0x2f540000 bufoffset: 0x13000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf554 offset: 0x2f540000 bufoffset: 0x14000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf555 offset: 0x2f540000 bufoffset: 0x15000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf556 offset: 0x2f540000 bufoffset: 0x16000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf557 offset: 0x2f540000 bufoffset: 0x17000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf558 offset: 0x2f540000 bufoffset: 0x18000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf559 offset: 0x2f540000 bufoffset: 0x19000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf55a offset: 0x2f540000 bufoffset: 0x1a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf55b offset: 0x2f540000 bufoffset: 0x1b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf55c offset: 0x2f540000 bufoffset: 0x1c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf55d offset: 0x2f540000 bufoffset: 0x1d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf55e offset: 0x2f540000 bufoffset: 0x1e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf55f offset: 0x2f540000 bufoffset: 0x1f000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf560 offset: 0x2f540000 bufoffset: 0x20000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf561 offset: 0x2f540000 bufoffset: 0x21000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf562 offset: 0x2f540000 bufoffset: 0x22000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf563 offset: 0x2f540000 bufoffset: 0x23000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf564 offset: 0x2f540000 bufoffset: 0x24000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf565 offset: 0x2f540000 bufoffset: 0x25000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf566 offset: 0x2f540000 bufoffset: 0x26000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf567 offset: 0x2f540000 bufoffset: 0x27000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf568 offset: 0x2f540000 bufoffset: 0x28000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf569 offset: 0x2f540000 bufoffset: 0x29000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf56a offset: 0x2f540000 bufoffset: 0x2a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf56b offset: 0x2f540000 bufoffset: 0x2b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf56c offset: 0x2f540000 bufoffset: 0x2c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf56d offset: 0x2f540000 bufoffset: 0x2d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf56e offset: 0x2f540000 bufoffset: 0x2e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf56f offset: 0x2f540000 bufoffset: 0x2f000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf570 offset: 0x2f540000 bufoffset: 0x30000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf571 offset: 0x2f540000 bufoffset: 0x31000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf572 offset: 0x2f540000 bufoffset: 0x32000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf573 offset: 0x2f540000 bufoffset: 0x33000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf574 offset: 0x2f540000 bufoffset: 0x34000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf575 offset: 0x2f540000 bufoffset: 0x35000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf576 offset: 0x2f540000 bufoffset: 0x36000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf577 offset: 0x2f540000 bufoffset: 0x37000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf578 offset: 0x2f540000 bufoffset: 0x38000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf579 offset: 0x2f540000 bufoffset: 0x39000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf57a offset: 0x2f540000 bufoffset: 0x3a000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf57b offset: 0x2f540000 bufoffset: 0x3b000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf57c offset: 0x2f540000 bufoffset: 0x3c000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf57d offset: 0x2f540000 bufoffset: 0x3d000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf57e offset: 0x2f540000 bufoffset: 0x3e000
    dfu_write: name: rootfs buf: 0x00000000f7f02c80 size: 0x1000 p_num: 0xf57f offset: 0x2f540000 bufoffset: 0x3f000
    mmc_block_op: MMC WRITE dev: 0 start: 1550882 cnt: 512 buf: 0x00000000f8723280
    mmc write failed
    MMC operation faileddfu_write_buffer_drain: Write error!
    #
    
    
    

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

    尊敬的洪冠:

    这是出现问题时的 MMC_TRACE 日志。

    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00177e22
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178022
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178222
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178422
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178622
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178822
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178a22
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178c22
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00178e22
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179022
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179222
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179422
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179622
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179822
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179a22
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179c22
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x00179e22
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x0017a022
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x0017a222
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x0017a422
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x0017a622
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x0017a822
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000c00 
    CMD_SEND:13
    		ARG			 0x00010000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CURR STATE:4
    #CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:25
    		ARG			 0x0017aa22
    sdhci_send_command: INT_STAT: 0x108000
    		RET			 -70
    mmc write failed
    MMC operation failed#

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    ,并且我刷入 tisdk_base_rootfs (约400MB)二进制文件时没有问题。

    根据您上次的回复、我的理解是 ROOT_FS eMMC 刷写在您的设置中发挥了作用。
    自那时以来发生了什么变化?
    此致!
    -hong

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

    尊敬的洪冠:

    源代码和设置环境没有变化。

    只有 rootfs 文件的大小从400MB 增加到2.5GB。

    因此、eMMC 的面积发生了变化。

    谢谢。此致、

    Jaewook.

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

    这是我正在使用的硬件修订。

    AM62x SKEVM E3。

    我在同一版本的其他板上看到了相同的结果。

    谢谢。

    Jaewook

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

    尊敬的洪冠:

    我发现 eMMC 写入失败的一种模式是由于这个问题。

    当我尝试写入3个以上的0xFF00FF00数据块时、总是会发生 MMC 写入失败。

    我按如下所示在 u-boot 提示符中复制了"MMC 写入失败"。

    => mw 0x80080000 0xFF00FF00 0x800
    => mmc write 0x80080000 0x10000 1
    
    MMC write: dev # 0, block # 65536, count 1 ... 1 blocks written: OK
    => mmc write 0x80080000 0x10000 2
    
    MMC write: dev # 0, block # 65536, count 2 ... 2 blocks written: OK
    => mmc write 0x80080000 0x10000 3
    
    MMC write: dev # 0, block # 65536, count 3 ... mmc write failed
    0 blocks written: ERROR
    

    请检查此项。

    谢谢。此致、

    Jaewook

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

    您好、Hong:

    让我总结一下到目前为止的情况。
    起初、在刷写 tisdk-default-image 二进制文件时 eMMC 写入失败。
    调试后、我发现如果二进制文件包含特定数据(0xFF00FF00)、该二进制文件会失败。
    它可以使用上述相同的命令轻松复制。
    同样的问题发生在我们团队的所有3个板上。
    我希望您也可以轻松地复制它。

    请检查此问题。

    我认为对于使用 AM62x EVM 或 SDK 的任何人来说、这是一个主要问题。

    谢谢、此致(&R)、

    Jaewook.

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

    您好!

    有任何更新吗?

    谢谢、此致(&R)、

    Jaewook

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

    您好 JaeWook:
    您是否要通过将"0x80080000"替换为"${loadaddr}"来帮助重新运行测试?
    此致!
    -hong

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

    您好、Hong:

    请找到以下结果。 与之前相同。

    => mw ${loadaddr}0xFF00FF00 0x800
    => MMC 写入${loadaddr}0x10000 1.

    MMC write:dev # 0,block # 65536,count 1 ... 写入1个块:好的
    => MMC 写入${loadaddr}0x10000 2.

    MMC write:dev # 0,block # 65536,count 2 ... 写入2个块:好的
    => MMC 写入${loadaddr}0x10000 3.

    MMC write: dev # 0, block # 65536, count 3... MMC 写入失败
    0个块被写入:错误
    => MMC 写入${loadaddr}0x10000 4.

    MMC write: dev # 0,block # 65536,count 4... 0个块被写入:错误
    => MMC 写入${loadaddr}0x10000 1.

    MMC write:dev # 0,block # 65536,count 1 ... 0个块被写入:错误
    =>

    谢谢、此致(&R)、

    Jaewook