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-Q1:定制电路板的 UART Uniflash 失败

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1374200/am625-q1-uart-uniflash-fail-for-custom-board

器件型号:AM625-Q1
主题中讨论的其他器件:UNIFLASH

工具与软件:

您好、TI 专家:

我使用定制板、所以我想使用 uart_uniflash 刷写映像 、但我能够刷写 tiboot3-am62x-hs-fs-evm.bin 、sbl_uart_uniflash_stage1.release.hs_fs.tiimage、sbl_uart_uniflash_stage2.release.appimage.hs_fs buti 无法刷写 am62x.bin、因此有任何方式来解决这个问题!

我已将日志附加一次。

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
suraj@suraj-HP-Laptop-15s-fr2xxx:/opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash$ sudo python3 uart_uniflash.py -p /dev/ttyUSB0 --cfg=/home/suraj/Downloads/uart_flash.cfg
Parsing config file ...
Parsing config file ... SUCCESS. Found 5 command(s) !!!
Executing command 1 of 5 ...
Found flash writer ... sending /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage1.release.hs_fs.tiimage
Sent flashwriter /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage1.release.hs_fs.tiimage of size 246687 bytes in 25.23s.
Executing command 2 of 5 ...
Command arguments : --file=/opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage2.release.appimage.hs_fs --operation=flash --flash-offset=0x0
Sent /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage2.release.appimage.hs_fs of size 122931 bytes in 15.1s.
[STATUS] SUCCESS !!!
Executing command 3 of 5 ...
Command arguments : --file=/home/suraj/Downloads/tiboot3-am62x-hs-fs-evm.bin --operation=flash-emmc --flash-offset=0x0
Sent /home/suraj/Downloads/tiboot3-am62x-hs-fs-evm.bin of size 295502 bytes in 31.49s.
[STATUS] SUCCESS !!!
Executing command 4 of 5 ...
Command arguments : --file=/home/suraj/Downloads/tispl.bin-am62xx-evm --operation=flash-emmc --flash-offset=0x80000
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

此致、  

Suraj

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

    您好!

    在接收到 tispl.bin-am62xx-evm 二进制文件后、UNIFLASH_stage2似乎会卡在某个位置。

    您可以尝试以下一组 Uniflash 映像进行刷写吗?

    e2e.ti.com/.../sbl_5F00_uart_5F00_uniflash_5F00_stage1.debug.hs_5F00_fs.tiimage

    e2e.ti.com/.../sbl_5F00_uart_5F00_uniflash_5F00_stage2.debug.appimage.hs_5F00_fs

    此致、

    Prashant

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

    尊敬的 Prashant:

    它的工作原理,谢谢。

    现在您能否告诉我一点、我实际上使用的是定制板、因此我 在 Linux 中遇到了 eMMC 检测问题、 从 SD 卡引导时未检测到 eMMC 器件。

    Fullscreen
    1
    2
    root@am62xx-evm:~# ls /dev/mmcblk*
    /dev/mmcblk1 /dev/mmcblk1p1 /dev/mmcblk1p2
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    我已附加、您可以看到此处不显示如下分区

    mmcblk0、mmcblk0boot0、mmcblk0boot1 、 mmcblk0rpmb、需要做什么!

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

    Suraj、您好!

    您能否分享完整的 Linux 内核日志?

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

    您能否使用以下命令检查 U-Boot 是否能够检测 eMMC?

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    => mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    => mmc info
    Device: mmc@fa10000
    Manufacturer ID: 13
    OEM: 4e
    Name: S0J56X
    Bus Speed: 200000000
    Mode: HS200 (200MHz)
    Rd Block Len: 512
    MMC version 5.1
    High Capacity: Yes
    Capacity: 14.8 GiB
    Bus Width: 8-bit
    Erase Group Size: 512 KiB
    HC WP Group Size: 8 MiB
    User Capacity: 14.8 GiB WRREL
    Boot Capacity: 31.5 MiB ENH
    RPMB Capacity: 4 MiB ENH
    Boot area 0 is not write protected
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    => mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    => mmc info
    Device: mmc@fa10000
    Manufacturer ID: 13
    OEM: 4e
    Name: G1M15L
    Bus Speed: 200000000
    Mode: HS200 (200MHz)
    Rd Block Len: 512
    MMC version 5.1
    High Capacity: Yes
    Capacity: 29.6 GiB
    Bus Width: 8-bit
    Erase Group Size: 512 KiB
    HC WP Group Size: 8 MiB
    User Capacity: 29.6 GiB WRREL
    Boot Capacity: 31.5 MiB ENH
    RPMB Capacity: 4 MiB ENH
    Boot area 0 is not write protected
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    尊敬的 Prashant:

    我已经附上了支票。

    此致、

    Suraj

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

    Suraj、您好!

    是否已在正确启用 eMMC 的情况下检查 DTS 文件?

    如果您可以共享正在引导的 DTB、我们应该能够查看是否启用了 eMMC。

    此致、

    Prashant

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

    尊敬的 Prashant:

    我对 DTS 本身进行了修改、现在它开始工作了、感谢你们的帮助。

    此致、

    Suraj