Hello everyone I created some images for Automotive Grade Linux using built in support for it in the AGL project.
However while running the image on qemu I have the following errors:
#!/bin/bash
BIOS_NAME="tmp/deploy/images/beaglebone-ai64/Image-beaglebone-ai64.bin"
export BIOS_NAME
IMAGE_NAME="tmp/deploy/images/beaglebone-ai64/agl-ivi-demo-qt-crosssdk-beaglebone-ai64.rootfs.wic.xz"
export IMAGE_NAME
ROOTFS="tmp/deploy/images/beaglebone-ai64/agl-ivi-demo-qt-crosssdk-beaglebone-ai64.rootfs.wic.xz"
export ROOTFS
ulisesv@orion:/media/ulisesv/linux_workspace/AGL/ricefish/beaglebone-ai64$ qemu-system-aarch64 -M virt \
> -bios ${BIOS_NAME} \
> -kernel ${IMAGE_NAME} \
> -append "rootwait root=/dev/vda"\
> -drive file=${ROOTFS},format=raw,id=hd0\
> -device virtio-blk-device,drive=hd0 \
> -netdev user,id=net0\
> -device virtio-net-device,netdev=net0\
> -nographic
qemu-system-aarch64: -drive file=tmp/deploy/images/beaglebone-ai64/agl-ivi-demo-qt-crosssdk-beaglebone-ai64.rootfs.wic.xz,format=raw,id=hd0: Drive 'hd0' is already in use because it has been automatically connected to another device (did you need 'if=none' in the drive options?)
ulisesv@orion:/media/ulisesv/linux_workspace/AGL/ricefish/beaglebone-ai64$
Any idea how to fix this issue?
Thanks
Ulises Vega