Commits

Anonymous committed 3fcff0b

Adding qemu example commands for every supported platform.

  • Participants
  • Parent commits 332e381

Comments (0)

Files changed (6)

 * Use mk-hd-image.sh to create an image, even though it hasn't been finalized
   or bootstrapped.
 
-* The image is usable in qemu like so:
-  ARM: 
-  $ qemu-system-arm -M vexpress-a9 -kernel vmlinuz \
-    -append "console=tty0 root=b302 rw" -sd snowflake.img
-  MIPS:
-  $ qemu-system-mips -M malta -kernel vmlinux \
-    -append "console=ttyS0 root=0302 rw" -hda snowflake.img -nographic
-  PowerPC:
-  $ qemu-system-ppc -snapshot -M g3beige -kernel vmlinux \
-    -append "console=ttyS0 root=0302 rw" -hda snowflake.img -nographic
+* The image should be usable in qemu. Example commands are provided in
+  core/qemu.
 
 * Run /src/bootstrap.sh to finish bootstrapping.
 

File core/qemu/arm.sh

+#!/bin/sh
+exec qemu-system-arm -M vexpress-a9 -kernel vmlinuz \
+  -append "console=ttyAMA0 root=b302 rw" -sd snowflake.vmdk -nographic \
+  -monitor telnet:localhost:1472,server,nowait,nodelay

File core/qemu/i386.sh

+#!/bin/sh
+exec qemu -hda snowflake.img -curses \
+  -monitor telnet:localhost:2862,server,nowait,nodelay

File core/qemu/mips.sh

+#!/bin/sh
+exec qemu-system-mips -M malta -kernel vmlinux \
+  -append "console=ttyS0 root=0302 rw" -hda snowflake.img -nographic \
+  -monitor telnet:localhost:7802,server,nowait,nodelay

File core/qemu/powerpc.sh

+#!/bin/sh
+exec qemu-system-ppc -snapshot -M g3beige -kernel vmlinux \
+    -append "console=ttyS0 root=0302 rw" -hda snowflake.vmdk -nographic \
+    -monitor telnet:localhost:2003,server,nowait,nodelay

File core/qemu/x86_64.sh

+#!/bin/sh
+exec qemu-system-x86_64 -hda snowflake.img -curses \
+  -monitor telnet:localhost:2642,server,nowait,nodelay