All of lore.kernel.org
 help / color / mirror / Atom feed
* How to set the sysroot toolchain to hard float
@ 2016-08-05  7:04 S.Jaritz
  2016-08-05  7:16 ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: S.Jaritz @ 2016-08-05  7:04 UTC (permalink / raw)
  To: Yocto Project

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

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.


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

[-- Attachment #2: Type: text/html, Size: 2491 bytes --]

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

* Re: How to set the sysroot toolchain to hard float
  2016-08-05  7:04 How to set the sysroot toolchain to hard float S.Jaritz
@ 2016-08-05  7:16 ` Khem Raj
  2016-08-05  7:24   ` Antwort: " S.Jaritz
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2016-08-05  7:16 UTC (permalink / raw)
  To: S.Jaritz, Yocto Project



On 8/5/16 12:04 AM, S.Jaritz@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@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.
> 
> 


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

* Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-05  7:16 ` Khem Raj
@ 2016-08-05  7:24   ` S.Jaritz
  2016-08-05  7:27     ` Khem Raj
  2016-08-06  7:20     ` robert.berger@gmane
  0 siblings, 2 replies; 10+ messages in thread
From: S.Jaritz @ 2016-08-05  7:24 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto Project

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

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@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@gmail.com>
An:     S.Jaritz@esa-grimma.de, Yocto Project <yocto@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@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@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.
> 
> 


[-- Attachment #2: Type: text/html, Size: 7665 bytes --]

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

* Re: Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-05  7:24   ` Antwort: " S.Jaritz
@ 2016-08-05  7:27     ` Khem Raj
  2016-08-05  7:52       ` Antwort: " S.Jaritz
  2016-08-06  7:20     ` robert.berger@gmane
  1 sibling, 1 reply; 10+ messages in thread
From: Khem Raj @ 2016-08-05  7:27 UTC (permalink / raw)
  To: S.Jaritz; +Cc: Yocto Project



On 8/5/16 12:24 AM, S.Jaritz@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@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@gmail.com>
> An:        S.Jaritz@esa-grimma.de, Yocto Project <yocto@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@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@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.
>>
>>
> 


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

* Antwort: Re: Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-05  7:27     ` Khem Raj
@ 2016-08-05  7:52       ` S.Jaritz
  2016-08-05  8:00         ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: S.Jaritz @ 2016-08-05  7:52 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto Project

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

I read the printings like you and I am confused.
let's take valgrind as example:
1.) the rootfs build goes to:
/poky/build/tmp/work/cortexa5hf-vfp-poky-linux-gnueabi/valgrind/3.11.0-r0/deploy-debs/cortexa5hf-vfp/valgrind_3.11.0-r0_armhf.deb

the extension of the deb package say it its hard float.

2.) I transfer it to my device

3.) console at the evalboard
#############
root@sama5d3xek:/tmp# dpkg -r valgrind
(Reading database ... 14780 files and directories currently installed.)
Removing valgrind:armhf (3.11.0-r0) ...
root@sama5d3xek:/tmp# dpkg -i valgrind_3.11.0-r0_armhf.deb
dpkg: error processing archive valgrind_3.11.0-r0_armhf.deb (--install):
 package architecture (armhf) does not match system (armel)
Errors were encountered while processing:
 valgrind_3.11.0-r0_armhf.deb
root@sama5d3xek:/tmp#
#############

I got the information from here(hope it works):
https://books.google.de/books?id=yNi6BwAAQBAJ&pg=PA148&lpg=PA148&dq=yocto+set+floating+point&source=bl&ots=HXh65nWpHc&sig=4UElzv4dz70xECsqw5lnCYuUZiI&hl=de&sa=X&ved=0ahUKEwjOhrib2KnOAhVB1RQKHbXkAPAQ6AEIQDAE#v=onepage&q=yocto%20set%20floating%20point&f=false

Maybe the deb generation has a bug?


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@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@gmail.com>
An:     S.Jaritz@esa-grimma.de
Kopie:  Yocto Project <yocto@yoctoproject.org>
Datum:  05.08.2016 09:27
Betreff:        Re: Antwort: Re: [yocto] How to set the sysroot toolchain 
to hard float





On 8/5/16 12:24 AM, S.Jaritz@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@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@gmail.com>
> An:        S.Jaritz@esa-grimma.de, Yocto Project 
<yocto@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@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@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.
>>
>>
> 


[-- Attachment #2: Type: text/html, Size: 12129 bytes --]

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

* Re: Antwort: Re: Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-05  7:52       ` Antwort: " S.Jaritz
@ 2016-08-05  8:00         ` Khem Raj
  2016-08-05  8:14           ` Antwort: " S.Jaritz
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2016-08-05  8:00 UTC (permalink / raw)
  To: S.Jaritz; +Cc: Yocto Project



On 8/5/16 12:52 AM, S.Jaritz@esa-grimma.de wrote:
> I read the printings like you and I am confused.
> let's take valgrind as example:
> 1.) the rootfs build goes to:
> /poky/build/tmp/work/cortexa5hf-vfp-poky-linux-gnueabi/valgrind/3.11.0-r0/deploy-debs/cortexa5hf-vfp/valgrind_3.11.0-r0_armhf.deb
> 
> 
> the extension of the deb package say it its hard float.
> 
> 2.) I transfer it to my device
> 
> 3.) console at the evalboard
> #############
> root@sama5d3xek:/tmp# dpkg -r valgrind
> (Reading database ... 14780 files and directories currently installed.)
> Removing valgrind:armhf (3.11.0-r0) ...
> root@sama5d3xek:/tmp# dpkg -i valgrind_3.11.0-r0_armhf.deb
> dpkg: error processing archive valgrind_3.11.0-r0_armhf.deb (--install):
>  package architecture (armhf) does not match system (armel)

can you force it using dpkg -i --force-architecture and see if the
installed package works ? if it does then its the dpkg package arches
which aren't correct.

> Errors were encountered while processing:
>  valgrind_3.11.0-r0_armhf.deb
> root@sama5d3xek:/tmp#
> #############
> 
> I got the information from here(hope it works):
> https://books.google.de/books?id=yNi6BwAAQBAJ&pg=PA148&lpg=PA148&dq=yocto+set+floating+point&source=bl&ots=HXh65nWpHc&sig=4UElzv4dz70xECsqw5lnCYuUZiI&hl=de&sa=X&ved=0ahUKEwjOhrib2KnOAhVB1RQKHbXkAPAQ6AEIQDAE#v=onepage&q=yocto%20set%20floating%20point&f=false
> 
> 
> Maybe the deb generation has a bug?
> 
> 
> 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@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@gmail.com>
> An:        S.Jaritz@esa-grimma.de
> Kopie:        Yocto Project <yocto@yoctoproject.org>
> Datum:        05.08.2016 09:27
> Betreff:        Re: Antwort: Re: [yocto] How to set the sysroot
> toolchain to hard float
> ------------------------------------------------------------------------
> 
> 
> 
> 
> 
> On 8/5/16 12:24 AM, S.Jaritz@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@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@gmail.com>
>> An:        S.Jaritz@esa-grimma.de, Yocto Project <yocto@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@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@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.
>>>
>>>
>>
> 


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

* Antwort: Re: Antwort: Re: Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-05  8:00         ` Khem Raj
@ 2016-08-05  8:14           ` S.Jaritz
  0 siblings, 0 replies; 10+ messages in thread
From: S.Jaritz @ 2016-08-05  8:14 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto Project

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

when forcing dpkg it is installed and it works.

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@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@gmail.com>
An:     S.Jaritz@esa-grimma.de
Kopie:  Yocto Project <yocto@yoctoproject.org>
Datum:  05.08.2016 10:00
Betreff:        Re: Antwort: Re: Antwort: Re: [yocto] How to set the 
sysroot toolchain to hard float





On 8/5/16 12:52 AM, S.Jaritz@esa-grimma.de wrote:
> I read the printings like you and I am confused.
> let's take valgrind as example:
> 1.) the rootfs build goes to:
> 
/poky/build/tmp/work/cortexa5hf-vfp-poky-linux-gnueabi/valgrind/3.11.0-r0/deploy-debs/cortexa5hf-vfp/valgrind_3.11.0-r0_armhf.deb
> 
> 
> the extension of the deb package say it its hard float.
> 
> 2.) I transfer it to my device
> 
> 3.) console at the evalboard
> #############
> root@sama5d3xek:/tmp# dpkg -r valgrind
> (Reading database ... 14780 files and directories currently installed.)
> Removing valgrind:armhf (3.11.0-r0) ...
> root@sama5d3xek:/tmp# dpkg -i valgrind_3.11.0-r0_armhf.deb
> dpkg: error processing archive valgrind_3.11.0-r0_armhf.deb (--install):
>  package architecture (armhf) does not match system (armel)

can you force it using dpkg -i --force-architecture and see if the
installed package works ? if it does then its the dpkg package arches
which aren't correct.

> Errors were encountered while processing:
>  valgrind_3.11.0-r0_armhf.deb
> root@sama5d3xek:/tmp#
> #############
> 
> I got the information from here(hope it works):
> 
https://books.google.de/books?id=yNi6BwAAQBAJ&pg=PA148&lpg=PA148&dq=yocto+set+floating+point&source=bl&ots=HXh65nWpHc&sig=4UElzv4dz70xECsqw5lnCYuUZiI&hl=de&sa=X&ved=0ahUKEwjOhrib2KnOAhVB1RQKHbXkAPAQ6AEIQDAE#v=onepage&q=yocto%20set%20floating%20point&f=false

> 
> 
> Maybe the deb generation has a bug?
> 
> 
> 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@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@gmail.com>
> An:        S.Jaritz@esa-grimma.de
> Kopie:        Yocto Project <yocto@yoctoproject.org>
> Datum:        05.08.2016 09:27
> Betreff:        Re: Antwort: Re: [yocto] How to set the sysroot
> toolchain to hard float
> ------------------------------------------------------------------------
> 
> 
> 
> 
> 
> On 8/5/16 12:24 AM, S.Jaritz@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@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@gmail.com>
>> An:        S.Jaritz@esa-grimma.de, Yocto Project 
<yocto@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@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@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.
>>>
>>>
>>
> 


[-- Attachment #2: Type: text/html, Size: 14701 bytes --]

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

* Re: Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-05  7:24   ` Antwort: " S.Jaritz
  2016-08-05  7:27     ` Khem Raj
@ 2016-08-06  7:20     ` robert.berger@gmane
  2016-08-08  6:46       ` Antwort: " S.Jaritz
  2016-08-08 14:52       ` [fixed] " S.Jaritz
  1 sibling, 2 replies; 10+ messages in thread
From: robert.berger@gmane @ 2016-08-06  7:20 UTC (permalink / raw)
  To: yocto; +Cc: Yocto Project, Khem Raj

Hi,

On 2016-08-05 10:24, S.Jaritz@esa-grimma.de wrote:
>
> @TOOLCHAIN_OPTIONS: Where these are set in custom layers(like meta-atmel)?
>

If you ask me I would say here [1]:

DEFAULTTUNE = "cortexa5thf"

Here [2] are the available HF options:

# HF Tunes
AVAILTUNES += "cortexa5hf cortexa5thf cortexa5hf-neon cortexa5thf-neon"

[1] 
https://github.com/linux4sam/meta-atmel/blob/master/conf/machine/include/sama5d3.inc
[2] 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/machine/include/tune-cortexa5.inc

Regards,

Robert




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

* Antwort: Re: Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-06  7:20     ` robert.berger@gmane
@ 2016-08-08  6:46       ` S.Jaritz
  2016-08-08 14:52       ` [fixed] " S.Jaritz
  1 sibling, 0 replies; 10+ messages in thread
From: S.Jaritz @ 2016-08-08  6:46 UTC (permalink / raw)
  To: yocto; +Cc: robert.berger@gmane

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

Hej ho

Thank you. I already know the files. My question was targeting the way how 
to set the tune option manually.

Maybee something is missed up by the layers. My bblayers.conf looks like:
#########
# POKY_BBLAYERS_CONF_VERSION is increased each time 
build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
myTC/poky/meta \
myTC/poky/meta-poky \
myTC/poky/meta-yocto-bsp \
myTC/poky/meta-atmel \
myTC/poky/meta-skeleton \
myTC/poky/meta-openembedded/meta-oe \
myTC/poky/meta-openembedded/meta-networking \
myTC/poky/meta-openembedded/meta-python \
myTC/poky/meta-mylayer \
"
#########

The priorities are set that way:

BBFILE_PRIORITY_atmel = "10"
BBFILE_PRIORITY_mylayer = "20"

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@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:    "robert.berger@gmane" <gmane@reliableembeddedsystems.com>
An:     yocto@yoctoproject.org
Kopie:  public-yocto-EtnWKYl6rD/WsZ/bQMPhNw 
<public-yocto-EtnWKYl6rD/WsZ/bQMPhNw@plane.gmane.org>, Khem Raj 
<public-raj.khem-Re5JQEeQqe8AvxtiuMwx3w@plane.gmane.org>
Datum:  06.08.2016 09:23
Betreff:        Re: [yocto] Antwort: Re: How to set the sysroot toolchain 
to hard float
Gesendet von:   yocto-bounces@yoctoproject.org



Hi,

On 2016-08-05 10:24, S.Jaritz@esa-grimma.de wrote:
>
> @TOOLCHAIN_OPTIONS: Where these are set in custom layers(like 
meta-atmel)?
>

If you ask me I would say here [1]:

DEFAULTTUNE = "cortexa5thf"

Here [2] are the available HF options:

# HF Tunes
AVAILTUNES += "cortexa5hf cortexa5thf cortexa5hf-neon cortexa5thf-neon"

[1] 
https://github.com/linux4sam/meta-atmel/blob/master/conf/machine/include/sama5d3.inc

[2] 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/machine/include/tune-cortexa5.inc


Regards,

Robert


-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Type: text/html, Size: 5946 bytes --]

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

* [fixed] Antwort: Re: Antwort: Re: How to set the sysroot toolchain to hard float
  2016-08-06  7:20     ` robert.berger@gmane
  2016-08-08  6:46       ` Antwort: " S.Jaritz
@ 2016-08-08 14:52       ` S.Jaritz
  1 sibling, 0 replies; 10+ messages in thread
From: S.Jaritz @ 2016-08-08 14:52 UTC (permalink / raw)
  To: yocto

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

The problem was fixed. Updating meta-atmel to the current version fixes 
the dpkg error by appending the architecture parameter to the dkpg recipe 
(
https://github.com/linux4sam/meta-atmel/commit/63d4287f50b89496a4c72e3b5845e59c55887451
).

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@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:    "robert.berger@gmane" <gmane@reliableembeddedsystems.com>
An:     yocto@yoctoproject.org
Kopie:  public-yocto-EtnWKYl6rD/WsZ/bQMPhNw 
<public-yocto-EtnWKYl6rD/WsZ/bQMPhNw@plane.gmane.org>, Khem Raj 
<public-raj.khem-Re5JQEeQqe8AvxtiuMwx3w@plane.gmane.org>
Datum:  06.08.2016 09:23
Betreff:        Re: [yocto] Antwort: Re: How to set the sysroot toolchain 
to hard float
Gesendet von:   yocto-bounces@yoctoproject.org



Hi,

On 2016-08-05 10:24, S.Jaritz@esa-grimma.de wrote:
>
> @TOOLCHAIN_OPTIONS: Where these are set in custom layers(like 
meta-atmel)?
>

If you ask me I would say here [1]:

DEFAULTTUNE = "cortexa5thf"

Here [2] are the available HF options:

# HF Tunes
AVAILTUNES += "cortexa5hf cortexa5thf cortexa5hf-neon cortexa5thf-neon"

[1] 
https://github.com/linux4sam/meta-atmel/blob/master/conf/machine/include/sama5d3.inc

[2] 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/machine/include/tune-cortexa5.inc


Regards,

Robert


-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Type: text/html, Size: 4523 bytes --]

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

end of thread, other threads:[~2016-08-08 14:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05  7:04 How to set the sysroot toolchain to hard float S.Jaritz
2016-08-05  7:16 ` Khem Raj
2016-08-05  7:24   ` Antwort: " S.Jaritz
2016-08-05  7:27     ` Khem Raj
2016-08-05  7:52       ` Antwort: " S.Jaritz
2016-08-05  8:00         ` Khem Raj
2016-08-05  8:14           ` Antwort: " S.Jaritz
2016-08-06  7:20     ` robert.berger@gmane
2016-08-08  6:46       ` Antwort: " S.Jaritz
2016-08-08 14:52       ` [fixed] " S.Jaritz

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.