Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image yocto not found #412

Open
dl8sd11 opened this issue Nov 16, 2024 · 6 comments
Open

Image yocto not found #412

dl8sd11 opened this issue Nov 16, 2024 · 6 comments

Comments

@dl8sd11
Copy link

dl8sd11 commented Nov 16, 2024

The image does not exist on downloads.yoctoproject.org. Neither does https://mirrors.kernel.org/yocto/yocto/ exist.

$ make boot   
wget http://downloads.yoctoproject.org/releases/yocto/yocto-2.3/machines/qemu/qemux86//core-image-minimal-qemux86.ext4
--2024-11-16 17:48:19--  http://downloads.yoctoproject.org/releases/yocto/yocto-2.3/machines/qemu/qemux86//core-image-minimal-qemux86.ext4
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 37.27.135.249, 2a01:4f9:3070:3985::2
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|37.27.135.249|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-11-16 17:48:20 ERROR 404: Not Found.

make: *** [qemu/Makefile:63: core-image-minimal-qemux86.ext4] Error 8

Is there another mirror or copy of the image? Thanks!

@fresheed
Copy link

fresheed commented Dec 8, 2024

I've changed Yocto parameters in tools/labs/qemu/Makefile as follows:

YOCTO_BASE=https://downloads.yoctoproject.org/releases/yocto/milestones/yocto-5.1_M3
YOCTO_URL=$(YOCTO_BASE)/machines/qemu/qemu$(ARCH)/
YOCTO_IMAGE=core-image-minimal-qemux86.rootfs-20240901114018.ext4

@qlibp
Copy link

qlibp commented Mar 25, 2025

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

@dbaluta
Copy link
Member

dbaluta commented Mar 25, 2025

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?

@qlibp
Copy link

qlibp commented Mar 26, 2025

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.

Image

@dbaluta
Copy link
Member

dbaluta commented 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
Copy link

qlibp commented Mar 27, 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

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants