1 |
<html> |
<html><head><title>GXemul documentation: Misc.</title> |
2 |
<head><title>GXemul documentation: Misc.</title> |
<meta name="robots" content="noarchive,nofollow,noindex"></head> |
3 |
</head> |
<body bgcolor="#f8f8f8" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
4 |
<body bgcolor="#ffffff" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
<table border=0 width=100% bgcolor="#d0d0d0"><tr> |
5 |
<p> |
<td width=100% align=center valign=center><table border=0 width=100%><tr> |
6 |
<table width="100%"> |
<td align="left" valign=center bgcolor="#d0efff"><font color="#6060e0" size="6"> |
7 |
<tr><td width="100%" bgcolor="#808070"><font color="#ffffe0" size="6"> |
<b>GXemul documentation:</b></font> |
8 |
<b>GXemul documentation: Misc.</b></font></td></tr> |
<font color="#000000" size="6"><b>Misc.</b> |
9 |
</table> |
</font></td></tr></table></td></tr></table><p> |
|
<p> |
|
|
<!-- The first 10 lines are cut away by the homepage updating script. --> |
|
|
|
|
10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: misc.html,v 1.37 2005/04/07 15:50:38 debug Exp $ |
$Id: misc.html,v 1.42 2005/06/26 08:42:26 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2005 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2005 Anders Gavare. All rights reserved. |
16 |
|
|
155 |
Here are some examples. If you want to run a NetBSD/pmax kernel on an |
Here are some examples. If you want to run a NetBSD/pmax kernel on an |
156 |
emulated DECstation machine, you would use a command line such as this: |
emulated DECstation machine, you would use a command line such as this: |
157 |
<pre> |
<pre> |
158 |
$ <b>gxemul -E dec -e 3max -b -d pmax_diskimage.fs netbsd-pmax-INSTALL</b> |
$ <b>gxemul -E dec -e 3max -d pmax_diskimage.fs netbsd-pmax-INSTALL</b> |
159 |
</pre> |
</pre> |
160 |
<p> |
<p> |
161 |
NOTE: For some emulation modes, such as the DECstation mode, you do |
NOTE: For some emulation modes, such as the DECstation mode, you do |
166 |
image is added; the first will be SCSI target 0, the second will be target 1, and so on, |
image is added; the first will be SCSI target 0, the second will be target 1, and so on, |
167 |
unless you specify explicitly which ID number the devices should have. |
unless you specify explicitly which ID number the devices should have. |
168 |
<pre> |
<pre> |
169 |
$ <b>gxemul -E dec -e 3max -b -d disk0.raw -d disk1.raw -d 5:disk2.raw netbsd-pmax-INSTALL</b> |
$ <b>gxemul -E dec -e 3max -d disk0.raw -d disk1.raw -d 5:disk2.raw netbsd-pmax-INSTALL</b> |
170 |
</pre> |
</pre> |
171 |
Note: In the example above, disk2.raw will get scsi id 5. |
Note: In the example above, disk2.raw will get scsi id 5. |
172 |
<p> |
<p> |
175 |
For example, the following command would start the emulator with two |
For example, the following command would start the emulator with two |
176 |
CDROM images, and one harddisk image: |
CDROM images, and one harddisk image: |
177 |
<pre> |
<pre> |
178 |
$ <b>gxemul -E dec -e 3max -b -d image.iso -d disk0.img -d c:second_cdrom.img netbsd-pmax-INSTALL</b> |
$ <b>gxemul -E dec -e 3max -d image.iso -d disk0.img -d c:second_cdrom.img netbsd-pmax-INSTALL</b> |
179 |
</pre> |
</pre> |
180 |
Usually, the device with the lowest id becomes the boot device. To override |
Usually, the device with the lowest id becomes the boot device. To override |
181 |
this, add a 'b' prefix to one of the devices: |
this, add a 'b' prefix to one of the devices: |
182 |
<pre> |
<pre> |
183 |
$ <b>gxemul -E dec -e 3max -b -d rootdisk.img -d bc:install-cd.iso name_of_kernel</b> |
$ <b>gxemul -E dec -e 3max -d rootdisk.img -d bc:install-cd.iso name_of_kernel</b> |
184 |
</pre> |
</pre> |
185 |
If you have a physical CD-ROM drive on the host machine, say /dev/cd0c, you can |
If you have a physical CD-ROM drive on the host machine, say /dev/cd0c, you can |
186 |
use it as a CD-ROM directly accessible from within the emulator: |
use it as a CD-ROM directly accessible from within the emulator: |
187 |
<pre> |
<pre> |
188 |
$ <b>gxemul -E dec -e 3max -b -d rootdisk.img -d bc:/dev/cd0c name_of_kernel</b> |
$ <b>gxemul -E dec -e 3max -d rootdisk.img -d bc:/dev/cd0c name_of_kernel</b> |
189 |
</pre> |
</pre> |
190 |
It is probably possible to use harddisks as well this way, but I would not |
It is probably possible to use harddisks as well this way, but I would not |
191 |
recommend it. |
recommend it. |
458 |
During bootup, the PROM complains <i>a lot</i> about hardware failures. |
During bootup, the PROM complains <i>a lot</i> about hardware failures. |
459 |
That's because the emulator doesn't emulate the hardware well enough yet. |
That's because the emulator doesn't emulate the hardware well enough yet. |
460 |
<p> |
<p> |
461 |
The command line options used are: |
The command line options used are: -E dec for DECstation, -e 3min for |
462 |
-D3 for DECstation model 3 (5000/1xx), -Q to supress the emulator's own PROM |
"model 3" (5000/1xx), -Q to supress the emulator's own PROM |
463 |
call emulation, -M128 for 128MB RAM (because GXemul doesn't correctly |
call emulation, -M128 for 128MB RAM (because GXemul doesn't correctly |
464 |
emulate memory detection well enough for the PROM to accept, so it will |
emulate memory detection well enough for the PROM to accept, so it will |
465 |
always believe there is 128MB ram anyway), and -q to supress debug messages. |
always believe there is 128MB ram anyway), and -q to supress debug messages. |