- Has anyone runned Armbian in QEMU?
- What is the command to run it?
- From where to get kernel and which version?
- Which version of Armbian to use?
Apparently, no, it's not supported. See the response to a similar question in armbian forums:
That image is a normal X86 virtual image with, I assume, the same package base. I don't see much point in dealing with that ... but If you need that, install a base X86 Debian / Ubuntu system and https://github.com/igorpecovnik/lib/blob/second/deboostrap.sh#L138-L143 ... and you are close to Armbian. Special things are anyway very much hardware related, which aren't emulated.
use qemu-system-arm on debian-buster and a specified cpu armv7 like H3 NanoPi NEO Core-LTS (same like orangepi)
- download armbian image for H3
- unpack device tree (dtb) into folder
- unpack ramdisk (
uInitrd-5.10.12-sunxi) + kernel (
qemu-system-arm -m 1G,slots=3,maxmem=4G \ -machine type=orangepi-pc -cpu cortex-a7 -dtb dtb/sun8i-h3-nanopi-neo.dtb \ -smp 4 \ -kernel vmlinuz-5.10.12-sunxi -initrd uInitrd-5.10.12-sunxi -append "earlyprintk #loglevel=8 earlycon=uart8250,mmio32,0x1c28000,115200n8 console=ttyS0 root=/dev/mmcblk0p1" \ -no-reboot -nographic -serial stdio -monitor none \ -hda Armbian_21.02.1_Nanopineo_buster_current_5.10.12.img \ -nic user,model=allwinner-sun8i-emac,hostfwd=tcp::50022-:22
boots up like charm :)