* poky custom kernel misconfiguration
@ 2011-02-22 11:03 Gerard van den Bosch
2011-02-22 11:08 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Gerard van den Bosch @ 2011-02-22 11:03 UTC (permalink / raw)
To: poky
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: poky custom kernel misconfiguration
2011-02-22 11:03 poky custom kernel misconfiguration Gerard van den Bosch
@ 2011-02-22 11:08 ` Richard Purdie
2011-02-22 11:21 ` Gerard van den Bosch
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2011-02-22 11:08 UTC (permalink / raw)
To: Gerard van den Bosch; +Cc: poky
On Tue, 2011-02-22 at 12:03 +0100, Gerard van den Bosch wrote:
> 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.
What did you call the .bb file?
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: poky custom kernel misconfiguration
2011-02-22 11:08 ` Richard Purdie
@ 2011-02-22 11:21 ` Gerard van den Bosch
2011-02-22 11:49 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Gerard van den Bosch @ 2011-02-22 11:21 UTC (permalink / raw)
To: poky
On 02/22/2011 12:08 PM, Richard Purdie wrote:
> On Tue, 2011-02-22 at 12:03 +0100, Gerard van den Bosch wrote:
>> 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.
> What did you call the .bb file?
>
> Cheers,
>
> Richard
>
Sorry for the reply mistake, I am new to mailinglists.
The name of the bb file is: TAO-PSP-2.6.32.bb
Regards,
Gerard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: poky custom kernel misconfiguration
2011-02-22 11:21 ` Gerard van den Bosch
@ 2011-02-22 11:49 ` Richard Purdie
2011-02-22 12:17 ` Gerard van den Bosch
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2011-02-22 11:49 UTC (permalink / raw)
To: Gerard van den Bosch; +Cc: poky
On Tue, 2011-02-22 at 12:21 +0100, Gerard van den Bosch wrote:
> On 02/22/2011 12:08 PM, Richard Purdie wrote:
> > On Tue, 2011-02-22 at 12:03 +0100, Gerard van den Bosch wrote:
> >> 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.
> > What did you call the .bb file?
> >
> > Cheers,
> >
> > Richard
> >
> Sorry for the reply mistake, I am new to mailinglists.
>
> The name of the bb file is: TAO-PSP-2.6.32.bb
Try calling it TAO-PSP_2.6.32.bb as "_" is the separator between the
name and the version.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: poky custom kernel misconfiguration
2011-02-22 11:49 ` Richard Purdie
@ 2011-02-22 12:17 ` Gerard van den Bosch
0 siblings, 0 replies; 5+ messages in thread
From: Gerard van den Bosch @ 2011-02-22 12:17 UTC (permalink / raw)
To: Richard Purdie; +Cc: poky
On 02/22/2011 12:49 PM, Richard Purdie wrote:
> On Tue, 2011-02-22 at 12:21 +0100, Gerard van den Bosch wrote:
>> On 02/22/2011 12:08 PM, Richard Purdie wrote:
>>> On Tue, 2011-02-22 at 12:03 +0100, Gerard van den Bosch wrote:
>>>> 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.
>>> What did you call the .bb file?
>>>
>>> Cheers,
>>>
>>> Richard
>>>
>> Sorry for the reply mistake, I am new to mailinglists.
>>
>> The name of the bb file is: TAO-PSP-2.6.32.bb
> Try calling it TAO-PSP_2.6.32.bb as "_" is the separator between the
> name and the version.
>
> Cheers,
>
> Richard
>
>
>
Thanks, it is selecting the right kernel now.
Regards,
Gerard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-22 12:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 11:03 poky custom kernel misconfiguration Gerard van den Bosch
2011-02-22 11:08 ` Richard Purdie
2011-02-22 11:21 ` Gerard van den Bosch
2011-02-22 11:49 ` Richard Purdie
2011-02-22 12:17 ` Gerard van den Bosch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.