Hi Scott, Thanks for your help.
I went another route. In my layer, I created an image.bb file. The .bb file tells yocto to include the kernel in the rootfs. I do this with the command: IMAGE_INSTALL += kernel-image IMAGE_INSTALL += kernel-module This installs the kernel image and module in the rootfs. I can also try your suggested method. Chiz Chikwendu Sr. Hardware Engineer Tel: 781-356-9739 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Scott Garman Sent: Thursday, September 11, 2014 1:58 PM To: [email protected] Subject: Re: [OE-core] bzImage not included in rootfs On 09/11/2014 05:08 AM, Chiz Chikwendu wrote: > I am new to Openembedded (and yocto). > > I have built an image with poky build environment. > > > > I noticed that the kernel's bzImage is not included in the rootfs. > > How do I get the system to include "bzImage" in the rootfs (boot/bzImage-)? > > > > I've done some research, and I saw a note about setting the parameter: > > RDEPENDS_kernel-base = "zImage" > > > > This should override the kernel settings and build the kernel into the > rootfs. I tried it, however it is not working for me. Hi Chiz, Which MACHINE are you building for? This is probably something that is set in the machine's BSP, since some hw platforms use bootloaders which look for the kernel in a separate flash disk than the rootfs, so for those devices there's no need to put the kernel in the rootfs. If you're building one of the qemu machine targets, note that in meta/conf/machine/include/qemu.inc there is: # Don't include kernels in standard images RDEPENDS_kernel-base = "" Finally, where are you trying to set RDEPENDS_kernel-base in your example above? I'm assuming in your local.conf file? I believe that should be the place to do it so that it overrides the machine configuration's definition. Finally, make sure you've cleared the build cache for the image generation by running bitbake -c cleanall <image-name> before trying to generate it again. Scott -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
