Should ALARM wrap the initramfs automatically?

Discussion about U-Boot and the kernel.

Should ALARM wrap the initramfs automatically?

Postby adam900710 » Sat Oct 12, 2019 11:17 am

Hi,

Since Uboot won't load regular initramfs (compressed cpio) or legacy initrd, but only accept image wrapped by mkimage, should we wrap the initramfs by default?

Although it's not a big problem as we can boo using kernel and root= option without problem, as EXT4 is compiled into kernel, but I guess if some creative user want to use LVM as root partition, it would take she or he a long time to find the Uboot trick.

Thanks.
adam900710
 
Posts: 44
Joined: Thu Sep 13, 2012 1:27 pm

Re: Should ALARM wrap the initramfs automatically?

Postby summers » Sat Oct 12, 2019 6:17 pm

You probably need to read:

https://wiki.archlinux.org/index.php/Mkinitcpio

Which is how arch creates the initramfs, you can set which modules are loaded my initramfs, before it tries to mount root. So if root needs a module, you set it to load by intramfs.
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 13 guests