From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: yocto@lists.yoctoproject.org, worik.stanton@tirotech.co.nz
Subject: Re: [yocto] Yocto Project Quick Build - qemu
Date: Thu, 07 Mar 2024 23:42:09 +0000 [thread overview]
Message-ID: <b18d00a6d89df69eca3d542e167e9f5c4e7d3853.camel@linuxfoundation.org> (raw)
In-Reply-To: <CANuMBWGDdwq70dyAhb2pbWZ+Dct+iKxcWOfGpY+RZE+qRksQ6Q@mail.gmail.com>
On Thu, 2024-03-07 at 15:06 -0800, Worik Stanton wrote:
> Friends
>
> I am starting from first principles and following Yocto Project Quick Build.
>
> I am at the step: Simulate Your Image Using QEMU:
>
> I am unfamiliar with qemu. But it has started up (I watched it spin its wheels in top) but there is nothing to show for it.
>
> I am running in a Debian Bullseye LXC container as I have had trouble building Yocto builds in Bookworm. Was that a bad decision?
>
> I am unsure if I have failed or succeeded!
>
> What I see in my terminal is:
>
> runqemu - INFO - Running MACHINE=qemux86-64 bitbake -e ...
> runqemu - INFO - Continuing with the following parameters:
> KERNEL: [/home/yocto/poky/build/tmp/deploy/images/qemux86-64/bzImage]
> MACHINE: [qemux86-64]
> FSTYPE: [ext4]
> ROOTFS: [/home/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-sato-qemux86-64.rootfs-20240307220730.ext4]
> CONFFILE: [/home/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-sato-qemux86-64.rootfs-20240307220730.qemuboot.conf]
>
> runqemu - INFO - Using preconfigured tap device tap0
> runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
> runqemu - INFO - Network configuration: ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0
> runqemu - INFO - Running /home/yocto/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -drive file=/home/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-sato-qemux86-64.rootfs-20240307220730.ext4,if=virtio,format=raw -usb -device usb-tablet -usb -device usb-kbd -cpu IvyBridge -machine q35,i8042=off -smp 4 -m 512 -serial mon:vc -serial null -device virtio-vga -display sdl,show-cursor=on -kernel /home/yocto/poky/build/tmp/deploy/images/qemux86-64/bzImage -append 'root=/dev/vda rw ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 oprofile.timer=1 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 swiotlb=0 '
>
> runqemu - INFO - Host uptime: 3820.75
You should be able to ssh to root@192.168.7.2
Cheers,
Richard
next prev parent reply other threads:[~2024-03-07 23:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 23:05 Yocto Project Quick Build - qemu Worik Stanton
2024-03-07 23:42 ` Richard Purdie [this message]
2024-03-07 23:48 ` [yocto] " Worik Stanton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b18d00a6d89df69eca3d542e167e9f5c4e7d3853.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=worik.stanton@tirotech.co.nz \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.