Open dmikushin opened 1 year ago
What the guy is doing here:
qemu-system-arm -M orangepi-pc -m 1G -smp 4\
-kernel vmlinuz-5.10.60-sunxi \
-dtb sun8i-h3-orangepi-pc.dtb \
-initrd initrd.img-5.10.60-sunxi \
-sd armbian.img \
-append 'console=ttyS0,115200 root=/dev/mmcblk0p1' \
-nic user,hostfwd=tcp::2022-:22,model=allwinner-sun8i-emac \
-no-reboot -serial stdio -nographic -monitor none
nic
is network, set to user
, forwarding port 22 to 2022 for SSH connection.
Add Qemu flags to bridge the VM network to the host network, so that the virtual machine could talk to the TFTP server located on host.