Re: [yocto] Yocto Project Quick Build - qemu

2024-03-07 Thread Worik Stanton
>
> > 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
>
>
I see!  I have built the wrong build?  "sato" is a mobile build, does it
include a SSH server?

Worik

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62703): https://lists.yoctoproject.org/g/yocto/message/62703
Mute This Topic: https://lists.yoctoproject.org/mt/104799142/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Yocto Project Quick Build - qemu

2024-03-07 Thread Richard Purdie
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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62701): https://lists.yoctoproject.org/g/yocto/message/62701
Mute This Topic: https://lists.yoctoproject.org/mt/104799142/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Yocto Project Quick Build - qemu

2024-03-07 Thread Worik Stanton
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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62700): https://lists.yoctoproject.org/g/yocto/message/62700
Mute This Topic: https://lists.yoctoproject.org/mt/104799142/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-