[meta-freescale] Questions on Yocto Linux Configuration
Chapman, Phillip E (GE Healthcare)
Philip.Chapman at med.ge.com
Fri Sep 22 07:58:24 PDT 2017
Hello,
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:
1. Downloaded source code, from: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b krogoth
2. Set up the build environment with: MACHINE=imx6q-dms-ba16 source ./setup-environment build-Q7
3. 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"
4. 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
Thanks
Phil Chapman
R&D Software Engineer
GE Healthcare (ARC -Critical Care Solutions, Madison)
T 608 709 3642
M 608 770 5894
E philip.chapman at med.ge.com
www.gehealthcare.com<http://www.gehealthcare.com/>
P Please consider our environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20170922/91b0cd43/attachment.html>
More information about the meta-freescale
mailing list