On Thu, Jun 14, 2018 at 2:40 AM, Josef Holzmayr < holzm...@rsi-elektrotechnik.de> wrote:
> Hi Tim, > > On Wed, Jun 13, 2018 at 11:57:10PM -0400, Tim Hammer wrote: > > I would like to include the kernel Image and DTB files in the /boot/ > > directory of the root filesystem that will be installed in flash memory ( > > *vs.* a separate partition with the /boot/ content). > > IMAGE_INSTALL += "kernel kernel-devicetree" > > should do that neatly. See also: > https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/ > classes/kernel.bbclass#n548 > and > https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/ > classes/kernel-devicetree.bbclass#n6 > > Thanks for the pointers! To be honest, it was still a little confusing, but after some experimentation I figured out a few things. - kernel is already included in the image (I believe in meta-openembedded/meta-oe/recipes-core/packagegroups/ packagegroup-boot.bb in the RRECOMMENDS_${PN} definition) thus, it is not needed in my IMAGE_INSTALL extensions - kernel-image gets me the Image-4.14.16+gdfe1b13 kernel binary into /boot/ this is despite not finding any recipe file(s) that puts that file into the FILES_${KERNEL_PACKAGE_NAME}-image variable - kernel-dev will get me the additional files (System.map-..., config-..., Module.symvers-..., etc.) if I need them > Greetz > -- > ——————————————— > Josef Holzmayr > Software Developer Embedded Systems > > Tel: +49 8444 9204-48 > Fax: +49 8444 9204-50 > > R-S-I Elektrotechnik GmbH & Co. KG > Woelkestrasse 11 > D-85301 Schweitenkirchen > www.rsi-elektrotechnik.de > ——————————————— > Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393 > Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg > Ust-IdNr: DE 128592548 > > _____________________________________________________________ > Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 > Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg > USt-IdNr.: DE 128592548 > > -- .Tim
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto