All of lore.kernel.org
 help / color / mirror / Atom feed
* Building for i486 based non-FPU device
@ 2009-01-26  9:11 Marco Cavallini
  2009-01-26 10:49 ` Phil Blundell
  2009-01-26 20:08 ` Koen Kooi
  0 siblings, 2 replies; 8+ messages in thread
From: Marco Cavallini @ 2009-01-26  9:11 UTC (permalink / raw)
  To: openembedded-devel

Hello,
This discussion was in thread "FOSDEM OE stand"
I'm trying to build for a machine I'd like to let at OE stand.
http://www.koala.it/it/nanopc.htm
It's a i486 based non-FPU device (Vortex86sx), so I tried to build

DISTRO = "angstrom-2008.1"

I created my new machine copying it from
 conf/machine/i586-generic.conf
and changing the following settings:
 TARGET_ARCH = "i486"
 PACKAGE_EXTRA_ARCHS = "x86"
 PREFERRED_VERSION_linux = "2.6.26"
(I also changed 2.6.26 recipe)

I found several problems:
i586-generic uses TARGET_ARCH = "i586" : ok but for 586
x86          uses TARGET_ARCH = "i586" : build broken
qemux86      uses TARGET_ARCH = "i586" : not used
i486-generic uses TARGET_ARCH = "i486" : build broken

No one of the previous tested build give a useful result,
what could I change to get a running system?

Maybe do I have to specify TARGET_CC_ARCH = "-march=i486" ?
Would be better to switch this discussion to IRC ?
Any hint will be greatly appreciated.
TIA
--
Marco Cavallini



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Building for i486 based non-FPU device
  2009-01-26  9:11 Building for i486 based non-FPU device Marco Cavallini
@ 2009-01-26 10:49 ` Phil Blundell
  2009-01-26 11:17   ` Marco Cavallini
  2009-01-26 11:25   ` Koen Kooi
  2009-01-26 20:08 ` Koen Kooi
  1 sibling, 2 replies; 8+ messages in thread
From: Phil Blundell @ 2009-01-26 10:49 UTC (permalink / raw)
  To: openembedded-devel

On Mon, 2009-01-26 at 10:11 +0100, Marco Cavallini wrote:
> DISTRO = "angstrom-2008.1"

It might be worth trying with "minimal" to start with, just to eliminate
any angstrom-related uncertainties.

> i486-generic uses TARGET_ARCH = "i486" : build broken
> 
> No one of the previous tested build give a useful result,
> what could I change to get a running system?

It's hard to say what you need to change without knowing what exactly is
going wrong.  Can you give more details of the breakage that you
encountered?  What image were you trying to build, what package(s)
failed, and what were the errors?

p.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Building for i486 based non-FPU device
  2009-01-26 10:49 ` Phil Blundell
@ 2009-01-26 11:17   ` Marco Cavallini
  2009-01-26 11:25   ` Koen Kooi
  1 sibling, 0 replies; 8+ messages in thread
From: Marco Cavallini @ 2009-01-26 11:17 UTC (permalink / raw)
  To: openembedded-devel

Phil Blundell ha scritto:
> On Mon, 2009-01-26 at 10:11 +0100, Marco Cavallini wrote:
>> DISTRO = "angstrom-2008.1"
> 
> It might be worth trying with "minimal" to start with, just to eliminate
> any angstrom-related uncertainties.

Ok, thanks
I tried with bitbake minimal-image too (see pastebin)

>> i486-generic uses TARGET_ARCH = "i486" : build broken
>>
>> No one of the previous tested build give a useful result,
>> what could I change to get a running system?
> 
> It's hard to say what you need to change without knowing what exactly is
> going wrong.  Can you give more details of the breakage that you
> encountered?  What image were you trying to build, what package(s)
> failed, and what were the errors?

http://debian.pastebin.com/m57df2ac9

TIA
--
Marco Cavallini



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Building for i486 based non-FPU device
  2009-01-26 10:49 ` Phil Blundell
  2009-01-26 11:17   ` Marco Cavallini
@ 2009-01-26 11:25   ` Koen Kooi
  2009-01-26 13:11     ` Marco Cavallini
  2009-01-26 13:41     ` Philip Balister
  1 sibling, 2 replies; 8+ messages in thread
From: Koen Kooi @ 2009-01-26 11:25 UTC (permalink / raw)
  To: openembedded-devel

On 26-01-09 11:49, Phil Blundell wrote:
> On Mon, 2009-01-26 at 10:11 +0100, Marco Cavallini wrote:
>> DISTRO = "angstrom-2008.1"
>
> It might be worth trying with "minimal" to start with, just to eliminate
> any angstrom-related uncertainties.

Quite the reverse, minimal is perputually broken in OE, while angstrom 
has working x86 targets. Not i486sx targets, but it's straightforward to 
add such a target.

regards,

Koen




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Building for i486 based non-FPU device
  2009-01-26 11:25   ` Koen Kooi
@ 2009-01-26 13:11     ` Marco Cavallini
  2009-01-26 13:41     ` Philip Balister
  1 sibling, 0 replies; 8+ messages in thread
From: Marco Cavallini @ 2009-01-26 13:11 UTC (permalink / raw)
  To: openembedded-devel

Koen Kooi ha scritto:
> On 26-01-09 11:49, Phil Blundell wrote:
>> On Mon, 2009-01-26 at 10:11 +0100, Marco Cavallini wrote:
>>> DISTRO = "angstrom-2008.1"
>>
>> It might be worth trying with "minimal" to start with, just to eliminate
>> any angstrom-related uncertainties.
> 
> Quite the reverse, minimal is perputually broken in OE, while angstrom
> has working x86 targets. Not i486sx targets, but it's straightforward to
> add such a target.

I also thought it was a straightforward task, but I was wrong.
What's missing in what I did until now?

--
Marco Cavallini



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Building for i486 based non-FPU device
  2009-01-26 11:25   ` Koen Kooi
  2009-01-26 13:11     ` Marco Cavallini
@ 2009-01-26 13:41     ` Philip Balister
  1 sibling, 0 replies; 8+ messages in thread
From: Philip Balister @ 2009-01-26 13:41 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

Koen Kooi wrote:
> On 26-01-09 11:49, Phil Blundell wrote:
>> On Mon, 2009-01-26 at 10:11 +0100, Marco Cavallini wrote:
>>> DISTRO = "angstrom-2008.1"
>>
>> It might be worth trying with "minimal" to start with, just to eliminate
>> any angstrom-related uncertainties.
> 
> Quite the reverse, minimal is perputually broken in OE, while angstrom 
> has working x86 targets. Not i486sx targets, but it's straightforward to 
> add such a target.

One topic for a bug squashing weekend could be to de-break minimal.

On a related note, it seems like fakeroot is un-fetchable unless you get 
the copy from the Angstrom source mirror. Does this seem correct?

Philip

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Building for i486 based non-FPU device
  2009-01-26  9:11 Building for i486 based non-FPU device Marco Cavallini
  2009-01-26 10:49 ` Phil Blundell
@ 2009-01-26 20:08 ` Koen Kooi
  2009-01-27  8:04   ` Marco Cavallini
  1 sibling, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2009-01-26 20:08 UTC (permalink / raw)
  To: openembedded-devel

On 26-01-09 10:11, Marco Cavallini wrote:
> Hello,
> This discussion was in thread "FOSDEM OE stand"
> I'm trying to build for a machine I'd like to let at OE stand.
> http://www.koala.it/it/nanopc.htm
> It's a i486 based non-FPU device (Vortex86sx), so I tried to build
>
> DISTRO = "angstrom-2008.1"
>
> I created my new machine copying it from
>   conf/machine/i586-generic.conf
> and changing the following settings:
>   TARGET_ARCH = "i486"
>   PACKAGE_EXTRA_ARCHS = "x86"
>   PREFERRED_VERSION_linux = "2.6.26"
> (I also changed 2.6.26 recipe)
>
> I found several problems:
> i586-generic uses TARGET_ARCH = "i586" : ok but for 586
> x86          uses TARGET_ARCH = "i586" : build broken
> qemux86      uses TARGET_ARCH = "i586" : not used
> i486-generic uses TARGET_ARCH = "i486" : build broken
>
> No one of the previous tested build give a useful result,
> what could I change to get a running system?
>
> Maybe do I have to specify TARGET_CC_ARCH = "-march=i486" ?
> Would be better to switch this discussion to IRC ?
> Any hint will be greatly appreciated.

'MACHINE=vortex86sx bitbake glibc' works for me with angstrom. It 
doesn't use softfloat yes, as gccs configure script doesn't like 
--with-float=soft, so we'll problably end up messing with TARGET_CC_ARCH.

regards,

Koen




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Building for i486 based non-FPU device
  2009-01-26 20:08 ` Koen Kooi
@ 2009-01-27  8:04   ` Marco Cavallini
  0 siblings, 0 replies; 8+ messages in thread
From: Marco Cavallini @ 2009-01-27  8:04 UTC (permalink / raw)
  To: openembedded-devel

Koen Kooi ha scritto:
> On 26-01-09 10:11, Marco Cavallini wrote:
>> Hello,
>> This discussion was in thread "FOSDEM OE stand"
>> I'm trying to build for a machine I'd like to let at OE stand.
>> http://www.koala.it/it/nanopc.htm
>> It's a i486 based non-FPU device (Vortex86sx), so I tried to build
>>
>> DISTRO = "angstrom-2008.1"
>>
>> I created my new machine copying it from
>>   conf/machine/i586-generic.conf
>> and changing the following settings:
>>   TARGET_ARCH = "i486"
>>   PACKAGE_EXTRA_ARCHS = "x86"
>>   PREFERRED_VERSION_linux = "2.6.26"
>> (I also changed 2.6.26 recipe)
>>
>> I found several problems:
>> i586-generic uses TARGET_ARCH = "i586" : ok but for 586
>> x86          uses TARGET_ARCH = "i586" : build broken
>> qemux86      uses TARGET_ARCH = "i586" : not used
>> i486-generic uses TARGET_ARCH = "i486" : build broken
>>
>> No one of the previous tested build give a useful result,
>> what could I change to get a running system?
>>
>> Maybe do I have to specify TARGET_CC_ARCH = "-march=i486" ?
>> Would be better to switch this discussion to IRC ?
>> Any hint will be greatly appreciated.
> 
> 'MACHINE=vortex86sx bitbake glibc' works for me with angstrom. It
> doesn't use softfloat yes, as gccs configure script doesn't like
> --with-float=soft, so we'll problably end up messing with TARGET_CC_ARCH.
> 
> regards,
> 

Hi Koen,
built successfully minimal-image and x11-image with MACHINE=vortex86sx
I'm testing it on target board.

Thank you
--
Marco Cavallini





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-27  8:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26  9:11 Building for i486 based non-FPU device Marco Cavallini
2009-01-26 10:49 ` Phil Blundell
2009-01-26 11:17   ` Marco Cavallini
2009-01-26 11:25   ` Koen Kooi
2009-01-26 13:11     ` Marco Cavallini
2009-01-26 13:41     ` Philip Balister
2009-01-26 20:08 ` Koen Kooi
2009-01-27  8:04   ` Marco Cavallini

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.