* Poky issues with tune-cortexa8 and a custom machine
@ 2011-04-06 15:53 Salvatore Fassi
2011-04-07 19:53 ` Darren Hart
0 siblings, 1 reply; 4+ messages in thread
From: Salvatore Fassi @ 2011-04-06 15:53 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 779 bytes --]
Hi all,
I've created a custom machine to match my hardware.
This hw is arm based with cortexa8 architecture, so my machine file
(myarm.conf) uses:
require conf/machine/include/tune-cortexa8.inc
For the image I use:
bitbake poky-image-minimal
This compiles everything fine but when it starts composing the rootfs by
installing ipk's I get errors about some missing packages.
I've found that the error is due to the fact that poky is compiling two work
trees:
build/tmp/work/myarm-poky-linux-gnueabi
and
build/tmp/work/armv7a-poky-linux-gnueabi
And the missing ipk's are in the armv7a tree!
I've also noticed that the armv7a "target" definition is inside
tune-cortexa8.inc...
So...what am I doing wrong?
Thank you.
best regards
Salvo
[-- Attachment #2: Type: text/html, Size: 881 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Poky issues with tune-cortexa8 and a custom machine
2011-04-06 15:53 Poky issues with tune-cortexa8 and a custom machine Salvatore Fassi
@ 2011-04-07 19:53 ` Darren Hart
2011-04-08 9:53 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Darren Hart @ 2011-04-07 19:53 UTC (permalink / raw)
To: Salvatore Fassi; +Cc: poky
On 04/06/2011 08:53 AM, Salvatore Fassi wrote:
> Hi all,
>
> I've created a custom machine to match my hardware.
> This hw is arm based with cortexa8 architecture, so my machine file
> (myarm.conf) uses:
>
> require conf/machine/include/tune-cortexa8.inc
>
> For the image I use:
>
> bitbake poky-image-minimal
>
> This compiles everything fine but when it starts composing the rootfs by
> installing ipk's I get errors about some missing packages.
Does this also happen if you use rpms instead of ipks? (Set in
local.conf). Can you post the error you receive?
> I've found that the error is due to the fact that poky is compiling two
> work trees:
>
> build/tmp/work/myarm-poky-linux-gnueabi
>
> and
>
> build/tmp/work/armv7a-poky-linux-gnueabi
This is normal, there are machine packages and architecture packages,
and shouldn't cause a problem with installation.
--
Darren
>
> And the missing ipk's are in the armv7a tree!
>
> I've also noticed that the armv7a "target" definition is inside
> tune-cortexa8.inc...
> So...what am I doing wrong?
>
> Thank you.
>
> best regards
>
> Salvo
>
>
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Poky issues with tune-cortexa8 and a custom machine
2011-04-07 19:53 ` Darren Hart
@ 2011-04-08 9:53 ` Paul Eggleton
2011-04-08 15:53 ` Salvatore Fassi
0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2011-04-08 9:53 UTC (permalink / raw)
To: poky
On Thursday 07 April 2011 20:53:41 Darren Hart wrote:
> On 04/06/2011 08:53 AM, Salvatore Fassi wrote:
> > I've created a custom machine to match my hardware.
> > This hw is arm based with cortexa8 architecture, so my machine file
> > (myarm.conf) uses:
> >
> > require conf/machine/include/tune-cortexa8.inc
> >
> > For the image I use:
> >
> > bitbake poky-image-minimal
> >
> > This compiles everything fine but when it starts composing the rootfs by
> > installing ipk's I get errors about some missing packages.
>
> Does this also happen if you use rpms instead of ipks? (Set in
> local.conf).
I think there was a patch from Joshua post-1.0 to fix a bug that sounds like
this one (rev e235357841311a4681c747cebcc5e51940aec606).
We should probably consider this for a point release.
Cheers,
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Poky issues with tune-cortexa8 and a custom machine
2011-04-08 9:53 ` Paul Eggleton
@ 2011-04-08 15:53 ` Salvatore Fassi
0 siblings, 0 replies; 4+ messages in thread
From: Salvatore Fassi @ 2011-04-08 15:53 UTC (permalink / raw)
To: Paul Eggleton; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]
Hi all,
I finally fixed this issue by adding:
PACKAGE_ARCHS += "armv7a"
to tune-cortexa8.inc
In fact the armv7a arch was missing from the PACKAGE_ARCHS variable so it
was not "seen" when composing the final image.
Do you think it could be a valid patch?
For me...it works!
Salvo
On Fri, Apr 8, 2011 at 11:53 AM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:
> On Thursday 07 April 2011 20:53:41 Darren Hart wrote:
> > On 04/06/2011 08:53 AM, Salvatore Fassi wrote:
> > > I've created a custom machine to match my hardware.
> > > This hw is arm based with cortexa8 architecture, so my machine file
> > > (myarm.conf) uses:
> > >
> > > require conf/machine/include/tune-cortexa8.inc
> > >
> > > For the image I use:
> > >
> > > bitbake poky-image-minimal
> > >
> > > This compiles everything fine but when it starts composing the rootfs
> by
> > > installing ipk's I get errors about some missing packages.
> >
> > Does this also happen if you use rpms instead of ipks? (Set in
> > local.conf).
>
> I think there was a patch from Joshua post-1.0 to fix a bug that sounds
> like
> this one (rev e235357841311a4681c747cebcc5e51940aec606).
>
> We should probably consider this for a point release.
>
> Cheers,
> Paul
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
[-- Attachment #2: Type: text/html, Size: 2111 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-08 15:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 15:53 Poky issues with tune-cortexa8 and a custom machine Salvatore Fassi
2011-04-07 19:53 ` Darren Hart
2011-04-08 9:53 ` Paul Eggleton
2011-04-08 15:53 ` Salvatore Fassi
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.