Skip to contentSkip to conversation

Can I build Yocto Arm Image without QEMU?

DISCUSSION [email protected] 4 participants 5 messages May 31, 2020 – Jun 1, 2020

lore
Share & tools
lore
#0 lore raw

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.


----------------------------------------------------------------------

#1 lore raw

вс, 31 мая 2020 г., 14:15 Олег Гаврильченко via lists.yoctoproject.org <[email protected]>:

Quoted 5 lines

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.

Quoted 6 lines

Thank you for answers.

------------------------------

#2 lore raw

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.

#3 lore raw

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

Quoted 5 lines · Олег Гаврильченко via lists.yoctoproject.org

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.

#4 lore raw
In reply to Sergei Nikulov
Quoted 5 lines · Sergei Nikulov

вс, 31 мая 2020 г., 14:15 Олег Гаврильченко via lists.yoctoproject.org <[email protected]>:

Quoted 9 lines
Quoted 5 lines

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:

https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#var-MACHINE

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

Quoted 10 lines

I do not neet QEMU, I run Linux only in hardware.

Quoted 6 lines

Thank you for answers.

------------------------------