[yocto] [poky] Initramfs not appended to kernel image

Craig McQueen craig.mcqueen at innerrange.com
Tue Apr 28 00:21:43 PDT 2015


> 
> >
> > On 2015-04-20 05:09 AM, Wouter van Rooy wrote:
> > > Hi Bruce,
> > >
> > > First of all, thanks for your answer. It would be a comforting idea
> > > to get this initramfs implemented cleanly in my project.
> > >
> > > On 16-04-15 16:22, Bruce Ashfield wrote:
> > >> I'm the proud owner of the bugzilla to document this process
> > >> better, so let's work through the issues and see if there's a bug,
> > >> or something that just isn't clearly described. We are talking
> > >> about the
> > >> 1.6 release here .. so at least the recent changes in
> > >> kernel.bbclass processing won't be the cause of the breakage.
> > > Correct, to be even more precise I am using the daisy-11.0.0 tag for Poky.
> > >> Correct, and this definitely used to work. I can't see anything
> > >> wrong by inspection alone, but will launch some builds to see if I
> > >> can confirm the behaviour and that variable not making it down into
> > >> the function call. Bruce
> > > Thanks, I would love to hear the results of your test builds. Just
> > > drop me a line if you need anything else from my build environment
> > > for reproduction, like log files and such.
> >
> > I was traveling last week and am just getting back to this now.
> > I wanted to check in to see if your issues are still persisting to see
> > if you worked it out in the meantime.
> 
> I'm in the process of using the INITRAMFS_IMAGE and
> INITRAMFS_IMAGE_BUNDLE feature with the latest from the 'dizzy' branch
> for Poky, and it seems to be working for me (on BeagleBone Black).
> 
> It's been quite a slow process to understand the initramfs mechanism and
> how to use it in Poky. That's including the initramfs-framework. It would be
> great to see some documentation for these features.

On further inspection...

When I build my image, it creates a kernel with initramfs in the deploy directory:

    zImage-initramfs-3.14.39-r22b+gitrAUTOINC+ba552b4bc7-machine-20150428061518.bin

However, the rootfs image includes the kernel _without_ the initramfs in its /boot directory.

I'll investigate to see why.

-- 
Craig McQueen




More information about the yocto mailing list