> cd (buildroot path)
> make raspberrypi3_64_defconfig
> make
> qemu-system-aarch64 \
-M raspi3b -m 1024 \
-kernel ./rpi3-64/images/Image \
-dtb ./rpi3-64/images/bcm2710-rpi-3-b.dtb \
-drive if=sd,driver=raw,file=./rpi3-64/images/sdcard.img \
-append "console=ttyAMA0 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4" \
-device usb-net,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5555-:80 \
-serial stdio
> cd (buildroot path)
> make qemu_aarch64_virt_defconfig
> make
> qemu-system-aarch64 \
-M virt -cpu cortex-a53 \
-nographic -smp 1 \
-kernel output/images/Image \
-append "rootwait root=/dev/vda console=ttyAMA0" \
-netdev user,id=eth0 -device virtio-net-device,netdev=eth0 \
-drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 \
-device virtio-blk-device,drive=hd0 \
-gdb tcp::1234 -monitor telnet:127.0.0.1:9999,server,nowait
QEMU 커맨드 : https://velog.io/@dovob/qemu-Command