linux - Get SD card serial / oemid from U-boot on RaspberryPi3 -


i'm using u-boot on raspberry pi 3 , want obtain sd card oemid or serial number.

"normally" can done accessing /sys/block/mmcblk0/device/ or running udevadm info -a -n /dev/sdx on linux site, wonder:

is possible via u-boot (i.e. without running kernel) ?

so, in order enough information device able use root=partuuid= syntax linux kernel need have few commands enabled in u-boot. functional example of can found here. shell prompt command just:

=> part uuid interface device:partition variable-to-store-in 

and requires have config_cmd_part set in turn requires config_partition_uuids.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -