W dniu 17.11.2020 o 11:05, Rasmus Villemoes pisze:

Would it make sense to choose a canonical "Partition type GUID" [1] for
partitions used to store a U-Boot environment?

The partition type is mostly informational, but I'm thinking it might
make sense to have some canonical thing to put into an image definition
rather than having the tool use something random or a default which
would often be "Linux filesystem data".

If so, I propose 3de21764-95bd-54bd-a5c3-4abe786f38a8 , which is from
https://www.uuidtools.com/v5 with a namespace of
25cbcde0-8642-47c6-a298-1a3a57cd256b (randomly generated just now, but
should be used for future v5 uuids within U-Boot context [2]) and name
"U-Boot environment" (sans quotes).

If you device lacks flash for environment then create "BIOS boot partition" and use it for storing both bootloader and env?

Something like 552d426f-6f74-2070-6c75-7320456e762020 (plus some endian swaps) would be better UUID for U-Boot Env partition as it goes to "U-Boot plus Env" after ASCII convertion ("BIOS Boot partition" UUID is "Hah!IdontNeedEFI" so why not continue tradition).

Reply via email to