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.

[参考译文] AM6442:AM6442:eMMC 引导失败

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1515043/am6442-am6442-emmc-booting-failing

器件型号:AM6442

工具/软件:

大家好:

我无法从 eMMC 引导分区 mmcblk0boot0进行引导。

虽然我正在写入 tiboot3.bin、tispl.bin 和 u-boot.img 文件、但不会从 eMMC 引导、但数据存在于该位置。
我能够看到来自 eMMC 分区的数据、但无法引导。

=> md ${loadaddr} 0x2000
82000000: f6078230 de058230 010203a0 1e140202  0...0...........
82000010: ac7432ec 8905a8c7 d7473f0c 8683d3d2  .2t......?G.....
82000020: 30467dce 2a09060d f7864886 0d01010d  .}F0...*.H......
82000030: 81300005 300b319d 55030609 02130604  ..0..1.0...U....
82000040: 0b315355 03060930 0c080455 31585402  US1.0...U....TX1
82000050: 060d300f 07045503 6144060c 73616c6c  .0...U....Dallas
82000060: 25302731 04550306 541e0c0a 73617865  1'0%..U....Texas
82000070: 736e4920 6d757274 73746e65 636e4920   Instruments Inc
82000080: 6f70726f 65746172 30133164 55030611  orporated1.0...U
82000090: 0a0c0b04 636f7250 6f737365 13317372  ....Processors1.
820000a0: 03061130 0c030455 2049540a 70707553  0...U....TI Supp
820000b0: 3174726f 061b301d 48862a09 010df786  ort1.0...*.H....
820000c0: 0e160109 70707573 4074726f 632e6974  ....support@ti.c
820000d0: 1e306d6f 35320d17 34323430 39323431  om0...2504241429
820000e0: 175a3033 3035320d 31343235 33393234  30Z..25052414293
820000f0: 81305a30 300b319d 55030609 02130604  0Z0..1.0...U....
82000100: 0b315355 03060930 0c080455 31585402  US1.0...U....TX1
82000110: 060d300f 07045503 6144060c 73616c6c  .0...U....Dallas
82000120: 25302731 04550306 541e0c0a 73617865  1'0%..U....Texas
82000130: 736e4920 6d757274 73746e65 636e4920   Instruments Inc
82000140: 6f70726f 65746172 30133164 55030611  orporated1.0...U
82000150: 0a0c0b04 636f7250 6f737365 13317372  ....Processors1.
82000160: 03061130 0c030455 2049540a 70707553  0...U....TI Supp
82000170: 3174726f 061b301d 48862a09 010df786  ort1.0...*.H....
82000180: 0e160109 70707573 4074726f 632e6974  ....support@ti.c
82000190: 82306d6f 0d302202 862a0906 0df78648  om0.."0...*.H...
820001a0: 05010101 02820300 8230000f 82020a02  ..........0.....
820001b0: bf000102 d849ae14 6bd3727f 48ebcd23  ......I..r.k#..H
820001c0: 22dc650e 4f0ef24d b5edf682 7cdbddf2  .e."M..O.......|
820001d0: 596efa91 b6f7d5ff 8a1d04de d995d2cc  ..nY............
820001e0: c1c4e0d1 ffbf50f8 22910c48 7b4c9a50  .....P..H.."P.L{
820001f0: 0a96f38b a4b32628 55a9e0d9 3efb1a41  ....(&.....UA..>
82000200: bf6c275b af71c0ca ee22722f 62250146  ['l...q./r".F.%b
82000210: 04c73ead b618b1f6 6e12c02c 3e9be20f  .>......,..n...>
82000220: a8a0a6e5 41034506 1f164e17 84d674a9  .....E.A.N...t..
82000230: a779d64e a911b810 251f920e f2b17fdd  N.y........%....
82000240: 68f2b9d1 4b5933d8 cc777d82 23fa9cd1  ...h.3YK.}w....#
82000250: 8858fbb4 d5eacdf2 752cf216 c362fa2d  ..X.......,u-.b.
82000260: e06e09c1 b5e07006 62990907 e7e4d6d9  ..n..p.....b....
82000270: 82c86d6c f7935007 d1edd8e2 9ed0e35f  lm...P......_...
82000280: d95493cf ce5ddd5f abf16037 7b048a14  ..T._.].7`.....{
82000290: 7fbaa765 7c4545df ae5ba14b 3d94c64e  e....EE|K.[.N..=
820002a0: d2874e8c f3a43c94 f2fcda9f 0de77c36  .N...<......6|..
820002b0: 37425aad d0812af1 67a7a16e ed871e03  .ZB7.*..n..g....
820002c0: 4a73bb00 a2312868 04a39a82 ff87e8c1  ..sJh(1.........
820002d0: c1aa7e45 053bd49f 21fd83c7 7fbdfe71  E~....;....!q...
820002e0: 1916c938 03e60e52 1e1d8d33 cd1c36c9  8...R...3....6..
820002f0: 29829d4e 2a9bcd88 7b5f6cbe 793ab2b2  N..)...*.l_{..:y

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

    你好、Nayana、

    我已将您的问题分配给我们的专家。 请提供实际步骤和日志、以便专家进行分析。  

    此致、

    Suren

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

    您好:

    您能否分享刷写日志和用于修改 partconf 和 bootbus 的命令?

    谢谢!

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

    您好 Prashant、

    我已经设置了命令 mmc partconf 0 1 1 1和 mmc bootbus 0 2 0 0。
    我已经共享了设置日志并重新启动它从 mmc2引导的位置
    请告诉我可能的问题和解决方案  

    => mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    => mmc partconf 0 1 1 1
    => mmc bootbus 0 2 0 0
    Set to BOOT_BUS_WIDTH = 0x2, RESET = 0x0, BOOT_MODE = 0x0
    => reset
    resetting ...
    
    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    EEPROM not available at 0x48, trying to read at 0x49
    Reading on-board EEPROM at 0x49 failed -121
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    

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

    使用"RESET"命令的原因是什么?

    这只会将 SoC 复位为从最初配置为的引导模式进行引导。 您需要将引导模式引脚更改为 eMMC 备用引导模式。

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

    您好 Prashant、

    我试图配置和更改引脚没有重置板从 uboot ,仍然是不引导.

    下面是 uboot 的日志。

    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    EEPROM not available at 0x56, trying to read at 0x57
    Reading on-board EEPROM at 0x57 failed -1
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    
    SoC:   AM64X SR2.0 HS-FS
    Model: Texas Instruments AM642 EVM
    EEPROM not available at 0x56, trying to read at 0x57
    Reading on-board EEPROM at 0x57 failed -1
    DRAM:  1 GiB
    Core:  70 devices, 29 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    EEPROM not available at 0x56, trying to read at 0x57
    Reading on-board EEPROM at 0x57 failed -1
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    =>
    =>
    =>
    =>
    => mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    => mmc partconf 0 1 1 1
    => mmc bootbus 0 2 0 0
    Set to BOOT_BUS_WIDTH = 0x2, RESET = 0x0, BOOT_MODE = 0x0
    =>
    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    Resetting on cold boot to workaround ErrataID:i2331
    Please resend tiboot3.bin in case of UART/DFU boot
    resetting ...
    
    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    Resetting on cold boot to workaround ErrataID:i2331
    Please resend tiboot3.bin in case of UART/DFU boot
    resetting ...
    
    

    请告诉我可能存在的问题。

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

    请遵循以下常见问题解答、启用 eMMC RST 引脚:

    e2e.ti.com/.../faq-am62x-how-to-check-and-configure-emmc-flash-rst_n-signal-to-support-warm_reset-from-emmc-booting-on-am62x-sk-e2

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

    您好 Prashant、  

    感谢您提供的信息。
    上述过程适用于其中一个电路板、但在另一个电路板中、即使 ROM 引导代码未打印、也无法正常工作

    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    Resetting on cold boot to workaround ErrataID:i2331
    Please resend tiboot3.bin in case of UART/DFU boot
    resetting ...

    取出 SD 卡后、至少以上代码未打印。
    请告诉我需要设置的任何其他事项。

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

    您好:

    上述过程适用于其中一个电路板、但适用于另一个电路板

    这些定制板是吗?

    您是否按照从工作设置到非工作设置的相同方式执行了所有步骤?

    谢谢!