[yocto] Smart - "Illegal instruction"

Mark Hatle mark.hatle at windriver.com
Fri Jan 24 08:28:06 PST 2014


On 1/24/14, 4:26 AM, Burton, Ross wrote:
> On 24 January 2014 10:21,  <yoctolist at progserv.de> wrote:
>> Do I have to define a new BSP?
>>
>> Did anyone have a similar problem and could give me some advice?
>
> IIRC, genericx86 targets Atom and higher (the README lists the target
> hardware) so it's quite possible that the compiler is emitting
> instructions that your CPU doesn't actually have.  You could create a
> new BSP, or edit the tune flags from your distro or local
> configuration to target your CPU.

I believe that this AMD Sempron processor is using an older instruction set.  So 
as Ross indicated, the best approach is to define a correct tune and BSP for 
your part.

Looking at what I found online, it appears the Sempron 2100 supports:

MMX, 3DNow!, SSE, SSE2, SSE3, AMD64 and EVP

The atom tune is compatible with the core2 tune.  The core2 supports

MMX, SSE, SSE2, SSE3, SSE4.1, and Supplemental SSE3

So my guess is that last two items is the issue.  If you copy the genericx86 BSP 
and modify the configuration to use the tune-x86_64.inc instead, that may fix 
your issue.

--Mark

> Ross
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>




More information about the yocto mailing list