rt-thread-official/bsp/raspberry-pi/raspi3-64/qemu-64.sh

4 lines
187 B
Bash
Raw Normal View History

if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536
fi
qemu-system-aarch64 -M raspi3 -kernel kernel8.img -serial null -serial stdio -sd sd.bin -nographic -monitor pty