/[gxemul]/trunk/doc/experiments.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/doc/experiments.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC revision 6 by dpavlin, Mon Oct 8 16:18:11 2007 UTC
# Line 13  Line 13 
13    
14  <!--  <!--
15    
16  $Id: experiments.html,v 1.60 2005/04/16 00:29:45 debug Exp $  $Id: experiments.html,v 1.68 2005/05/27 07:29:23 debug Exp $
17    
18  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.
19    
# Line 74  that you do two things: Line 74  that you do two things:
74  </ul>  </ul>
75    
76  <p>  <p>
 The emulator has several modes where it doesn't emulate any real machine.  
 It can either run in "bare" mode, where no devices are included by default  
 (just the CPU), or in a "test" mode where some simple devices are  
 emulated.  
   
 <p>  
77  <table border="0"><tr><td width="40">&nbsp;</td><td>  <table border="0"><tr><td width="40">&nbsp;</td><td>
78  <pre>  <pre>
79  <font color=#f00000>/*  Hello world for GXemul  */  <font color=#f00000>/*  Hello world for GXemul  */
# Line 113  emulated. Line 107  emulated.
107  </font></pre>  </font></pre>
108  </td></tr></table>  </td></tr></table>
109    
110  This hello world program is available here as well:  <p>
111  <a href="hello_mips.c">hello_mips.c</a>  (This hello world program is available here as well:
112    <a href="hello_mips.c">hello_mips.c</a>)
113    
114  <p>  <p>
115  I recommend that you build a GCC cross compiler for the  I recommend that you build a GCC cross compiler for the
116  <b>mips64-unknown-elf</b> target, and install it. Other compilers could  <b>mips64-unknown-elf</b> target, and install it. Other compilers could
# Line 219  that aren't present on my FreeBSD system Line 215  that aren't present on my FreeBSD system
215  <a name="expdevices"></a>  <a name="expdevices"></a>
216  <h3>Experimental devices:</h3>  <h3>Experimental devices:</h3>
217    
218    The emulator has several modes where it doesn't emulate any real machine.
219    It can either run in "bare" mode, where no devices are included by default
220    (just the CPU), or in a "test" mode where some simple devices are
221    emulated.
222    
223    <p>
224  The "test" MIPS machine has the following experimental devices:  The "test" MIPS machine has the following experimental devices:
225    
226  <p>  <p>
# Line 405  register of the system coprocessor.) Line 407  register of the system coprocessor.)
407  <h3>Experiments with other kernels and guest OSes:</h3>  <h3>Experiments with other kernels and guest OSes:</h3>
408    
409  <p>  <p>
410  Operating system kernels and other test programs can be downloaded from  Free Operating system kernels and other test programs can be
411  various places. Here are links to some of the kernels that I usually  downloaded from various places on the Internet. Other kinds of software
412  experiment with.  (non-Free), if obsolete enough (such as Ultrix or Windows NT), can
413    sometimes be found in garbage containers, or perhaps be found for a cheap
414    price on ebay or at a flea market.
415    
416  <p>  <p>
417  <font color="#ff0000">  <font color="#ff0000">
# Line 428  probably doesn't work in GXemul. Line 432  probably doesn't work in GXemul.
432        <li><a href="http://www.netbsd.org/Ports/pmax/">NetBSD/pmax</a>:        <li><a href="http://www.netbsd.org/Ports/pmax/">NetBSD/pmax</a>:
433          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.gz</a>
434          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.symbols.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmax/binary/kernel/netbsd-INSTALL.symbols.gz</a>
435          <br>gunzip the files, and run the emulator with <b>-E dec -e 3max -q -N -XY2</b>          <br>gunzip the files, and run the emulator with <b><tt>-E dec -e 3max -q -N -XY2</tt></b>
436          for a graphical framebuffer console. Remove <b>-XY2</b> and <b>-N</b> to use serial (stdin/stdout) console.          for a graphical framebuffer console. Remove <b><tt>-XY2</tt></b> and <b><tt>-N</tt></b> to use serial (stdin/stdout) console.
437          Read <a href="guestoses.html#netbsdinstall">this section</a> about how to install NetBSD/pmax onto a harddisk image.          Read <a href="guestoses.html#netbsdinstall">this section</a> about how to install NetBSD/pmax onto a harddisk image.
438        <p>        <p>
439        <li><a href="http://www.openbsd.org/pmax.html">OpenBSD/pmax</a>:        <li><a href="http://www.openbsd.org/pmax.html">OpenBSD/pmax</a>:
440          <br><a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax/bsd</a>          <br><a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax/bsd</a>
441          <br>This is an old OpenBSD kernel in a.out format. Try <b>-E dec -e 3max</b>.          <br>This is an old OpenBSD kernel in a.out format. Try <b><tt>-E dec -e 3max</tt></b>.
442          <br>Read <a href="guestoses.html#openbsdinstall">this section</a> about how to install OpenBSD/pmax onto a harddisk image.          <br>Read <a href="guestoses.html#openbsdinstall">this section</a> about how to install OpenBSD/pmax onto a harddisk image.
443          It's a bit more complicated than installing NetBSD/pmax, but might work.          It's a bit more complicated than installing NetBSD/pmax, but
444            it usually works.
445        <p>        <p>
446        <li>Linux for DECstation:        <li>Linux for DECstation:
         <br>Here is a Debian package containing a Linux 2.4.26 kernel for  
                 DECstation which supports framebuffer!  
         <br><a href="http://ftp.debian.org/debian/pool/main/k/kernel-patch-2.4.26-mips/kernel-image-2.4.26-r3k-kn02_2.4.26-0.040505.1_mipsel.deb">http://ftp.debian.org/debian/pool/main/k/kernel-patch-2.4.26-mips/  
         <br>kernel-image-2.4.26-r3k-kn02_2.4.26-0.040505.1_mipsel.deb</a>  
         <br>Run the following commands to extract the kernel:<pre>  
         <b>ar x kernel-image-2.4.26-r3k-kn02_2.4.26-0.040505.1_mipsel.deb data.tar.gz</b>  
         <b>tar xfzv data.tar.gz ./boot/vmlinux-2.4.26-r3k-kn02</b>  
         <b>mv boot/vmlinux-* .; rmdir boot</b>  
 </pre>  
         <br>To try with the framebuffer: <b>-E dec -e 3max -X vmlinux-2.4.26-r3k-kn02</b>  
         <br>To try with serial console: <b>-E dec -e 3max -o 'console=ttyS3' vmlinux-2.4.26-r3k-kn02</b>  
447          <br>Read <a href="guestoses.html#declinux">this section</a> about how to run a Debian Linux install kernel.          <br>Read <a href="guestoses.html#declinux">this section</a> about how to run a Debian Linux install kernel.
448          <br>Here are some older kernels (these don't support framebuffer, I think):          <br>Here are some older kernels (these don't support framebuffer, I think):
449                  <a href="http://www.xs4all.nl/~vhouten/mipsel/kernels.html">http://www.xs4all.nl/~vhouten/mipsel/kernels.html</a>                  <a href="http://www.xs4all.nl/~vhouten/mipsel/kernels.html">http://www.xs4all.nl/~vhouten/mipsel/kernels.html</a>
450          <br>Note: Make sure you add <b>-CR4400</b> to the command line for          <br>Note: Make sure you add <b><tt>-CR4400</tt></b> to the command line for
451                  R4000 kernels, as Linux doesn't autodetect CPU type at runtime.                  R4000 kernels, as Linux doesn't autodetect CPU type at runtime.
452            <br>Linux also doesn't detect automatically whether you are booting
453                    in graphical or serial console mode, so you need to add
454                    <tt><b>-o 'console=ttyS3'</b></tt> or similar for serial
455                    console mode.
456        <p>        <p>
457        <li>Sprite:        <li><a href="http://www.cs.berkeley.edu/projects/sprite/retrospective.html">Sprite</a>:
458          <br>The Unix Heritage Society (TUHS, <a href="http://www.tuhs.org">www.tuhs.org</a>)          <br>The Unix Heritage Society (TUHS, <a href="http://www.tuhs.org">www.tuhs.org</a>)
459                  has preserved a copy of a harddisk image for a DECstation 5000/200:                  has preserved a copy of a harddisk image for a DECstation
460                  <a href="http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite/">http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite</a>/<a href="http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite/ds5000.bt">ds5000.bt</a>                  5000/200 (3MAX).
         <br>(MD5 (ds5000.bt) = ec84eeeb20fe77b758370d5e312e4a5e)  
461          <br>Read <a href="guestoses.html#sprite">this section</a> for more information          <br>Read <a href="guestoses.html#sprite">this section</a> for more information
462                  about running this harddisk image in the emulator.                  about running this harddisk image in the emulator.
463        <p>        <p>
464        <li><a href="http://www-2.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html">Mach</a>:        <li><a href="http://www-2.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html">Mach</a>:
465          <br>Important! Run <b>./configure --caches; make</b>          <br>Important! Run <b><tt>./configure --caches; make</tt></b>
466            <br>Also important: This is broken right now. :-(
467          <br>Download <a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/">http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release</a>/<a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/pmax.tar.Z">pmax.tar.Z</a>          <br>Download <a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/">http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release</a>/<a href="http://lost-contact.mit.edu/afs/athena/user/d/a/daveg/Info/Links/Mach/src/release/pmax.tar.Z">pmax.tar.Z</a>
468          <br>tar xfvz pmax.tar.Z pmax_mach/special/mach.boot.MK83.STD+ANY          <br><tt><b>tar xfvz pmax.tar.Z pmax_mach/special/mach.boot.MK83.STD+ANY</b></tt>
469          <br><b>gxemul -E dec -e 3max -X pmax_mach/special/mach.boot.MK83.STD+ANY</b>          <br><tt><b>gxemul -E dec -e 3max -X pmax_mach/special/mach.boot.MK83.STD+ANY</b></tt>
470      </ul>      </ul>
471    </li>    </li>
472    
# Line 479  probably doesn't work in GXemul. Line 477  probably doesn't work in GXemul.
477        <li><a href="http://www.netbsd.org/Ports/sgimips/">NetBSD/sgimips</a>:        <li><a href="http://www.netbsd.org/Ports/sgimips/">NetBSD/sgimips</a>:
478          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>
479          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.symbols.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.symbols.gz</a>
480          <br>gunzip, and try running with <b>-E sgi -e ip32</b>.          <br>gunzip, and try running with <b><tt>-E sgi -e ip32</tt></b>.
481          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.gz</a>
482          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.symbols.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sgimips/binary/kernel/netbsd-INSTALL32_IP2x.symbols.gz</a>
483          <br>gunzip, and try running with <b>-E sgi -e ip22</b> (or <b>-e ip24</b> or <b>-e ip20</b>).          <br>gunzip, and try running with <b><tt>-E sgi -e ip22</tt></b> (or <b><tt>ip24</tt></b> or <b><tt>ip20</tt></b>).
484        <p>        <p>
485        <li>Linux/SGI:        <li>Linux/SGI:
486          <br>Some kernels are available here: <a href="http://www.linux-mips.org/~glaurung/">http://www.linux-mips.org/~glaurung/</a>          <br>Some kernels are available here: <a href="http://www.linux-mips.org/~glaurung/">http://www.linux-mips.org/~glaurung/</a>
487          <br>Try running with <b>-E sgi -e ip32 -X</b> for a graphical framebuffer, or          <br>Try running with <b><tt>-E sgi -e ip32 -X</tt></b> for a graphical framebuffer, or
488                  <b>-E sgi -e ip32 -o 'console=ttyS0'</b> for serial console.                  <b><tt>-E sgi -e ip32 -o 'console=ttyS0'</tt></b> for serial console.
489          <br>Adding -b (bintrans) might work sometimes.          <br>Adding <b><tt>-b</tt></b> (bintrans) might work sometimes.
490          <br>(You need to add <b>-CR5000</b> if you're trying to run          <br>(You need to add <b><tt>-CR5000</tt></b> if you're trying to run
491                  a kernel compiled for R5000, because Linux                  a kernel compiled for R5000, because Linux doesn't autodetect
492                  doesn't autodetect CPU at runtime.)                  the CPU type at runtime.)
493          <br>Also: <a href="http://www.tal.org/~milang/o2/kernels/">http://www.tal.org/~milang/o2/kernels</a>/<a href="http://home.tal.org/~milang/o2/kernels/vmlinux64-2.6.8.1-IP32">vmlinux64-2.6.8.1-IP32</a>          <br>Also: <a href="http://www.tal.org/~milang/o2/kernels/">http://www.tal.org/~milang/o2/kernels</a>/<a href="http://home.tal.org/~milang/o2/kernels/vmlinux64-2.6.8.1-IP32">vmlinux64-2.6.8.1-IP32</a>
494          <br>Try <b>-E sgi -e ip32 -b -X -CR5000 vmlinux64-2.6.8.1-IP32</b>.          <br>Try <b><tt>-E sgi -e ip32 -b -X -CR5000 vmlinux64-2.6.8.1-IP32</tt></b>.
495          <br>And also some IP27 kernels:          <br>And also some IP27 kernels:
496                  <a href="http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040428">http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040428</a>                  <a href="http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040428">http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040428</a>
497                  and                  and
498                  <a href="http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040528.bz2">http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040528.bz2</a>                  <a href="http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040528.bz2">http://www.total-knowledge.com/progs/mips/kernels/vmlinux.ip27-20040528.bz2</a>
499                  (but unfortunately these lack symbols).                  (but unfortunately these lack symbols).
500          <br>Try the IP27 kernels with <b>-E sgi -e ip27 -t</b>.          <br>Try the IP27 kernels with <b><tt>-E sgi -e ip27 -t</tt></b>.
501        <p>        <p>
502        <li><a href="http://www.openbsd.org/sgi.html">OpenBSD/sgi</a>:        <li><a href="http://www.openbsd.org/sgi.html">OpenBSD/sgi</a>:
503          <br>Snapshots can be found at <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sgi/">ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sgi/</a>.          <br><a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.7/sgi/bsd.rd">ftp://ftp.openbsd.org/pub/OpenBSD/3.7/sgi/bsd.rd</a>
504          <br>Try <b>gxemul -b -E sgi -e ip32 bsd.rd</b>          <br>More recent snapshots can be found at <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sgi/">ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sgi/</a>.
505            <br>Try <b><tt>gxemul -b -E sgi -e ip32 bsd.rd</tt></b>
506        <p>        <p>
507        <li><a href="http://www.freebsd.org/platforms/mips.html">FreeBSD/MIPS</a>:        <li><a href="http://www.freebsd.org/platforms/mips.html">FreeBSD/MIPS</a>:
508                  I don't think public binary snapshots are available yet.                  I don't think public binary snapshots are available yet.
# Line 511  probably doesn't work in GXemul. Line 510  probably doesn't work in GXemul.
510        <li>arcdiag:        <li>arcdiag:
511          <br>The NetBSD people have also made available an "arcdiag" for SGI-IP22:          <br>The NetBSD people have also made available an "arcdiag" for SGI-IP22:
512          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/sgimips/arcdiag.ip22">ftp://ftp.netbsd.org/pub/NetBSD/arch/sgimips/arcdiag.ip22</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/sgimips/arcdiag.ip22">ftp://ftp.netbsd.org/pub/NetBSD/arch/sgimips/arcdiag.ip22</a>
513          <br>Try running <b>gxemul -E sgi -e ip22 -x arcdiag.ip22</b>.          <br>Try running <tt><b>gxemul -E sgi -e ip22 -x arcdiag.ip22</b></tt>.
514      </ul>      </ul>
515    </li>    </li>
516    
# Line 522  probably doesn't work in GXemul. Line 521  probably doesn't work in GXemul.
521        <li><a href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>:        <li><a href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>:
522          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.gz</a>
523          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.symbols.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/arc/binary/kernel/netbsd-RAMDISK.symbols.gz</a>
524          <br>gunzip, and try with <b>-E arc -e rd94</b>.          <br>gunzip, and try with <b><tt>-E arc -e rd94</tt></b>.
525          <br>(You may also try other ARC models.)          <br>(You may also try other ARC models.)
526          <br>Read <a href="guestoses.html#netbsdarcinstall">this section</a> about how          <br>Read <a href="guestoses.html#netbsdarcinstall">this section</a> about how
527                  to install NetBSD/arc onto a harddisk image.                  to install NetBSD/arc 1.6.2 onto a harddisk image.
528            <br>(NetBSD/arc 2.0 doesn't work with disk images yet in GXemul.)
529        <p>        <p>
530        <li><a href="http://www.openbsd.org/arc.html">OpenBSD/arc</a>:        <li><a href="http://www.openbsd.org/arc.html">OpenBSD/arc</a>:
531          <br><a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/2.3/arc/bsd.rd.elf">ftp://ftp.se.openbsd.org/pub/OpenBSD/2.3/arc/bsd.rd.elf</a>          <br><a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/2.3/arc/bsd.rd.elf">ftp://ftp.se.openbsd.org/pub/OpenBSD/2.3/arc/bsd.rd.elf</a>
532          <br>Try running with <b>-X -E arc -e pica</b> or <b>-X -E arc -e tyne</b>.          <br>Try running with <b><tt>-X -E arc -e pica</tt></b> or <b><tt>-X -E arc -e tyne</tt></b>.
533          <br>Read <a href="guestoses.html#openbsdarcinstall">this section</a> about how          <br>Read <a href="guestoses.html#openbsdarcinstall">this section</a> about how
534                  to install OpenBSD/arc onto a harddisk image.                  to install OpenBSD/arc onto a harddisk image.
535        <p>        <p>
536        <li>Linux:        <li>Linux:
537          <br><a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/boot/vmlinux-m700-2.1.131.gz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/boot/vmlinux-m700-2.1.131.gz</a>          <br><a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/boot/vmlinux-m700-2.1.131.gz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/boot/vmlinux-m700-2.1.131.gz</a>
538          <br>gunzip, and run with <b>-v -J -X -N -E arc -e m700</b> (Olivetti M700)          <br>gunzip, and run with <b><tt>-v -J -X -N -E arc -e m700</tt></b> (Olivetti M700)
539            <br>(This probably doesn't work anymore.)
540        <p>        <p>
541        <li>Pandora:        <li>Pandora:
542          <br><a href="ftp://ftp.linux-mips.org/pub/linux/mips/ancient/milo/">ftp://ftp.linux-mips.org/pub/linux/mips/ancient/milo</a>/<a href="ftp://ftp.linux-mips.org/pub/linux/mips/ancient/milo/milo-0.27.1.tar.gz">milo-0.27.1.tar.gz</a>          <br><a href="ftp://ftp.linux-mips.org/pub/linux/mips/ancient/milo/">ftp://ftp.linux-mips.org/pub/linux/mips/ancient/milo</a>/<a href="ftp://ftp.linux-mips.org/pub/linux/mips/ancient/milo/milo-0.27.1.tar.gz">milo-0.27.1.tar.gz</a>
543          <br>A generic test/diagnostics program for ARC-based machines.          <br>A generic test/diagnostics program for ARC-based machines.
544          <br>Run with <b>-E arc -e r94 milo-0.27.1/pandora</b>          <br>Run with <b><tt>-E arc -e r94 milo-0.27.1/pandora</tt></b>
545        <p>        <p>
546        <li>arcdiag:        <li>arcdiag:
547          <br>Precompiled binary:<a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/arc/arcdiag">ftp://ftp.netbsd.org/pub/NetBSD/arch/arc/arcdiag</a>          <br>Precompiled binary:<a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/arc/arcdiag">ftp://ftp.netbsd.org/pub/NetBSD/arch/arc/arcdiag</a>
548          <br>(alternative: <a href="http://www.sensi.org/~alec/mips/arcdiag">http://www.sensi.org/~alec/mips/arcdiag</a>)          <br>(alternative: <a href="http://www.sensi.org/~alec/mips/arcdiag">http://www.sensi.org/~alec/mips/arcdiag</a>)
549          <br>A generic test/diagnostics program for ARC-based machines.          <br>A generic test/diagnostics program for ARC-based machines.
550          <br>Run with <b>-E arc -e pica arcdiag</b> (or some other ARC mode).          <br>Run with <b><tt>-E arc -e pica arcdiag</tt></b> (or some other ARC mode).
551          <br>Example arcdiag output (from real machines):          <br>Example arcdiag output (from real machines):
552          <br><a href="http://mail-index.netbsd.org/port-arc/2000/10/18/0001.html">http://mail-index.netbsd.org/port-arc/2000/10/18/0001.html</a> (Olivetti M700-10)          <br><a href="http://mail-index.netbsd.org/port-arc/2000/10/18/0001.html">http://mail-index.netbsd.org/port-arc/2000/10/18/0001.html</a> (Olivetti M700-10)
553          <br><a href="http://www.sensi.org/~alec/mips/arcdiag.txt">http://www.sensi.org/~alec/mips/arcdiag.txt</a> (PICA-61)          <br><a href="http://www.sensi.org/~alec/mips/arcdiag.txt">http://www.sensi.org/~alec/mips/arcdiag.txt</a> (PICA-61)
554          <br><a href="http://mail-index.netbsd.org/port-arc/2000/10/14/0000.html">http://mail-index.netbsd.org/port-arc/2000/10/14/0000.html</a> (Deskstation Tyne)          <br><a href="http://mail-index.netbsd.org/port-arc/2000/10/14/0000.html">http://mail-index.netbsd.org/port-arc/2000/10/14/0000.html</a> (Deskstation Tyne)
555          <br><a href="http://mail-index.netbsd.org/port-arc/2004/02/01/0001.html">http://mail-index.netbsd.org/port-arc/2004/02/01/0001.html</a> (NEC RISCserver 4200)          <br><a href="http://mail-index.netbsd.org/port-arc/2004/02/01/0001.html">http://mail-index.netbsd.org/port-arc/2004/02/01/0001.html</a> (NEC RISCserver 4200)
556          <br><a href="http://mirror.aarnet.edu.au/pub/NetBSD/misc/chs/arcdiag.out">http://mirror.aarnet.edu.au/pub/NetBSD/misc/chs/arcdiag.out</a> (NEC-R96)          <br><a href="http://mirror.aarnet.edu.au/pub/NetBSD/misc/chs/arcdiag.out">http://mirror.aarnet.edu.au/pub/NetBSD/misc/chs/arcdiag.out</a> (NEC-R96)
557            <br>For some machines, such as <tt><b>-e pica</b></tt>, you can
558                    add <b><tt>-X</tt></b> to boot with a graphical VGA-style
559                    console. This however is probably a bit unstable and/or
560                    broken right now.
561          <p>
562          <li>Windows NT:
563            <br>Put a "Windows NT 4.0 for MIPS" CDROM (or similar) into
564                    your CDROM drive. (On FreeBSD systems, it is usually called
565                    /dev/cd0c or similar. Change that to whatever the CDROM
566                    is called on your system, or the name of a raw .iso image.)
567            <br>I have tried this with the Swedish version, but it might
568                    work with other versions too.<pre>
569            $ <b><tt>dd if=/dev/zero of=winnt_test.img bs=1024 count=1 seek=999000</tt></b>
570            $ <b><tt>gxemul -X -b -Earc -epica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\ARCINST</tt></b>
571            $ <b><tt>gxemul -X -b -Earc -epica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\SETUPLDR</tt></b>
572    </pre>  <br><tt>ARCINST</tt> tries to prepare the disk image for installation. (It <i>almost</i> works.)
573            <br><tt>SETUPLDR</tt> should load some drivers from the cdrom, but then it crashes with a bluescreen.
574      </ul>      </ul>
575    </li>    </li>
576    
# Line 562  probably doesn't work in GXemul. Line 580  probably doesn't work in GXemul.
580      <ul>      <ul>
581        <li><a href="http://www.netbsd.org/Ports/hpcmips/">NetBSD/hpcmips</a>:        <li><a href="http://www.netbsd.org/Ports/hpcmips/">NetBSD/hpcmips</a>:
582          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/netbsd.gz">netbsd.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/netbsd.gz">netbsd.gz</a>
583          <br>Try <b>gxemul -X -b -E hpc -e mobilepro770 netbsd</b>          <br>Try <b><tt>gxemul -X -b -E hpc -e mobilepro770 netbsd</tt></b>
584          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/binary/kernel/netbsd-GENERIC.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/binary/kernel/netbsd-GENERIC.gz</a>
585          <br>Try <b>gxemul -X -b -E hpc -e mobilepro770 netbsd-GENERIC</b>          <br>Try <b><tt>gxemul -X -b -E hpc -e mobilepro770 netbsd-GENERIC</tt></b>
586        <p>        <p>
587        <li>Linux for BE300:        <li>Linux for BE300:
588          <br><a href="http://www.linux4.be/2004/linux4be20040908.zip">http://www.linux4.be/2004/linux4be20040908.zip</a>          <br><a href="http://www.linux4.be/2004/linux4be20040908.zip">http://www.linux4.be/2004/linux4be20040908.zip</a>
589          <br>Try <b>gxemul -X -b -E hpc -e be300 vmlinux</b>          <br>Try <b><tt>gxemul -X -b -E hpc -e be300 vmlinux</tt></b>
590        <p>        <p>
591        <li>Linux for Agenda VR3:        <li>Linux for Agenda VR3:
592          <br>Download <a href="http://agenda-snow.sourceforge.net/kernel-old-versions/binary/">http://agenda-snow.sourceforge.net/kernel-old-versions/binary</a>/<a href="http://agenda-snow.sourceforge.net/kernel-old-versions/binary/root1.2.6.kernel-8.00">root1.2.6.kernel-8.00</a>          <br>Download <a href="http://agenda-snow.sourceforge.net/kernel-old-versions/binary/">http://agenda-snow.sourceforge.net/kernel-old-versions/binary</a>/<a href="http://agenda-snow.sourceforge.net/kernel-old-versions/binary/root1.2.6.kernel-8.00">root1.2.6.kernel-8.00</a>
593          <br>and <a href="http://vr3.uid0.sk/cd/Software/VR3_Distributions/H2O/">http://vr3.uid0.sk/cd/Software/VR3_Distributions/H2O</a>/<a href="http://vr3.uid0.sk/cd/Software/VR3_Distributions/H2O/root1.2.6.cramfs">root1.2.6.cramfs</a>.          <br>and <a href="http://vr3.uid0.sk/cd/Software/VR3_Distributions/H2O/">http://vr3.uid0.sk/cd/Software/VR3_Distributions/H2O</a>/<a href="http://vr3.uid0.sk/cd/Software/VR3_Distributions/H2O/root1.2.6.cramfs">root1.2.6.cramfs</a>.
594          <br>(or <a href="http://www.ipsec.info/~www/agenda/dream-1-noxip.cramfs">http://www.ipsec.info/~www/agenda/dream-1-noxip.cramfs</a>)          <br>(or <a href="http://www.ipsec.info/~www/agenda/dream-1-noxip.cramfs">http://www.ipsec.info/~www/agenda/dream-1-noxip.cramfs</a>)
595          <br>Try <b>gxemul -b -X -E hpc -e vr3 -x 0xbf200000:root1.2.6.cramfs 0xbf000000:0:0xbf0005e0:root1.2.6.kernel-8.00</b>          <br>Try <b><tt>gxemul -b -X -E hpc -e vr3 -x 0xbf200000:root1.2.6.cramfs 0xbf000000:0:0xbf0005e0:root1.2.6.kernel-8.00</tt></b>
596          <br>(or replace root1.2.6.cramfs with dream-1-noxip.cramfs)          <br>(or replace root1.2.6.cramfs with dream-1-noxip.cramfs)
597          <br>Remove <b>-X</b> to try with serial console instead of X, and          <br>Remove <b><tt>-X</tt></b> to try with serial console instead of X, and
598                  remove <b>-b</b> to try without (old) bintrans.                  remove <b><tt>-b</tt></b> to try without (old) bintrans.
599          <br>Add <b>-o 'init=/bin/sh'</b> to boot into a single-user shell.          <br>Add <b><tt>-o 'init=/bin/sh'</tt></b> to boot into a single-user shell.
600          <br>Add <b>-o 'init=/sbin/restore_defaults'</b> to run          <br>Add <b><tt>-o 'init=/sbin/restore_defaults'</tt></b> to run
601                  a /sbin/restore_defaults (attempt to initialize the flash                  a <tt>/sbin/restore_defaults</tt> (attempt to initialize the
602                  memory).                  flash memory).
603        <p>        <p>
604        <li>Linux for MobilePro etc.:        <li>Linux for MobilePro etc.:
605          <br><a href="http://pc1.peanuts.gr.jp/~kei/Hard-Float/Kernels/">http://pc1.peanuts.gr.jp/~kei/Hard-Float/Kernels/</a>          <br><a href="http://pc1.peanuts.gr.jp/~kei/Hard-Float/Kernels/">http://pc1.peanuts.gr.jp/~kei/Hard-Float/Kernels/</a>
606          <br>Uncompress the archive to get a kernel, vmlinux-800 for example.          <br>Uncompress the archive to get a kernel, vmlinux-800 for example.
607          <br>Try <b>./gxemul -b -X -o 'root=/dev/hda1' -d r:disk.img -d r:disk.img -Ehpc -e mobilepro800 vmlinux-800</b>          <br>Try <b><tt>./gxemul -b -X -o 'root=/dev/hda1' -d r:disk.img -d r:disk.img -Ehpc -e mobilepro800 vmlinux-800</tt></b>
608          <br>where disk.img is an ext2fs filesystem with contents from          <br>where disk.img is an ext2fs filesystem with contents from
609          <a href="http://pc1.peanuts.gr.jp/~kei/Hard-Float/Miniroots/miniroot-20010330.tar.bz2">http://pc1.peanuts.gr.jp/~kei/Hard-Float/Miniroots/miniroot-20010330.tar.bz2</a>          <a href="http://pc1.peanuts.gr.jp/~kei/Hard-Float/Miniroots/miniroot-20010330.tar.bz2">http://pc1.peanuts.gr.jp/~kei/Hard-Float/Miniroots/miniroot-20010330.tar.bz2</a>
610          <br>(Note the double disk arguments.)          <br>(Note the double disk arguments.)
# Line 594  probably doesn't work in GXemul. Line 612  probably doesn't work in GXemul.
612        <p>        <p>
613        <li><a href="http://www.disorder.ru/openbsd/be300/">OpenBSD/be300</a>:        <li><a href="http://www.disorder.ru/openbsd/be300/">OpenBSD/be300</a>:
614          <br><a href="http://www.disorder.ru/openbsd/be300/bsd.rd">http://www.disorder.ru/openbsd/be300/bsd.rd</a>          <br><a href="http://www.disorder.ru/openbsd/be300/bsd.rd">http://www.disorder.ru/openbsd/be300/bsd.rd</a>
615          <br>Try <b>gxemul -X -b -E hpc -e be300 bsd.rd</b>          <br>Try <b><tt>gxemul -X -b -E hpc -e be300 bsd.rd</tt></b>
616          <br>Note: -b might be buggy, so you can try without that if you want to.          <br>Note: -b might be buggy, so you can try without that if you want to.
617      </ul>      </ul>
618    </li>    </li>
619    
620    <p>    <p>
621    
622      <li>Cobalt:
623        <ul>
624          <li><a href="http://www.netbsd.org/Ports/cobalt/">NetBSD/cobalt</a>:
625            <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/cobalt/binary/kernel/netbsd-GENERIC.gz</a>
626            <br>gunzip, and run with <b><tt>-E cobalt</tt></b>
627            <br>(Or read <a href="guestoses.html#netbsdcobaltinstall">this
628            section</a> on how to install NetBSD/cobalt onto a harddisk image.)
629          <p>
630          <li>Linux:
631            <br><a href="http://people.debian.org/~pm/mips-cobalt/nfsroot/vmlinux_raq-2800.gz">http://people.debian.org/~pm/mips-cobalt/nfsroot/vmlinux_raq-2800.gz</a>
632            <br>gunzip, and run with <b><tt>-E cobalt</tt></b>
633          <p>
634          <li>CoLo:
635            <br><a href="http://www.colonel-panic.org/cobalt-mips/colo/colo-1.19.tar.gz">http://www.colonel-panic.org/cobalt-mips/colo/colo-1.19.tar.gz</a>
636            <br><tt><b>tar zxvf colo-1.19.tar.gz colo-1.19/binaries/colo-rom-image.bin</b></tt>
637            <br><tt><b>gxemul -Q -Ecobalt -v 0xbfc00000:colo-1.19/binaries/colo-rom-image.bin</b></tt>
638            <br>(This doesn't work yet.)
639        </ul>
640      </li>
641    
642      <p>
643    
644    <li>Playstation 2:    <li>Playstation 2:
645      <ul>      <ul>
646        <li><a href="http://www.netbsd.org/Ports/playstation2/">NetBSD/playstation2</a>:        <li><a href="http://www.netbsd.org/Ports/playstation2/">NetBSD/playstation2</a>:
647          <br>NetBSD/playstation2 snapshot kernels are available here: (RAMDISK and GENERIC)          <br>NetBSD/playstation2 snapshot kernels are available here: (RAMDISK and GENERIC)
648          <br><a href="ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/installation/netbsd.gz">ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/installation/netbsd.gz</a>          <br><a href="ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/installation/netbsd.gz">ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/installation/netbsd.gz</a>
649          <br><a href="ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/binary/kernel/netbsd-GENERIC.gz</a>          <br><a href="ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.NetBSD.org/pub/NetBSD/arch/playstation2/snapshot/20020327/binary/kernel/netbsd-GENERIC.gz</a>
650          <br>Try running with <b>-X -E playstation2</b>  (<b>-X</b> is required, for the framebuffer).          <br>Try running with <b><tt>-X -E playstation2</tt></b>  (<b><tt>-X</tt></b> is required, for the framebuffer).
651    
652        <p>        <p>
653        <li>Linux:        <li>Linux:
654          <br>A Linux kernel (2.2.21-pre1-xr7) is available from          <br>A Linux kernel (2.2.21-pre1-xr7) is available from
655          <a href="http://playstation2-linux.com/projects/xrhino-kernel/">http://playstation2-linux.com/projects/xrhino-kernel/</a>          <a href="http://playstation2-linux.com/projects/xrhino-kernel/">http://playstation2-linux.com/projects/xrhino-kernel/</a>
656          <br>Try running with <b>-X -E playstation2</b>  (<b>-X</b> is required, for the framebuffer).          <br>Try running with <b><tt>-X -E playstation2</tt></b>  (<b><tt>-X</tt></b> is required, for the framebuffer).
657      </ul>      </ul>
658    </li>    </li>
659    
# Line 624  The following work even less than the on Line 664  The following work even less than the on
664    
665  <p>  <p>
666  <ul>  <ul>
   <li>Cobalt:  
     <ul>  
       <li><a href="http://www.netbsd.org/Ports/cobalt/">NetBSD/cobalt</a>:  
         <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/cobalt/binary/kernel/netbsd-GENERIC.gz</a>  
         <br>gunzip, and run with <b>-E cobalt</b>  
       <p>  
       <li>Linux:  
         <br><a href="http://people.debian.org/~pm/mips-cobalt/nfsroot/vmlinux_raq-2800.gz">http://people.debian.org/~pm/mips-cobalt/nfsroot/vmlinux_raq-2800.gz</a>  
         <br>gunzip, and run with <b>-E cobalt</b>  
     </ul>  
   </li>  
   
   <p>  
   
667    <li>Sony NeWS:    <li>Sony NeWS:
668      <ul>      <ul>
669        <li><a href="http://www.netbsd.org/Ports/newsmips/">NetBSD/newsmips</a>:        <li><a href="http://www.netbsd.org/Ports/newsmips/">NetBSD/newsmips</a>:
# Line 645  The following work even less than the on Line 671  The following work even less than the on
671                  available here:                  available here:
672          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.gz</a>
673          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.symbols.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/newsmips/binary/kernel/netbsd-INSTALL.symbols.gz</a>
674          <br>Try running with <b>-E sonynews</b>.          <br>Try running with <b><tt>-E sonynews</tt></b>.
675          <br>There's also a boot floppy available, but the emulator currently          <br>There's also a boot floppy available, but the emulator currently
676                  doesn't support booting from it:                  doesn't support booting from it:
677          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6/newsmips/installation/floppy/boot.fs">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6/newsmips/installation/floppy/boot.fs</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6/newsmips/installation/floppy/boot.fs">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6/newsmips/installation/floppy/boot.fs</a>
# Line 659  The following work even less than the on Line 685  The following work even less than the on
685        <li>Linux:        <li>Linux:
686          <br>A Linux kernel is available from          <br>A Linux kernel is available from
687          <a href="http://www.meshcube.org/feed/stable/">http://www.meshcube.org/feed/stable</a>/<a href="http://www.meshcube.org/feed/stable/kernel-image-mtx_2.4.24-3_mipsel.ipk">kernel-image-mtx_2.4.24-3_mipsel.ipk</a>          <a href="http://www.meshcube.org/feed/stable/">http://www.meshcube.org/feed/stable</a>/<a href="http://www.meshcube.org/feed/stable/kernel-image-mtx_2.4.24-3_mipsel.ipk">kernel-image-mtx_2.4.24-3_mipsel.ipk</a>
688          <br>(This is a Debian package, you can use <b>ar</b> and <b>tar</b>          <br>(This is a Debian package, you can use <tt><b>ar</b></tt> and
689                  to extract kernel.img from it.)                  <tt><b>tar</b></tt> to extract kernel.img from it.)
690          <br>Try running with <b>-E meshcube 0x80800000:kernel.img</b>.          <br>Try running with <b><tt>-E meshcube 0x80800000:kernel.img</tt></b>.
691      </ul>      </ul>
692    </li>    </li>
693    
# Line 673  The following work even less than the on Line 699  The following work even less than the on
699          <br>A Linux kernel is available from          <br>A Linux kernel is available from
700          <a href="ftp://downloads.netgear.com/files/wg602_v1715.zip">ftp://downloads.netgear.com/files/wg602_v1715.zip</a>          <a href="ftp://downloads.netgear.com/files/wg602_v1715.zip">ftp://downloads.netgear.com/files/wg602_v1715.zip</a>
701          <br>(Unzip wg602_v1715.zip to get WG602_V1715.img.)          <br>(Unzip wg602_v1715.zip to get WG602_V1715.img.)
702          <br>Try running with <b>-E netgear 0xbfc80000:0x40:WG602_V1715.img</b>.          <br>Try running with <b><tt>-E netgear 0xbfc80000:0x40:WG602_V1715.img</tt></b>.
703          <br>(It takes some time to decompress the kernel, so be patient.)          <br>(It takes some time to decompress the kernel, so be patient.)
704            <br>(This doesn't really work yet.)
705      </ul>      </ul>
706    </li>    </li>
707    
   <p>  
   
   <li>Linksys WRT54G:  
     <ul>  
       <li>Linux:  
         <br><a href="http://openwrt.org/">OpenWRT</a> is a Linux  
                 distribution for the WRT54G.  
         <br><a href="http://www.batbox.org/wrt54g-linux.html">BatBox</a>  
                 is another distribution.  
         <br>Download <a href="http://pjf.dotgeek.org/downloads/openwrt/openwrt-g-code.bin">http://pjf.dotgeek.org/downloads/openwrt/openwrt-g-code.bin</a>  
                 (or a similar .bin file).  
         <br>From offset 60 and forward in the bin file, there is a gzip file.  
         <br>$ <b>dd if=openwrt-g-code.bin of=piggy.gz bs=60 iseek=1 oseek=0</b>  
         <br>$ <b>gunzip piggy.gz</b>  
         <br>$ <b>gxemul -E linksys -t 0x80001000:piggy</b>  
         <br>There's also a .bin file available from linksys:  
                 <a href="ftp://ftp.linksys.com/pub/network/WRT54G_1.30.7_US_code.bin">ftp://ftp.linksys.com/pub/network/WRT54G_1.30.7_US_code.bin</a>  
     </ul>  
   </li>  
708  </ul>  </ul>
709    
710  <p>  <p>
# Line 711  modes are just skeletons so far. Line 719  modes are just skeletons so far.
719        <li><a href="http://www.netbsd.org/Ports/evbppc/">NetBSD/evbppc</a>:        <li><a href="http://www.netbsd.org/Ports/evbppc/">NetBSD/evbppc</a>:
720          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/evbppc/binary/kernel/netbsd-INSTALL_WALNUT.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/evbppc/binary/kernel/netbsd-INSTALL_WALNUT.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/evbppc/binary/kernel/netbsd-INSTALL_WALNUT.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/evbppc/binary/kernel/netbsd-INSTALL_WALNUT.gz</a>
721          <br>gunzip, and try the following:          <br>gunzip, and try the following:
722          <br>$ <b>gxemul -E walnut -v -t netbsd-INSTALL_WALNUT</b>          <br><tt><b>gxemul -E walnut -v -t netbsd-INSTALL_WALNUT</b></tt>
723      </ul>      </ul>
724    </li>    </li>
725    
# Line 722  modes are just skeletons so far. Line 730  modes are just skeletons so far.
730        <li><a href="http://www.netbsd.org/Ports/pmppc/">NetBSD/pmppc</a>:        <li><a href="http://www.netbsd.org/Ports/pmppc/">NetBSD/pmppc</a>:
731          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmppc/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmppc/binary/kernel/netbsd-INSTALL.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmppc/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/pmppc/binary/kernel/netbsd-INSTALL.gz</a>
732          <br>gunzip, and try the following:          <br>gunzip, and try the following:
733          <br>$ <b>gxemul -E pmppc netbsd-INSTALL</b>          <br><tt><b>gxemul -E pmppc netbsd-INSTALL</b></tt>
734      </ul>      </ul>
735    </li>    </li>
736    
# Line 733  modes are just skeletons so far. Line 741  modes are just skeletons so far.
741        <li><a href="http://www.netbsd.org/Ports/sandpoint/">NetBSD/sandpoint</a>:        <li><a href="http://www.netbsd.org/Ports/sandpoint/">NetBSD/sandpoint</a>:
742          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sandpoint/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sandpoint/binary/kernel/netbsd-INSTALL.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sandpoint/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sandpoint/binary/kernel/netbsd-INSTALL.gz</a>
743          <br>gunzip, and try the following:          <br>gunzip, and try the following:
744          <br>$ <b>gxemul -E sandpoint -v -t netbsd-INSTALL</b>          <br><tt><b>gxemul -E sandpoint -v -t netbsd-INSTALL</b></tt>
745      </ul>      </ul>
746    </li>    </li>
747    
# Line 744  modes are just skeletons so far. Line 752  modes are just skeletons so far.
752        <li><a href="http://www.netbsd.org/Ports/prep/">NetBSD/prep</a>:        <li><a href="http://www.netbsd.org/Ports/prep/">NetBSD/prep</a>:
753          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/prep/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/prep/binary/kernel/netbsd-INSTALL.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/prep/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/prep/binary/kernel/netbsd-INSTALL.gz</a>
754          <br>gunzip, and try the following:          <br>gunzip, and try the following:
755          <br>$ <b>gxemul -E prep -v -t netbsd-INSTALL</b>          <br><tt><b>gxemul -E prep -v -t netbsd-INSTALL</b></tt>
756        <p>        <p>
757        <li>Linux:        <li>Linux:
758          <br><a href="http://jocelyn.mayer.free.fr/qemu-ppc/linux_images/2.4.25-PPC/vmlinux">http://jocelyn.mayer.free.fr/qemu-ppc/linux_images/2.4.25-PPC/vmlinux</a>          <br><a href="http://jocelyn.mayer.free.fr/qemu-ppc/linux_images/2.4.25-PPC/vmlinux">http://jocelyn.mayer.free.fr/qemu-ppc/linux_images/2.4.25-PPC/vmlinux</a>
759          <br>$ <b>gxemul -E prep -v -t vmlinux</b>          <br><tt><b>gxemul -E prep -v -t vmlinux</b></tt>
760      </ul>      </ul>
761    </li>    </li>
762    
# Line 758  modes are just skeletons so far. Line 766  modes are just skeletons so far.
766      <ul>      <ul>
767        <li><a href="http://www.netbsd.org/Ports/macppc/">NetBSD/macppc</a>:        <li><a href="http://www.netbsd.org/Ports/macppc/">NetBSD/macppc</a>:
768          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/macppc/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/macppc/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/macppc/binary/kernel/netbsd-INSTALL.gz">netbsd-INSTALL.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/macppc/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/macppc/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/macppc/binary/kernel/netbsd-INSTALL.gz">netbsd-INSTALL.gz</a>
769          <br>$ <b>gxemul -E macppc -e g4 -t netbsd-INSTALL</b>          <br><tt><b>gxemul -E macppc -e g4 -t netbsd-INSTALL</b></tt>
770        <p>        <p>
771        <li><a href="http://www.openbsd.org/macppc.html">OpenBSD/macppc</a>:        <li><a href="http://www.openbsd.org/macppc.html">OpenBSD/macppc</a>:
772          <br><a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.6/macppc/">ftp://ftp.openbsd.org/pub/OpenBSD/3.6/macppc</a>/<a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.6/macppc/bsd.rd">bsd.rd</a>          <br><a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.6/macppc/">ftp://ftp.openbsd.org/pub/OpenBSD/3.6/macppc</a>/<a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.6/macppc/bsd.rd">bsd.rd</a>
773          <br>$ <b>gxemul -E macppc -e g4 -t bsd.rd</b>          <br><tt><b>gxemul -E macppc -e g4 -t bsd.rd</b></tt>
774      </ul>      </ul>
775    </li>    </li>
776    
# Line 772  modes are just skeletons so far. Line 780  modes are just skeletons so far.
780      <ul>      <ul>
781        <li><a href="http://www.netbsd.org/Ports/bebox/">NetBSD/bebox</a>:        <li><a href="http://www.netbsd.org/Ports/bebox/">NetBSD/bebox</a>:
782          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/">ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/kern.tgz">kern.tgz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/">ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/kern.tgz">kern.tgz</a>
783          <br>$ <b>tar tvzf kern.tgz</b>          <br><tt><b>tar xvzf kern.tgz</b></tt>
784          <br>$ <b>gxemul -E bebox netbsd</b>          <br><tt><b>gxemul -E bebox netbsd</b></tt>
785        <p>        <p>
786        <li><a href="http://www.bebox.nu/os.php?s=os/linux/index">Linux/bebox</a>:        <li><a href="http://www.bebox.nu/os.php?s=os/linux/index">Linux/bebox</a>:
787          <br><a href="http://www.bebox.nu/files/linux/BeBox-scsi-980610.gz">http://www.bebox.nu/files/linux/BeBox-scsi-980610.gz</a>          <br><a href="http://www.bebox.nu/files/linux/BeBox-scsi-980610.gz">http://www.bebox.nu/files/linux/BeBox-scsi-980610.gz</a>
788          <br>$ <b>gunzip BeBox-scsi-980610.gz</b>          <br><tt><b>gunzip BeBox-scsi-980610.gz</b></tt>
789          <br>$ <b>gxemul -E bebox 0x3100:0x400:BeBox-scsi-980610</b>          <br><tt><b>gxemul -E bebox 0x3100:0x400:BeBox-scsi-980610</b></tt>
790      </ul>      </ul>
791    </li>    </li>
792    
# Line 789  modes are just skeletons so far. Line 797  modes are just skeletons so far.
797        <li><a href="http://www.netbsd.org/Ports/sparc64/">NetBSD/sparc64</a>:        <li><a href="http://www.netbsd.org/Ports/sparc64/">NetBSD/sparc64</a>:
798          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sparc64/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sparc64/binary/kernel/netbsd-INSTALL.gz</a>          <br><a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sparc64/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sparc64/binary/kernel/netbsd-INSTALL.gz</a>
799          <br>gunzip, and try the following:          <br>gunzip, and try the following:
800          <br>$ <b>gxemul -E ultra1 -v -i netbsd-INSTALL</b>          <br><tt><b>gxemul -E ultra1 -v -i netbsd-INSTALL</b></tt>
801        <p>        <p>
802        <li><a href="http://www.openbsd.org/sparc64.html">OpenBSD/sparc64</a>:        <li><a href="http://www.openbsd.org/sparc64.html">OpenBSD/sparc64</a>:
803          <br><a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.6/sparc64/bsd.rd">ftp://ftp.openbsd.org/pub/OpenBSD/3.6/sparc64/bsd.rd</a>          <br><a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.6/sparc64/bsd.rd">ftp://ftp.openbsd.org/pub/OpenBSD/3.6/sparc64/bsd.rd</a>
804          <br>rename to bsd.rd.gz, gunzip, and try the following:          <br>rename to bsd.rd.gz, gunzip, and try the following:
805          <br>$ <b>gxemul -E ultra1 -v -i bsd.rd</b>          <br><tt><b>gxemul -E ultra1 -v -i bsd.rd</b></tt>
806      </ul>      </ul>
807    </li>    </li>
808  </ul>  </ul>
# Line 810  for more info.) Line 818  for more info.)
818    <li>URISC:    <li>URISC:
819      <ul>      <ul>
820        <li>I've placed a small test program in the experiments directory.        <li>I've placed a small test program in the experiments directory.
821          <br>Start like this: <b>gxemul -E testurisc 0:urisc_test.bin</b>          <br>Start like this: <tt><b>gxemul -E testurisc 0:urisc_test.bin</b></tt>
822          <br>or, if you want to single-step:          <br>or, if you want to single-step:
823                  <b>gxemul -V -E testurisc 0:urisc_test.bin</b>                  <b><tt>gxemul -V -E testurisc 0:urisc_test.bin</b></tt>
824          <br>2005-03-01: All outputed characters are printed twice. I'll          <br>2005-03-01: All outputed characters are printed twice. I'll
825          try to make a pseudo-device for outputing to "normal" devices          try to make a pseudo-device for outputing to "normal" devices
826          later.          later.

Legend:
Removed from v.4  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.26