Guest has not initialized the display (yet)
看到这句话,我头就疼
也许是累了吧
我是通过runqemu执行的
runqemu bananapi_m5
runqemu - INFO - Running MACHINE=bananapi_m5 bitbake -e ...
runqemu - ERROR - /home/xxx/yocto_poky/poky/build_sato/tmp/deploy/images/bananapi_m5 not a directory valid DEPLOY_DIR_IMAGE
runqemu - INFO - Continuing with the following parameters:
KERNEL: [/home/xxx/yocto_poky/poky/build_sato/tmp/deploy/images/bananapi_m5/Image]
MACHINE: [bananapi_m5]
FSTYPE: [cpio.gz]
ROOTFS: [/home/xxx/yocto_poky/poky/build_sato/tmp/deploy/images/bananapi_m5/wahaha-bananapi_m5-20230719033657.rootfs.cpio.gz]
CONFFILE: [/home/xxx/yocto_poky/poky/build_sato/tmp/deploy/images/bananapi_m5/wahaha-bananapi_m5-20230719033657.qemuboot.conf]
runqemu - INFO - Setting up tap interface under sudo
runqemu - INFO - Network configuration: ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8
runqemu - INFO - Running /home/xxx/yocto_poky/poky/build_sato/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-aarch64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -initrd /home/xxx/yocto_poky/poky/build_sato/tmp/deploy/images/bananapi_m5/wahaha-bananapi_m5-20230719033657.rootfs.cpio.gz -net nic -no-reboot -device qemu-xhci -device usb-tablet -device usb-kbd -machine virt -cpu cortex-a55 -smp 4 -m 10240 -serial mon:vc -serial null -display gtk,show-cursor=on -device virtio-gpu-pci -kernel /home/xxx/yocto_poky/poky/build_sato/tmp/deploy/images/bananapi_m5/Image -append 'root=/dev/ram0 rw debugshell mem=10240M ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 console=ttyAMA0,115200 init=/sbin/init rw rootwait panic=2 '
runqemu - INFO - Host uptime: 8625.54
当我手动执行的时候
qemu-system-aarch64: -display gtk,show-cursor=on: Parameter 'type' does not accept value 'gtk'
咋的,又搞幺蛾子啦
根据网上的教程继续改,加了个vga–》
我明明看到这里有的,但是不知道为什么就是报错
qemu-system-aarch64: unknown vga type: xenfb
还是不行
qemu-system-aarch64: -display vnc=VGA,show-cursor=on: Invalid parameter 'show-cursor'
感觉不行,我有点想放弃了
qemu-system-aarch64: warning: hub 0 is not connected to host network
qemu-system-aarch64: warning: A -vga option was passed but this machine type does not use that option; No VGA device has been created
qemu-system-aarch64: -display vnc=VGA:0: address resolution failed for VGA:5900: Name or service not known