I'm buiding images for LS1046ardb by using Yocto.
I have done the "bitbake fsl-image-networking". Now I would like to run it in the simulation environment (QEMU).
But, Is the qemu not supported for LS1046ardb?
if it is supported, how should I run it?
from the /build_ls1046ardb I have tried:
$ runqemu ls1046ardb
runqemu - INFO - Running MACHINE=ls1046ardb bitbake -e ...
runqemu - ERROR - .../yocto-sdk/build_ls1046ardb/tmp/deploy/images/ls1046ardb not a directory valid DEPLOY_DIR_IMAGE
ls: cannot access '/.../yocto-sdk/build_ls1046ardb/tmp/deploy/images/ls1046ardb/*.qemuboot.conf': No such file or directory
runqemu - ERROR - Command 'ls -t .../yocto-sdk/build_ls1046ardb/tmp/deploy/images/ls1046ardb/*.qemuboot.conf' returned non-zero exit status 2.
runqemu - INFO - Cleaning up
$ runqemy ls1046ardb fsl-image-networking
runqemu - INFO - Running MACHINE=ls1046ardb bitbake -e ...
runqemu - ERROR - .../yocto-sdk/build_ls1046ardb/tmp/deploy/images/ls1046ardb not a directory valid DEPLOY_DIR_IMAGE
runqemu - ERROR - Failed to find .../yocto-sdk/build_ls1046ardb/tmp/deploy/images/ls1046ardb/fsl-image-networking-ls1046ardb.qemuboot.conf (wrong image name or BSP does not support running under qemu?).
runqemu - INFO - Cleaning up
Please enable KVM in the host Linux Kernel
the virtualization menu of the main kernel menuconfig window.
[*] Virtualization
Core KVM support is enabled as follows:
[*] Kernel-based Virtual Machine (KVM) support
Please add “qemu” in variable IMAGE_INSTALL_append in sources/meta-qoriq/recipes-fsl/images/fsl-image-networking.bb, then run “bitbake fsl-image-networking” to rebuild rootfs filesystem.
Then run qenu as the following on LS1046ARDB
qemu-system-aarch64 -enable-kvm -nographic -machine type=virt -cpu host -kernel /media/ram/Image -append "root=/dev/ram rw console=ttyAMA0,115200 ramdisk_size=1000000" -initrd /media/ram/fsl-image-networking-ls1046ardb.ext2.gz -m 512