Skip to content

Unable to boot .wic.img on QEMU

I am trying to build and test image for swupdate without secureboot.

Used below command to create .swu file and .img files.

./kas-container --isar build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/ebg-swu.yml

The above command generated .swu and .wic.img files in the build folder.
but i am not able boot .wic.img on QEMU using ./start-qemu.sh amd64 command.

ls: cannot access './build/tmp/deploy/images/qemu-amd64/cip-core-image-cip-core-buster-qemu-amd64.ext4.img': No such file or directory
qemu-system-x86_64: -drive file=,discard=unmap,if=none,id=disk,format=raw: A block device must be specified for "file"

Is it possible to boot .wic.img generated only for swupdate using current start-qemu.sh script ? Are there any missing steps in my execution ?

Please guide me.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information