All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] UUID returning 00000000 in 2019.07
@ 2019-07-09 12:50 Adam Ford
  2019-07-09 14:34 ` Adam Ford
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Ford @ 2019-07-09 12:50 UTC (permalink / raw)
  To: u-boot

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?

Thank you,

adam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] UUID returning 00000000 in 2019.07
  2019-07-09 12:50 [U-Boot] UUID returning 00000000 in 2019.07 Adam Ford
@ 2019-07-09 14:34 ` Adam Ford
  2019-07-10 12:47   ` Eugeniu Rosca
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Ford @ 2019-07-09 14:34 UTC (permalink / raw)
  To: u-boot

On Tue, Jul 9, 2019 at 7:50 AM Adam Ford <aford173@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] UUID returning 00000000 in 2019.07
  2019-07-09 14:34 ` Adam Ford
@ 2019-07-10 12:47   ` Eugeniu Rosca
  0 siblings, 0 replies; 3+ messages in thread
From: Eugeniu Rosca @ 2019-07-10 12:47 UTC (permalink / raw)
  To: u-boot

jFTR/FWIW, the SD card UUIDs on my H3-Salvator-X [1] are reported
correctly [2] on v2019.07-39-gb4944e25744a.

[1] https://elinux.org/R-Car/Boards/Salvator-X
[2] https://gist.github.com/erosca/829986fe0567ccdba56e6e4849f4d458

-- 
Best Regards,
Eugeniu.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-10 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09 12:50 [U-Boot] UUID returning 00000000 in 2019.07 Adam Ford
2019-07-09 14:34 ` Adam Ford
2019-07-10 12:47   ` Eugeniu Rosca

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.