[yocto] Antwort: Re: How to set the sysroot toolchain to hard float

Khem Raj raj.khem at gmail.com
Fri Aug 5 00:27:42 PDT 2016



On 8/5/16 12:24 AM, S.Jaritz at esa-grimma.de wrote:
> hej
> 
> @find out:
> transfer a build package into the evalboard and try to install it. I am
> using deb packages. dpkg gives me an error  because of architecture.
> 
> @print configuration output:
> ###########
> Build Configuration:
> BB_VERSION        = "1.30.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "universal"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "sama5d3xek"
> DISTRO            = "poky-atmel"
> DISTRO_VERSION    = "2.1.1"
> TUNE_FEATURES     = "arm armv7a vfp thumb            callconvention-hard

here it is marking that your build is using hard-float. are you running
image from same build on the target ? or is it some prebuilt image that
you are trying to add on to ?

>            cortexa5"
> TARGET_FPU        = "hard"
> meta              
> meta-poky        
> meta-yocto-bsp    = "krogoth:f5da2a5913319ad6ac2141438ba1aa17576326ab"
> meta-atmel        = "krogoth:784a6a7fe94e6939325f60f4dd2cc24987ff090d"
> meta-skeleton     = "krogoth:f5da2a5913319ad6ac2141438ba1aa17576326ab"
> meta-oe          
> meta-networking  
> meta-python       = "krogoth:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
> ###########
> 
> @TOOLCHAIN_OPTIONS: Where these are set in custom layers(like meta-atmel)?
> 
> regards
> 
> Stefan Jaritz
> 
> ------------------------------------------------------------
> ESA Elektroschaltanlagen Grimma GmbH
> Broner Ring 30
> 04668 Grimma
> Telefon: +49 3437 9211 176
> Telefax: +49 3437 9211 26
> E-Mail: s.jaritz at esa-grimma.de
> Internet: www.esa-grimma.de
> 
> 
> Geschäftsführer:
> Dipl.-Ing. Jörg Gaitzsch
> Jörg Reinker
> 
> Sitz der Gesellschaft: Grimma
> Ust.-ID: DE 141784437
> Amtsgericht: Leipzig, HRB 5159
> Steuernummer: 238/108/00755
> 
> 
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und löschen Sie diese
> Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> Mail
> ist nicht gestattet.
> 
> This e-mail may contain confidential and/or privileged information. If
> you are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and destroy this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly
> forbidden.
> 
> 
> 
> Von:        Khem Raj <raj.khem at gmail.com>
> An:        S.Jaritz at esa-grimma.de, Yocto Project <yocto at yoctoproject.org>
> Datum:        05.08.2016 09:16
> Betreff:        Re: [yocto] How to set the sysroot toolchain to hard float
> ------------------------------------------------------------------------
> 
> 
> 
> 
> 
> On 8/5/16 12:04 AM, S.Jaritz at esa-grimma.de wrote:
>> Hej
>>
>> I am building for the Atmel Evalbaord SAMA5D3x a Yocto Image. It works
>> fine, but sysroot toolchain is set to soft float instead of hard float.
>> How can I set the sysroot toolchain to hard float?
>>
>> My actual configuration:
>> 1.) use meta-atmel layer
>> 2.) in /build/conf/layer.conf -> MACHINE ??= "sama5d3xek"
>>
>> @meta-atmel:
>> /conf/machine/sama5d3xek.conf includes sama5d3.inc
>> in this file:
>> SOC_FAMILY = "sama5:sama5d3"
>> DEFAULTTUNE = "cortexa5thf"
>>
>> I am not understanding why for the sysroot the default tune is not used.
>> Any ideas are welcome.
> 
> How did you find that out ? can you send your build configuration output
> that bitbake prints when starting the build ?
> secondly, TOOLCHAIN_OPTIONS is what decides this ABI
> so when you use CC and CXX and friends, the right thing happens since it
> will be appending TOOLCHAIN_OPTIONS to these vars. but if you use bare
> cross compiler that will default to soft-float
> 
>>
>>
>> Regards!
>>
>> Stefan Jaritz
>> ------------------------------------------------------------
>> ESA Elektroschaltanlagen Grimma GmbH
>> Broner Ring 30
>> 04668 Grimma
>> Telefon: +49 3437 9211 176
>> Telefax: +49 3437 9211 26
>> E-Mail: s.jaritz at esa-grimma.de
>> Internet: www.esa-grimma.de
>>
>>
>> Geschäftsführer:
>> Dipl.-Ing. Jörg Gaitzsch
>> Jörg Reinker
>>
>> Sitz der Gesellschaft: Grimma
>> Ust.-ID: DE 141784437
>> Amtsgericht: Leipzig, HRB 5159
>> Steuernummer: 238/108/00755
>>
>>
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen.
>> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
>> erhalten
>> haben, informieren Sie bitte sofort den Absender und löschen Sie diese
>> Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
>> Mail
>> ist nicht gestattet.
>>
>> This e-mail may contain confidential and/or privileged information. If
>> you are
>> not the intended recipient (or have received this e-mail in error) please
>> notify the sender immediately and destroy this e-mail. Any unauthorized
>> copying, disclosure or distribution of the material in this e-mail is
>> strictly
>> forbidden.
>>
>>
> 



More information about the yocto mailing list