[U-Boot] UUID returning 00000000 in 2019.07

Adam Ford aford173 at gmail.com
Tue Jul 9 14:34:29 UTC 2019


On Tue, Jul 9, 2019 at 7:50 AM Adam Ford <aford173 at gmail.com> wrote:
>
> I have two different MMC devices and both return 0's for their UUID's
>
> i.MX6 Logic # part list mmc 1
>
> Partition Map for MMC device 1  --   Partition Type: DOS
>
> Part Start Sector Num Sectors UUID Type
>   1 2048      32768      00000000-01 0c Boot
>   2 34816      655360    00000000-02 83
> i.MX6 Logic # part list mmc 0
>
> Partition Map for MMC device 0  --   Partition Type: DOS
>
> Part Start Sector Num Sectors UUID Type
>   1 2048      32768      00000000-01 0c Boot
>   2 34816
>
> From Linux, it's clear they have unique UUID's
>
> # blkid
> /dev/mmcblk0: PTTYPE="dos"
> /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="880C-488C" TYPE="vfat"
> /dev/mmcblk0p2: LABEL="rootfs"
> UUID="03177169-5175-4b80-b271-1400b6407f93" TYPE="ext4"
> /dev/mmcblk1: PTTYPE="dos"
> /dev/mmcblk1p1: SEC_TYPE="msdos" LABEL="boot" UUID="BEF5-8B62" TYPE="vfat"
> /dev/mmcblk1p2: LABEL="rootfs"
> UUID="e7a80a96-752e-49b0-a1b9-292199bf20a4" TYPE="ext4"
> #
>
> I have tried setting a variety of UUID related flags in the menuconfig
> yet I still get 0's
>
> CONFIG_CMD_UUID=y
> CONFIG_CMD_FS_UUID=y
> CONFIG_PARTITION_UUIDS=y
> CONFIG_SPL_PARTITION_UUIDS=y
> CONFIG_LIB_UUID=y
>
> I am wondering if I'm missing something somewhere in my defconfig.
> Does anyone have any suggestions?
>

I verified this appears to do the same on omap3_logic (dm3730)

OMAP Logic # part list mmc 0

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     63              401562          00000000-01     0c Boot
OMAP Logic #



> Thank you,
>
> adam


More information about the U-Boot mailing list