[PATCH v3] bootm: add global.bootm.root_dev env var for booting via PARTUUID
Sascha Hauer
s.hauer at pengutronix.de
Thu Aug 20 03:05:54 EDT 2020
On Mon, Aug 10, 2020 at 02:20:08PM +0200, Robert Karszniewicz wrote:
> Introduces a new env var which specifies which device is the rootfs
> device to be used in Linux, passed to Linux via bootargs, identified by
> the rootfs partition's PARTUUID.
>
> global.bootm.root_dev supplements global.bootm.appendroot, in that it
> overrides appendroot's naïve default, which picks the partition that the
> kernel resides on (global.bootm.image).
>
> Example:
> detect mmc2
> global.bootm.image='/mnt/mmc2.0/zImage'
> global.bootm.appendroot=1
> global.bootm.root_dev=/dev/mmc2.1
> boot mmc
>
> Signed-off-by: Robert Karszniewicz <r.karszniewicz at phytec.de>
> ---
Applied, thanks
Sascha
--
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