[yocto] Trouble using initramfs
Mittal, Anuj
anuj.mittal at intel.com
Thu Aug 15 16:17:48 PDT 2019
On Thu, 2019-08-15 at 19:12 -0300, Antonio Teixeira wrote:
> Hello.
>
> I've been having trouble with loading initramfs on boot when the
> initramfs is bundled with the kernel image.
> I've been using the following options in local.conf:
> INITRAMFS_IMAGE = "core-image-minimal-initramfs"
> INITRAMFS_IMAGE_BUNDLE = "1"
>
> I'm using the linux-intel kernel from the meta-intel layer, however,
> when booting, the kernel simply doesn't load the initramfs.
>
> If I set INITRAMFS_IMAGE_BUNDLE to "0", copy the generated initramfs
> image to the boot partition, and then point grub to the external
> initramfs.cpio.gz image using the initrd option in the boot entry
> config, the kernel loads it fine and everything works.
Which branch are you using? Can you try the latest master with wic?
There was a fix to wic to allow copying the kernel image with bundled
initramfs to boot partition instead of the one without when
INITRAMFS_IMAGE_BUNDLE is 1.
Thanks,
Anuj
More information about the yocto
mailing list