Skip to content

Image yocto not found #412

Open
Open

Description

@dl8sd11

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!

Activity

  1. fresheed commented on Dec 8, 2024

    @fresheed

    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
    
  2. qlibp commented on Mar 25, 2025

    @qlibp

    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
    
  3. dbaluta commented on Mar 25, 2025

    @dbaluta
    Member

    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?

  4. qlibp commented on Mar 26, 2025

    @qlibp

    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
  5. dbaluta commented on Mar 26, 2025

    @dbaluta
    Member

    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

  6. qlibp commented on Mar 27, 2025

    @qlibp

    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?

  7. markus-zhang commented on Jan 22, 2026

    @markus-zhang

    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:

    YOCTO_URL = http://downloads.yoctoproject.org/releases/yocto/yocto-4.0/machines/qemu/qemu$(ARCH)/
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions