Booting from LVM volume using UBoot 2016.09-1

Ask questions about Arch Linux ARM. Please search before making a new topic.

Booting from LVM volume using UBoot 2016.09-1

Postby psychokiller » Tue May 12, 2020 6:10 pm

Hi all,
I am probably stretching things here, but nonetheless I wish to ask, since I cannot find a source (please give a reference to it if available) for UBoot 2016.09-1 features.
Is UBoot 2016.09-1 able to boot from an LVM partition (ext4 or ext2) just like GRUB2 is? (I know the comparison is meaningless, just as an example)
Thanx in advance for any information.
Paolo
psychokiller
 
Posts: 40
Joined: Tue Sep 15, 2015 5:39 pm

Re: Booting from LVM volume using UBoot 2016.09-1

Postby summers » Wed May 13, 2020 10:39 am

Two questions there:
1) What does uboot 2016 support
2) can you boot LVM
Now on the first, from: https://archlinuxarm.org/packages/arm/uboot-nsa325/files/PKGBUILD you can see where the source came from. The original release isn't any more on git, but is probably built from, e.g.:
https://github.com/moonman/u-boot/blob/2016.09/configs/nsa325_defconfig
That shows whats was configured when the nsa 325 uboot 2016.09 was configured. So shows you what you have.

Now can you boot LVM, well I don't have a definitive answer. but if you look at the current uboot source filesystem support:
https://gitlab.denx.de/u-boot/u-boot/-/tree/master/fs
And you don't see support for LVM. So it seems unlikely that moonman 2016 branch has LVM. Note this is what the source is, typically not all these options are defined in the config file, which is why you need to look at that and see what is included ...

[edit: and checking that nsa325_defconfig file, and its just minimal. IIRC you then need to look at uboot source code to see what config files it pulls in, e.g. what the basic file is before the nsa325 modification. I've done this in the past, so know its possible, but don't recall the details.]
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 13 guests