Hello Phil, On Fri, Sep 22, 2017 at 11:58 AM, Chapman, Phillip E (GE Healthcare) <[email protected]> wrote: > I am working with the Freescale DMS-BA16 BSP i.MX6 Q7 evaluation system and > I would like to modify the Yocto kernel image, to include kernel header > files, e.g.’kernel.h’, etc. I would like to do this so that I can write some > simple kernel drivers, and the header files are of course, compiled with a > ‘make’ command. > > The steps I followed are: > > Downloaded source code, from: repo init -u > https://github.com/Freescale/fsl-community-bsp-platform -b krogoth > Set up the build environment with: MACHINE=imx6q-dms-ba16 source > ./setup-environment build-Q7 > Modifed the ‘local.conf’ configuration file and this is attached. I added in > the facilty to include kernel headers, with ‘TOOCHAIN_TARGET_TASK_append = “ > kernel-devsrc” > Build the kernel with ‘bitbake’: bitbake fsl-image-multimedia-full > > > > The kernel builds fine and boots on the hardware via an uSD card. > > The perplexing issue is that while there is a ‘kernel.h’ file in > /usr/include, it appears to be a ‘stub’ containing 5 lines. The kernel.h > file as observed on an Ubuntu machine is many times larger. Can you point me > in the right direction
Please use Pyro for new developments. Krogoth is old ... The addition of devsrc, in toolchain, does not goes for the image but for the toolchain. Do: bitbake <image> -c populate_sdk It should offer what you need. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
