[yocto] kernel.bbclass do_bundle_initramfs did not work

Moritz Porst moritz.porst at gmx.de
Fri Oct 4 05:18:58 PDT 2019


Hey JH,

I had a similiar problem before. What branch and revision do you have
checked out for your meta-layers ? Mine looks like the following and I
get an initramfs built into my image:

meta-yocto-bsp       = "warrior:01b8a8b54bc569e5ef3f5e6fc6abcee365ab25d9"
meta-intel           = "warrior:6bd7b2edafe90e61a3a52cd089432080b82a7891"
meta-qt5             = "warrior:2a5f9415e48a38f6f4eb0cf375737a2d8438e2fe"
meta-mingw           = "warrior:10695afe8cd406844e0d0dd868c11677e07557d4"
meta-initramfs       = "warrior:8d5dcd6522e9d15e68637b6d7dda0401f9bb91d0"

Further more what happens if you build only an initramfs ?

bitbake core-image-minimal-initramfs

Any error messages ? If not, how is your initramfs called ? The issue
*could* also be a misspelling in zImage-initramfs.

Best regards
Moritz

On 04.10.19 13:26, JH wrote:
> Hi,
>
> It seems to me if both INITRAMFS_IMAGE and INITRAMFS_IMAGE_BUNDLE are
> set it should generate initramfs, but I did not get. I set up in my
> image:
>
> INITRAMFS_IMAGE = "zImage-initramfs"
> INITRAMFS_IMAGE_BUNDLE = "1"
>
> But it did not build zImage-initramfs, what I could be missing here?
>
> Thank you.
>
> Kind regards,
>
> - jh


More information about the yocto mailing list