Building for i486 based non-FPU device
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
Quoted 1 line · Marco Cavallini
DISTRO = "angstrom-2008.1"
It might be worth trying with "minimal" to start with, just to eliminate any angstrom-related uncertainties.
Quoted 4 lines
i486-generic uses
TARGET_ARCH= "i486" : build brokenNo 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.
Phil Blundell ha scritto:
Quoted 5 lines · Marco Cavallini
Quoted 1 line
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)
Quoted 9 lines
Quoted 4 lines
i486-generic uses
TARGET_ARCH= "i486" : build brokenNo 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
Quoted 5 lines · Phil Blundell
Quoted 1 line · Marco Cavallini
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
Koen Kooi ha scritto:
Quoted 10 lines · Phil Blundell
Quoted 5 lines · Marco Cavallini
Quoted 1 line
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
Quoted 8 lines · Koen Kooi
Quoted 5 lines · Phil Blundell
Quoted 1 line · Marco Cavallini
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
Quoted 22 lines · Marco Cavallini
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 buildDISTRO = "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 usesTARGET_ARCH= "i586" : ok but for 586
x86 usesTARGET_ARCH= "i586" : build broken
qemux86 usesTARGET_ARCH= "i586" : not used
i486-generic usesTARGET_ARCH= "i486" : build broken
Quoted 6 lines
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
Koen Kooi ha scritto:
Quoted 30 lines · Marco Cavallini
Quoted 22 lines
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 buildDISTRO = "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 usesTARGET_ARCH= "i586" : ok but for 586
x86 usesTARGET_ARCH= "i586" : build broken
qemux86 usesTARGET_ARCH= "i586" : not used
i486-generic usesTARGET_ARCH= "i486" : build brokenQuoted 6 lines
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.
Quoted 6 lines
'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