[poky] poky custom kernel misconfiguration
Gerard van den Bosch
gerard at de-haardt.com
Tue Feb 22 03:03:18 PST 2011
Hello,
I am trying to build Poky for my hardware platform with a custom kernel.
But when I build Poky it crashes by not finding a defconfig for kernel
2.6.33.2-r2 which isn't the kernel I preferred to build.
This is what I have done:
Copied local.conf.sample to local.conf and changed the following:
BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"
MACHINE ?= "tao3530"
Because this is a new machine I have generated a tao3530.conf by copying
the beagleboard.conf because this is a similar device.
I have changed the kernel recipe to:
PREFERRED_PROVIDER_virtual/kernel = "TAO-PSP"
The kernel I used is normally used in Ångström for this board, but
because Ångström is also OpenEmbedded based I assumed I could use the
kernel in Poky also.
In the meta/package/linux directory I made the TAO-PSP-2.6.32 directory.
In this directory I placed the tar.bz2 of my kernel and the defconfig
for my hardware platform.
I have generated a bb file containing the following:
SECTION = "kernel"
DESCRIPTION = "TAO3530 Linux kernel"
LICENSE = "GPL"
KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}"
inherit kernel
COMPATIBLE_MACHINE = "tao3530"
PR = "r1"
SRC_URI = "file://TAO-PSP-03000106.tar.bz2 \
file://defconfig"
S = "${WORKDIR}/linux-2.6.32"
Can someone point me out what I did wrong or what I have forgot to
configure or where to look to find out what I did wrong.
Regards,
Gerard
More information about the poky
mailing list