mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] state: find backend with UUID but without a partition
@ 2022-01-24 10:04 Michael Olbrich
  2022-01-24 10:04 ` [PATCH 1/3] cdev: rename partuuid to uuid Michael Olbrich
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Michael Olbrich @ 2022-01-24 10:04 UTC (permalink / raw)
  To: barebox; +Cc: Michael Olbrich

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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

end of thread, other threads:[~2022-01-28  7:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 10:04 [PATCH 0/3] state: find backend with UUID but without a partition Michael Olbrich
2022-01-24 10:04 ` [PATCH 1/3] cdev: rename partuuid to uuid Michael Olbrich
2022-01-24 10:04 ` [PATCH 2/3] cdev: add diskuuid support Michael Olbrich
2022-01-24 10:04 ` [PATCH 3/3] state: support backend-diskuuid / backend-offset Michael Olbrich
2022-01-26  7:57   ` Sascha Hauer
2022-01-26  9:35     ` Michael Olbrich
2022-01-26 10:15       ` Sascha Hauer
2022-01-26 11:16         ` Michael Olbrich
2022-01-27  0:18           ` Trent Piepho
2022-01-27 12:39             ` Sascha Hauer
2022-01-27 18:53               ` Trent Piepho
2022-01-28  7:48                 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox