OpenWrt + QEMU

MEMO

qemu-system-mips64el -M malta -cpu MIPS64R2-generic -kernel openwrt-malta-le64-vmlinux-initramfs.elf -nographic -m 256
qemu-system-mips64 -M malta -cpu MIPS64R2-generic -kernel openwrt-malta-be64-vmlinux-initramfs.elf -nographic -m 256
qemu-system-i386 -M pc -echr 0x1c \
                 -device ide-hd,drive=drv0 \
                 -drive file=openwrt-x86-legacy-generic-ext4-rootfs.img,format=raw,id=drv0,if=none \
                 -kernel openwrt-x86-legacy-generic-kernel.bin \
                 -nographic -m 256 -append "root=/dev/sda console=ttyS0 rootwait earlyprintk=ttyS0"