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

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Fri Aug 5 00:24:20 PDT 2016


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   
      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.
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160805/dda29aac/attachment.html>


More information about the yocto mailing list