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.

AM5718: Problems using eMMC GPT partition

Part Number: AM5718

Hi

I have a question about the GPT partition

1. mmc dev 1 1 , mmc dev 1 0 

   What is the difference between the two??

2. It seems that the GPT partition was saved in "dev 1 0", but is it correct to put the U-boot image in "dev 1 1"?

Refer to SDK documentation 

->  http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_U-Boot.html#booting-mlo-and-u-boot-from-emmc-boot-partition

mmc part 

---------------------------------------------------------------------------------------------------------

=> mmc dev 1
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc part

Partition Map for MMC device 1 -- Partition Type: EFI

Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000300 0x000010ff "bootloader"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 5033928c-0f89-46f5-ac81-677a8a728ebb
2 0x00001500 0x01d59fde "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 0c4ec45b-a453-4a0a-9171-72fe89cfe16b
=> mmc dev 1 0
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc part

Partition Map for MMC device 1 -- Partition Type: EFI

Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000300 0x000010ff "bootloader"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 5033928c-0f89-46f5-ac81-677a8a728ebb
2 0x00001500 0x01d59fde "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 0c4ec45b-a453-4a0a-9171-72fe89cfe16b
=> mmc dev 1 1
switch to partitions #1, OK
mmc1(part 1) is current device
=> mmc part

Partition Map for MMC device 1 -- Partition Type: EFI

GPT: last_usable_lba incorrect: 1D59FDE > 2000
part_print_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_print_efi: *** ERROR: Invalid Backup GPT ***

---------------------------------------------------------------------------------------------------------

3. Whether it works as raw or as a partition

Remove SDcard and U-boot will boot with eMMC

But I am wondering if it works normally with GPT partition

Is there any way to check if the partition is working properly?

---------------------------------------------------------------------------------------------------------

U-Boot 2019.01 (Jun 12 2020 - 16:31:07 +0900)

CPU : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x IDK REV
DRAM: 1 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... MMC: no card present
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Warning: fastboot.board_rev: unknown board revision
am57x_idk_lcd_detect: Failed to get I2C device 0/56 (ret 1)
i2c_write: error waiting for data ACK (status=0x116)
cdce9xx_reg_write: failed for addr:5, ret:-121
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
=>
=>
=>

---------------------------------------------------------------------------------------------------------

please answer about my question
Thank you