Re: Using bootspec with RAUC and redundant partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-09-30 13:48, Enrico Jörns wrote:
Hi Robin,

Am Mittwoch, den 30.09.2020, 13:26 +0200 schrieb robin:
Enrico,

> On 2020-09-30 10:09, Enrico Jörns wrote:
> > Hi Robin,
..
> > Why this would work anyway is because barebox extends the kernel
> > commandline with the root= entries required to boot the kernel from
> > that specific partition where it did read the entry from.

Re-reading this, do you mean that the blspec files on the rootfs
partitions
should contain a root=/dev/mmcblk* of the partition they are on? And
thus
still contain dynamic (install time computed) configuration?

no, what I meant was the opposite: To exclude this information from the
blspec file.

ack, than we're on the same page here ;)

If I use 'boot /mnt/mmc2.4/boot' barebox finds the spec, kernel and dtb
but my root= is not set in the kernel commandline.

A little detail I forgot to mention is that barebox requires you to
have a line 'linux-appendroot true' in the blspec file.

Thats what I missed. A custom bootspec key :P

 blspec: booting vicut1-1.05.88.2.1 from mmc2
 Adding "root=PARTUUID=f340a0f5-05" to Kernel commandline

Now works as previously discussed, thanks!

Best regards,
Robin van der Gracht

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




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux