OpenWrt + QEMU: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
<syntaxhighlight lang="bash" enclose="div"> | <syntaxhighlight lang="bash" enclose="div"> | ||
qemu-system-i386 -M pc -echr 0x1c \ | |||
-device ide-hd,drive=drv0 \ | -device ide-hd,drive=drv0 \ | ||
-drive file=openwrt-x86-legacy-generic-ext4-rootfs.img,format=raw,id=drv0,if=none \ | -drive file=openwrt-x86-legacy-generic-ext4-rootfs.img,format=raw,id=drv0,if=none \ |
Revision as of 13:54, 7 April 2023
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 512 -append "root=/dev/sda console=ttyS0 rootwait"