OpenWrt + QEMU: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:


<syntaxhighlight lang="bash" enclose="div">
<syntaxhighlight lang="bash" enclose="div">
/mnt/QEMU/opt/bin/qemu-system-i386 -M pc -echr 0x1c \
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 \
                 -kernel $TARGET/openwrt-x86-legacy-generic-kernel.bin \
                 -kernel openwrt-x86-legacy-generic-kernel.bin \
                 -nographic -m 512 -append "root=/dev/sda console=ttyS0 rootwait"
                 -nographic -m 256 -append "root=/dev/sda console=ttyS0 rootwait earlyprintk=ttyS0"
</syntaxhighlight>
</syntaxhighlight>