--- trunk/doc/guestoses.html 2007/10/08 16:21:53 38 +++ trunk/doc/guestoses.html 2007/10/08 16:22:56 44 @@ -4,13 +4,13 @@
|
- ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd + ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rdand run gxemul -xeo2 bsd.rd. @@ -1958,7 +2106,7 @@
cd /tftpboot; ftp -i ftp.se.openbsd.org (log in as anonymous...) -cd pub/OpenBSD/3.9/sgi +cd pub/OpenBSD/4.0/sgi mget b*tgz c*tgz e* g* m* quit sh @@ -1969,8 +2117,8 @@ halt |
- ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd - ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd + ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd + ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd
- net( +net( local_port(12444) ! the server add_remote("localhost:12445") ! the client - ) +) - machine( +machine( name("nfs server") serial_nr(2) @@ -2013,7 +2161,7 @@ subtype("5000/200") disk("nbsd_pmax.img") - ) +) |
Download mips-test-0.1.tar.gz -from http://fabrice.bellard.free.fr/qemu/download.html, -and extract its contents (tar zxvf mips-test-0.1.tar.gz). +I've added a machine mode which emulates the MIPS machine mode used +in Fabrice Bellard's QEMU. +Starting with QEMU 0.9.0, there are other MIPS modes in QEMU (i.e. Malta); +the QEMU_MIPS mode in GXemul refers to the old QEMU-specific MIPS machine. + +
The following steps should let you boot into the Linux/QEMU_MIPS +kernel, in way similar to the run-qemu script: -
Test it in GXemul using the following command line:
- gxemul -E qemu_mips -o 'console=ttyS0 root=/dev/ram ++
+
- Download the archive from + http://fabrice.bellard.free.fr/qemu/download.html and extract it:
+ wget http://fabrice.bellard.free.fr/qemu/mips-test-0.2.tar.gz + tar zxvf mips-test-0.2.tar.gz + ++- Start GXemul using the following command line:
+ gxemul -E qemu_mips -x -M 128 -o 'console=ttyS0 rd_start=0x80800000 rd_size=10000000 init=/bin/sh' - 0x80800000:mips-test/initrd mips-test/vmlinux-r1 + 0x80800000:mips-test/initrd.gz mips-test/vmlinux-2.6.18-3-qemu
- $ dd if=/dev/zero of=winnt_test.img bs=1024 count=1 seek=999000 + dd if=/dev/zero of=winnt_test.img bs=1024 count=1 seek=999000
- $ gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\ARCINST + gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\ARCINSTNote that ARCINST almost works, but not quite.
- $ gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\SETUPLDR + gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\SETUPLDR@@ -2357,7 +2513,7 @@
NOTE: This is still too -unstable to be considered really working! +unstable to be considered really working! Snapshots from April 2007 +or so will probably not work, unless an #if 0 is changed to +#if 1 in the implementation of the 'LDC Rm,SR' instruction +(in src/cpus/cpu_sh_instr.c).
- wget -np -l 0 -r ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/200704110002Z/landisk + wget -np -l 0 -r ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/200704110002Z/landisk + cp ftp.netbsd.org/pub/NetBSD-daily/*/*/landisk/binary/kernel/netbsd-GENERIC.gz . mkisofs -U -o landisk.iso ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/*@@ -2505,82 +2665,6 @@ - - - - - - - -
NOTE: This is still too -unstable to be considered really working! - -
To install OpenBSD/landisk onto an emulated harddisk image, -follow these instructions: - -
-
- dd if=/dev/zero of=obsd_landisk.img bs=1024 count=1 seek=900000 - --
- wget -np -l 0 -r ftp://ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/ - cp ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/bsd . - cp ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/bsd.rd . - -- (Replace ftp.se.openbsd.org with a server closer to you, for - increased download speed.) -
-
- mkisofs -allow-lowercase -o openbsd_landisk_snapshot.iso ftp.se.openbsd.org/pub/OpenBSD/ - rm -rf ftp.se.openbsd.org (this directory is not needed anymore) - --
- gxemul -x -Elandisk -d obsd_landisk.img -d d:openbsd_landisk_snapshot.iso bsd.rd - -- and proceed like you would do if you were installing OpenBSD - on a real landisk. The following hints are useful to get you - through the installation: -
Once the install has finished, the following command should let you -boot from the disk image: - -
- gxemul -x -E landisk -d obsd_landisk.img bsd - -- -