buildroot/board/radxa
Niklas Cassel 93487f1566 configs/rock5b: enable uboot-env on the SD card
Having the uboot environment defined on the SD card allows the user to
use the uboot setenv and saveenv commands to make persistent changes
(e.g. to change the boot order, or to set a server IP for PXE boot).

Set the uboot-env partition type GUID to "U-Boot environment", see:
https://github.com/u-boot/u-boot/blob/v2024.10/doc/README.gpt#L288
https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
and enable CONFIG_PARTITION_TYPE_GUID such that uboot will automatically
find the SD card partition to store/load the uboot environment to.

We need to mark the root partition as bootable, otherwise uboot will no
longer be able to boot the partition by default. (Most likely because
the root partition is now no longer the first partition on the device.)

Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-23 21:53:15 +02:00
..
rock5b configs/rock5b: enable uboot-env on the SD card 2024-10-23 21:53:15 +02:00
rockpi-n8 board/*/genimage.cfg: use partition-type-uuid = F for some FAT partitions 2022-07-23 15:36:22 +02:00