[PATCH v3] bootm: add global.bootm.root_dev env var for booting via PARTUUID

Robert Karszniewicz r.karszniewicz at phytec.de
Thu Aug 20 08:53:39 EDT 2020


On 8/20/20 9:05 AM, Sascha Hauer wrote:
> 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
> 

Thanks!



More information about the barebox mailing list