mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Using bootspec with RAUC and redundant partitions
@ 2020-09-29 13:02 robin
  2020-09-30  7:39 ` Sascha Hauer
  0 siblings, 1 reply; 8+ messages in thread
From: robin @ 2020-09-29 13:02 UTC (permalink / raw)
  To: ejo; +Cc: barebox, david

Hi All,

Can anyone help me determine where to place the bootspec data in a 
system
with redundant partitions for kernel and rootfs?

We're migrating from scripts in env/boot for 'system0' and 'system1', to
bootspec. We're using bootchooser combined with the state framework to 
determine
which target needs to be booted.

Our partition table (relevant partitions):
  mmc2.0: kernel.0
  mmc2.1: kernel.1
  ...
  mmc2.4: rootfs.0
  mmc2.5: rootfs.1

Looking into the bootspec, we could add an additional 'boot' partition 
but this
breaks redundancy, and feels trivial since we have the kernel 
partitions.

But adding the loader/entries to the kernel partitions probably requires 
us to
generate them runtime (Rauc post-install?). Since Rauc determines which 
kernel
partition will be written with the contents of 'kernel' image in a 
bundle the
bootspec can't be determined at build time.

Is there a door number 3 or am I missing something here?

Best regards,
Robin van der Gracht

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

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

end of thread, other threads:[~2020-09-30 13:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-29 13:02 Using bootspec with RAUC and redundant partitions robin
2020-09-30  7:39 ` Sascha Hauer
2020-09-30  8:09   ` Enrico Jörns
2020-09-30  9:19     ` robin
2020-09-30 10:50       ` Robert Karszniewicz
2020-09-30 11:26       ` robin
2020-09-30 11:48         ` Enrico Jörns
2020-09-30 13:18           ` robin

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