uboot 2024 on imx8mp with guid partition table

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uboot 2024 on imx8mp with guid partition table

26 Views
MicMoba
Contributor V

I want to update the uboot from 2021.04 to 2024.01 on my imx8mp. My current Yocto image create 5 partition with guid partition table. I install this image with UUU-tool and the build-in script emmc_all. Everything is fine and work.

u-boot=> mmc dev 2
switch to partitions #0, OK
mmc2(part 0) is current device
u-boot=> mmc part
Partition Map for MMC device 2 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00002000 0x00033fff "boot0"
attrs: 0x0000000000000004
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: d928d68b-3e33-453c-aa11-de84c4a8c109
2 0x00034000 0x003aa7ff "root0"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 48edb7dc-b624-4c4d-9593-4e6878f11a62
3 0x003aa800 0x003dc7ff "boot1"
attrs: 0x0000000000000004
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 48c06c49-6f23-4e71-acb1-a15be60bfc23
4 0x003dc800 0x00752fff "root1"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: e4ac51a8-6550-4a81-af59-066906f6ecf0
5 0x00753000 0x00e28fff "home"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 43cdf952-95c3-4786-96a3-350e7f48f86d

 

When I compile the uboot 2024.01 and flash the uboot over UUU-tool

uuu.exe SDPS: boot -f flash.bin
uuu.exe FB: flash mmc2boot0 flash.bin

The uboot start but my partitions are gone

u-boot=> mmc dev 2
switch to partitions #0, OK
mmc2(part 0) is current device
u-boot=> mmc part
Partition Map for MMC device 2 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 1 14848033 b365749a-01 ee

If I flash the old uboo (2021.04) with UUU-tool again the partitions are all restored.

First I thought that the partition table is overwrite, but it can't because with the old uboot every thing is recovered

I use an imx8mp with 8GB emmc. The emmc has two hw boot partitions.

Where is my mistake? Any sugestions?

 

Tags (4)
0 Kudos
Reply
0 Replies