OpenWrt + QEMU: Difference between revisions
Jump to navigation
Jump to search
(→MEMO) |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= MEMO = | = MEMO = | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="bash" enclose="div"> | ||
qemu-system-mips64el -M malta -cpu MIPS64R2-generic -kernel openwrt-malta-le64-vmlinux-initramfs.elf -nographic -m | 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 | </syntaxhighlight> | ||
<syntaxhighlight lang="bash" enclose="div"> | |||
qemu-system-mips64 -M malta -cpu MIPS64R2-generic -kernel openwrt-malta-be64-vmlinux-initramfs.elf -nographic -m 256 | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
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" | |||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 09:59, 21 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 256 -append "root=/dev/sda console=ttyS0 rootwait earlyprintk=ttyS0"