specify root squashfs ubiblock by volume name

Tomas Alvarez Vanoli tomas.alvarez-vanoli at hitachienergy.com
Mon Apr 15 06:48:24 PDT 2024


Hello all,
I have an embedded system in which multiple rootfs are stored in an ubi device as squashfs ubi volumes.
This is to be able to have fallback systems or to be able to store and run different versions of the software easily.
Because the number and order of volumes in the ubi device can change (different configurations, optional log volume, etc),
I have a small patch that allows me to specify the volume using “ubiblock:name”, which mirrors the already possible “ubi:name”,
Instead of specifying the device name for the "root" boot argument.

Is there already a way to do this that I may have overlooked?
If not, do you think this is a feature that would be accepted into mainline?

Many thanks,
Tomas Alvarez Vanoli


More information about the linux-mtd mailing list