[oe] Building for i486 based non-FPU device

Marco Cavallini koansoftware at gmail.com
Tue Jan 27 08:04:03 UTC 2009


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






More information about the Openembedded-devel mailing list