[OE-core] [PATCH] qemuboot.conf: make cpus match built artifacts

Martin Kelly mkelly at xevo.com
Mon Apr 24 17:57:44 UTC 2017


On 04/24/2017 09:50 AM, Aníbal Limón wrote:
> Hi Martin,
>
> It looks that we need to improve the alignment between compiler flags
> and runqemu configurations. I don't know if is the right way to change
> the cpu's to pentium and core2due may be could cause side-effects.
>
> I think will be better to review the qemuboot profiles and to provide a
> mechanism to modify it.

If we go this route, it seems like we should make it modifiable by 
distro layers. Currently, the qemuboot.conf settings live in OE-core, so 
I did not find a way to override the settings in a distro file. When I 
tried manually changing them, the setting did not take effect because 
the setting in OE-core got parsed last.

That said, I think it would be more ideal to make sure the settings work 
by default everywhere, without each layer having to tweak anything. As 
long as the compiled and runtime features match, I think we can achieve 
this goal.

>
> I want to know, what was your build settings?

To test the patch, I did:

git clone git://git.yoctoproject.org/poky
source oe-init-build-env
# manually edit MACHINE to be qemux86 or qemux86-64
bitbake core-image-minimal

I hit the initial bug when building AGL (Automotive Grade Linux), which 
pulls in meta-qt5, which surfaced the issue.

>
> Finally this patch needs to be send to oe-core mailing list.
>

Sorry, adding oe-core now.



More information about the Openembedded-core mailing list