You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you encounter this problem? I failed to setup loop device.
root@ubuntu20:/linux/tools/labs# make boot
mkdir /tmp/tmp.NXSxdjS8gJ
sudo mount -t ext4 -o loop core-image-minimal-qemux86.rootfs-20240901114018.ext4 /tmp/tmp.NXSxdjS8gJ
mount: /tmp/tmp.NXSxdjS8gJ: failed to setup loop device for /linux/tools/labs/core-image-minimal-qemux86.rootfs-20240901114018.ext4.
make: *** [qemu/Makefile:57: .modinst] Error 32
Same happens after a fresh reboot?
after reboot the system, it seems working. But I don't know if it's correctly booted up. I use minicom -D serial.pts to connect, but I can't log in to the booted vm.
If you don't have any virt accelerator enabled (e.g kvm) then the boot should take around 1 minute.
I think you can run something like this KVM=yes ; make boot
Thanks for your reply. I try launching using KVM=yes ; make boot and wait for around 3mins, but still minicom shows nothing. I suspect this is because the arbritary env I set to DISPLAY=0?
I know this was already answered, but here is a slightly different version that works:
open file /linux/tools/labs/qemu/Makefile, and modify YOCTO_URL to:
Activity
fresheed commentedon Dec 8, 2024
I've changed Yocto parameters in
tools/labs/qemu/Makefileas follows:qlibp commentedon Mar 25, 2025
Have you encounter this problem? I failed to setup loop device.
dbaluta commentedon Mar 25, 2025
Same happens after a fresh reboot?
qlibp commentedon Mar 26, 2025
after reboot the system, it seems working. But I don't know if it's correctly booted up. I use
minicom -D serial.ptsto connect, but I can't log in to the booted vm.dbaluta commentedon Mar 26, 2025
If you don't have any virt accelerator enabled (e.g kvm) then the boot should take around 1 minute.
I think you can run something like this KVM=yes ; make boot
qlibp commentedon Mar 27, 2025
Thanks for your reply. I try launching using
KVM=yes ; make bootand wait for around 3mins, but still minicom shows nothing. I suspect this is because the arbritary env I set toDISPLAY=0?markus-zhang commentedon Jan 22, 2026
I know this was already answered, but here is a slightly different version that works:
open file
/linux/tools/labs/qemu/Makefile, and modifyYOCTO_URLto: