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.
工具与软件:
您好、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、因此有任何方式来解决这个问题!
我已将日志附加一次。
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 Sending /home/suraj/Downloads/tispl.bin-am62xx-evm: 1189526bytes [01:53, 10734.07bytes/s]recv error: getc timeout in start sequence Sending /home/suraj/Downloads/tispl.bin-am62xx-evm: 1189528bytes [02:05, 10734.07bytes/s]expected sequence 2, got (seq1=1, seq2=1), reading next 130 bytes, anyway recv error: purge, requesting retransmission (NAK) Sending /home/suraj/Downloads/tispl.bin-am62xx-evm: 1189528bytes [02:05, 10734.07bytes/s]1 bytes purged from receiver Sending /home/suraj/Downloads/tispl.bin-am62xx-evm: 1189529bytes [03:16, 68.74bytes/s]recv error: expected SOH, EOT; got b'\x15' Sending /home/suraj/Downloads/tispl.bin-am62xx-evm: 1189529bytes [03:35, 68.74bytes/s] recv error: expected SOH, EOT; got b'C'
此致、
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 器件。
root@am62xx-evm:~# ls /dev/mmcblk* /dev/mmcblk1 /dev/mmcblk1p1 /dev/mmcblk1p2
我已附加、您可以看到此处不显示如下分区
mmcblk0、mmcblk0boot0、mmcblk0boot1 、 mmcblk0rpmb、需要做什么!
Suraj、您好!
您能否分享完整的 Linux 内核日志?
您能否使用以下命令检查 U-Boot 是否能够检测 eMMC?
=> 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 Boot area 1 is not write protected
=> 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 Boot area 1 is not write protected
尊敬的 Prashant:
我已经附上了支票。
此致、
Suraj
Suraj、您好!
是否已在正确启用 eMMC 的情况下检查 DTS 文件?
如果您可以共享正在引导的 DTB、我们应该能够查看是否启用了 eMMC。
此致、
Prashant
尊敬的 Prashant:
我对 DTS 本身进行了修改、现在它开始工作了、感谢你们的帮助。
此致、
Suraj