Topics

Can I build Yocto Arm Image without QEMU?


reffum@...
 

Hello!
Sorry for my English. My first language is Russian.
I have a question about build yocto image. Can I build image without build any QEMU packages? And how can I do it?
I do not neet QEMU, I run Linux only in hardware.
Thank you for answers.
 
 


Sergei Nikulov
 



вс, 31 мая 2020 г., 14:15 Олег Гаврильченко via lists.yoctoproject.org <reffum=bk.ru@...>:
Hello!
Sorry for my English. My first language is Russian.
I have a question about build yocto image. Can I build image without build any QEMU packages? And how can I do it?

Yes, you can.
Check MACHINE variable in documentation.
You should set it to specific HW you're using.

I do not neet QEMU, I run Linux only in hardware.
Thank you for answers.
 
 


Олег Гаврильченко <reffum@...>
 

May I ask you to clarify, how can I do that? 
I build Yocto image for XILINX ZYNQ7 board and set MACHINE = zybo-zynq7. And then run "bitbake core-image-minimal". QEMU is downloaded, compiled and installed.


Alexander Kanavin
 

Qemu is also used to run target binaries during build (when there is a need to generate some data files that can only be produced by running those binaries). If you see a build of qemu-native, it will not end up in the target image.

What is your use case specifically?

Alex


On Sun, 31 May 2020 at 19:52, Олег Гаврильченко via lists.yoctoproject.org <reffum=bk.ru@...> wrote:
May I ask you to clarify, how can I do that? 
I build Yocto image for XILINX ZYNQ7 board and set MACHINE = zybo-zynq7. And then run "bitbake core-image-minimal". QEMU is downloaded, compiled and installed.


Mark Van De Vyver <mark@...>
 

On Mon, Jun 1, 2020 at 2:36 AM Sergei Nikulov <sergey.nikulov@...> wrote:


вс, 31 мая 2020 г., 14:15 Олег Гаврильченко via lists.yoctoproject.org <reffum=bk.ru@...>:
Hello!
Sorry for my English. My first language is Russian.
I have a question about build yocto image. Can I build image without build any QEMU packages? And how can I do it?

Yes, you can.
Check MACHINE variable in documentation.

HTH:


You should set it to specific HW you're using.

I do not neet QEMU, I run Linux only in hardware.
Thank you for answers.