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 [email protected]
www.gehealthcare.com<http://www.gehealthcare.com/>
P  Please consider our environment before printing this email.

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to