[yocto] QEMU Raspberry Pi 2 machine

Khem Raj raj.khem at gmail.com
Mon Feb 18 23:29:22 PST 2019


On Mon, Feb 18, 2019 at 10:34 AM Jean-Christian de Rivaz
<jean-christian.derivaz at innodelec.ch> wrote:
>
> Hi,
>
> The chromium-x11 browser can't be compiled for the qemuarm machine because it use the old ARM926 processor. I have modified the qemuarm.conf file  inside poky/meta/conf/machine/ to add
> DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
> require conf/machine/include/tune-cortexa7.inc
> But I want to avoid patching files of the poky project. Is there a proper way to add a QEMU Raspberry Pi 2 target like qemuraspi2 for example ? It look like many recipe files contains specific part for qemuarm so I wonder if adding a new QEMU machine it a simple enough task.

right now OEs defaults for qemuarm is to emulate armv5te based board,
so building chromium for that is not going to work. But
I think there is effort to switch it to use armv7 which might be more
interesting for your case. For best results you can use
meta-raspberrypi layer and use rpi2 or rpi3 machine config to build
it.

>
> Best Regards,
> Jean-Christian de Rivaz
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list