[PATCH 0/3] state: find backend with UUID but without a partition
Michael Olbrich
m.olbrich at pengutronix.de
Mon Jan 24 02:04:55 PST 2022
Hi,
When adding state with a barebox update on existing devices, then it's not
always possible to add a partition for it. But currently that's the only
way to specify the state backend on x86_64/EFI devices.
This adds support backend-diskuuid / backend-offset. This way the backend
is defined by a UUID that selects a disk and an offset within that disk.
Michael
Michael Olbrich (3):
cdev: rename partuuid to uuid
cdev: add diskuuid support
state: support backend-diskuuid / backend-offset
common/bootm.c | 6 ++---
common/partitions.c | 2 +-
common/partitions/dos.c | 3 +++
common/partitions/efi.c | 2 ++
common/partitions/parser.h | 2 +-
common/state/state.c | 55 +++++++++++++++++++++++++-------------
fs/devfs-core.c | 16 ++++++++++-
fs/fs.c | 4 +--
include/driver.h | 5 ++--
include/fs.h | 12 +++++++++
10 files changed, 79 insertions(+), 28 deletions(-)
--
2.30.2
More information about the barebox
mailing list