[yocto] Settings for HardFP and some general things

Nicolas Dechesne nicolas.dechesne at linaro.org
Mon Jun 3 00:50:51 PDT 2013


On Sat, Jun 1, 2013 at 11:01 AM, Florian Augustin <florianaug at gmail.com>wrote:

> Hello experts :)
>
> I'm currently trying to set up Yocto poky for a Wandboard-Solo with i.mx6
> solo.
> My questions are:
> - How can I configure Yocto to use Hard Floating (VFPv3 or better NEON)? I
> read some stuff on the net to set DEFAULTTUNE with specific parameters?
>
you can find more information about ARM 'tuning' features here:
http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/README

what you need is to add this:
DEFAULTTUNE ?= "armv7athf-neon"

in one of the following configuration: machine , distro, or eventually
local.conf.

the 'logic' for this parameter is defined in this file:
http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/arch-armv7a.inc,
and the actually 'compiler' options when enabling HF are done here:

http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/feature-arm-vfp.inc


- When "MACHINE ??= 'wandboard-solo'" is set where can I find further
> informations about what setting are then used? I searched a lot in the
> Yocto directory but didn't find anything regarding to this.
>
you need to look at the machine .conf file in <layer>/conf/machine/<machine
name>.conf. in your case, this is this one i suspect:

https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/wandboard-solo.conf


all the machine parameters are defined here, you need to look at all
included .inc files and variables.

 - Is it possible to configure the drivers that are compiled to the kernel?
> I don't need sound and so on and this should speed up.. If yes, please give
> me some information how it's done!
>
yes. but it largely depends on how your kernel is managed. if you use the
"Yocto kernel" you can refer to this documentation:

http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html

if you use a custom kernel not 'managed' using the Yocto tools, then you
need to check with whoever manages your kernel.


> Thank you a lot for your help!!
>
> Best regards,
> Florian
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130603/28760fbd/attachment.html>


More information about the yocto mailing list