<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 1, 2013 at 11:01 AM, Florian Augustin <span dir="ltr"><<a href="mailto:florianaug@gmail.com" target="_blank">florianaug@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p dir="ltr">Hello experts :)</p>
<p dir="ltr">I'm currently trying to set up Yocto poky for a Wandboard-Solo with i.mx6 solo.<br>
My questions are:<br>
- 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?<br></p></blockquote><div style>you can find more information about ARM 'tuning' features here: </div>
<div><a href="http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/README">http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/README</a><br></div><div><br></div>
<div style>what you need is to add this:</div><div style><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;white-space:pre">DEFAULTTUNE ?= "armv7athf-neon"</span><br></div><div style><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;white-space:pre"><br>
</span></div><div style>in one of the following configuration: machine , distro, or eventually local.conf.<br></div><div><br></div><div style>the 'logic' for this parameter is defined in this file: <a href="http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/arch-armv7a.inc">http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/arch-armv7a.inc</a>, and the actually 'compiler' options when enabling HF are done here: </div>
<div style> </div><div><a href="http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/feature-arm-vfp.inc">http://cgit.openembedded.org/openembedded-core/tree/meta/conf/machine/include/arm/feature-arm-vfp.inc</a> </div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p dir="ltr">
- 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.<br>
</p></blockquote><div style>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:</div><div style><br></div><div style><a href="https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/wandboard-solo.conf">https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/wandboard-solo.conf</a> </div>
<div style><br></div><div style>all the machine parameters are defined here, you need to look at all included .inc files and variables.</div><div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<p dir="ltr">
- 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!</p></blockquote><div style>
yes. but it largely depends on how your kernel is managed. if you use the "Yocto kernel" you can refer to this documentation:</div><div style><br></div><div style><a href="http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html">http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html</a></div>
<div style><br></div><div style>if you use a custom kernel not 'managed' using the Yocto tools, then you need to check with whoever manages your kernel.</div><div style> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<p dir="ltr">Thank you a lot for your help!!</p>
<p dir="ltr">Best regards,<br>
Florian</p>
<br>_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
<br></blockquote></div><br></div></div>