[PATCH 0/3] state: find backend with UUID but without a partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux