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.

AM6421: U-Boot failed to write u-boot. img to emmc

Part Number: AM6421

https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM64X/08_06_00_42/exports/docs/linux/Foundational_Components/U-Boot/UG-Memory.html

I followed the steps linked above to partition the EMMC and update the firmware. Am6421 cannot start from emmc。

SDK:08.06.00.42  


Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
=> printenv partitions
partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
=> setenv uuid_gpt_rootfs d479a9a2-2aba-4b07-a202-02667f4392e3
=> gpt write mmc 0 ${partitions}
Writing GPT: success!
=> pr
printenv protect
=> mmc part
Partition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000022 0x0733bfde "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: d479a9a2-2aba-4b07-a202-02667f4392e3
=> printenv partitions
partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Failed to write u boot. img to emmc

Where did I go wrong in my steps?