在QEMU环境下启动linux内核命令如下:
QEMU_AUDIO_DRV=none qemu-system-arm -m 256M -nographic -M versatilepb -kernel /home/yukeyang/myfile/linux-6.6.30/arch/arm/boot/zImage -append "console=ttyAMA0 rdinit=/bin/sh" -dtb arch/arm/boot/dts/arm/versatile-pb.dtb -initrd /home/yukeyang/initramfs.cpio.gz