[PATCH 3/3] state: support backend-diskuuid / backend-offset

Sascha Hauer sha at pengutronix.de
Thu Jan 27 23:48:12 PST 2022

On Thu, Jan 27, 2022 at 10:53:33AM -0800, Trent Piepho wrote:
> Could a linux dtb fixup be done in barebox?  This way userspace will
> only have existing properties: storage devices with partitions
> node(s), and barebox-state backend that points to a partition.  In
> this case, the partition node was added by Barebox.
> In fact, Barebox already does partition fixups exactly like this.  So
> I think this would probably already happen.  It won't work if Linux
> dtb does not have the storage device at all, as the partition fixup
> considers that an error.  But maybe the Linux dtb will have the
> storage device node?  Or if it doesn't have it because the storage is
> "too dynamic" to put into the dts, then another fixup can make the
> node.

Michael wants to use this for EFI, so there is no full device tree under
Linux, there will only be the device tree snippet containing the state
node and now some dummy device describing the disk UUID.
While it sounds like an interesting idea it won't help us here.


Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

More information about the barebox mailing list