Hi, We have an x86_64 machine that we create an wic image for. For bootloader we are using UEFI boot with u-boot as a EFI payload.
U-boot doesn’t have support for virtio-scsi-pci, so it’s can’t detect a disk. U-boot however does some tests with the ahci driver: https://source.denx.de/u-boot/u-boot/-/blob/master/scripts/build-efi.sh#L116 It also works for our case. But since the runqemu script checks for drivetype by “/dev/sd” I can’t easily add something like what u-boot uses. Any idea’s? For now I use in machine conf: QB_DEFAULT_FSTYPE = "wic" QB_ROOTFS = "none" QB_OPT_APPEND = "-drive id=disk,file=@DEPLOY_DIR_IMAGE@/image-qemux86-64.rootfs.wic,if=none,format=raw -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0” But it would be nice to have the ROOTFS env var expanded instead of declaring it explicitly here. Best regards Sean Nyekjær
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193534): https://lists.openembedded.org/g/openembedded-core/message/193534 Mute This Topic: https://lists.openembedded.org/mt/103658327/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
