OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [doc/] [w11a_os_guide.txt] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 wfjm
# $Id: w11a_os_guide.txt 680 2015-05-14 13:29:46Z mueller $
2 4 wfjm
 
3 5 wfjm
Guide to run operating system images on w11a systems
4
 
5
  Table of content:
6
 
7 21 wfjm
    1.  I/O emulation setup
8
    2.  FPGA Board setup
9
    3.  Rlink and Backend Server setup
10
    4.  simh simulator setup
11
    5.  oskits
12
        a. Unix systems
13
        b. DEC operating systems
14 5 wfjm
 
15 4 wfjm
1. I/O emulation setup ----------------------------------------------------
16
 
17 29 wfjm
   All UNIBUS peripherals which exchange data (currently DL11, LP11, PC11, RK11,
18
   and RL11) are currently emulated via a backend process. The communication
19
   between FPGA board and backend server can be via
20 4 wfjm
 
21 29 wfjm
   - Serial port
22
     - via an integrated USB-UART bridge
23
       - on basys3 and nexys4 with a FT2232HQ, allows up to 12M Baud
24
       - on nexys3 with a FT232R, allows up to 2M Baud
25
     - via RS232 port, as on s3board and nexys2
26
       - using a serial port (/dev/ttySx) is limited to 115 kBaud on most PCs.
27
       - using a USB-RS232 adapter was tested up to 460k Baud.
28
 
29 21 wfjm
   - Direct USB connection using a Cypress FX2 USB controller
30
     - is supported on the nexys2 and nexys3 FPGA boards
31
     - much faster than serial port connections (see below)
32
     - also allows to configure the FPGA over the same USB connection
33
 
34 29 wfjm
   Notes:
35
   - A 10M Baud connection, like on a nexys4, gives disk access rates and
36
     throughputs much better than the real hardware of the 70's and is well
37
     suitable for practical usage.
38
   - In an OS with good disk caching like 2.11BSD the impact of disk speed
39
     is actually smaller than the bare numbers suggest.
40
   - A 460k Baud connection gives in practice a disk throughput of ~20 kB/s.
41
     This allows to test the system but is a bit slow for real usage.
42
   - USB-RS232 cables with a FTDI FT232R chip work fine, tests with Prolific
43
     Technology PL2303 based cable never gave reliable connections for higher
44
     Baud rates.
45
 
46
   Recommended setup for best performance (boards ordered by vintage):
47
 
48
       Board   Channel/Interface      nom. speed      peak transfer rate
49
 
50
      basys3   USB-UART bridge        10M Baud              910 kB/sec
51
      nexys4   USB-UART bridge        10M Baud              910 kb/sec
52
      nexys3   Cypress FX2 USB        USB2.0 speed        30000 kB/sec
53
      nexys2   Cypress FX2 USB        USB2.0 speed        30000 kB/sec
54
     s3board   RS232+USB-RS232 cable  460k Baud              41 kB/sec
55 20 wfjm
 
56 4 wfjm
2. FPGA Board setup -------------------------------------------------------
57
 
58 29 wfjm
   Recommended setups
59 21 wfjm
 
60 29 wfjm
   - Basys3
61
     - connect USB cable to micro-USB connector labeled 'PROG'
62
     - to configure via vivado hardware server
63
         make .vconfig
64 4 wfjm
 
65 29 wfjm
   - Nexys4
66
     - connect USB cable to micro-USB connector labeled 'PROG'
67
     - to configure via vivado hardware server
68
         make .vconfig
69
 
70
   - Nexys3
71
     - use Cypress FX for configure and and rlink communication
72
     - connect USB cable to micro-USB connector labeled 'USB PROG'
73
     - to configure via FX2 and jtag tool
74 21 wfjm
         make .jconfig
75 29 wfjm
 
76
   - Nexys2
77
     - connect USB cable to mini-USB connector (between RS232 and PS/2 port)
78
     - to configure via FX2 and jtag tool
79
         make .jconfig
80
 
81
   - S3board
82
     - connect the USB-RS232 cable to the RS232 port
83
     - connect a JTAG programmer (e.g. Xilinx USB Cable II) to JTAG pins
84
     - to configure via ISE Impact
85 21 wfjm
         make .iconfig
86 15 wfjm
 
87 21 wfjm
3. Rlink and Backend Server setup -----------------------------------------
88 4 wfjm
 
89 21 wfjm
   All examples below use the same basic setup
90 4 wfjm
 
91 21 wfjm
   - setup vt100 emulator windows
92 4 wfjm
 
93 21 wfjm
       cd $RETROBASE/tools/oskit/
94 27 wfjm
       console_starter -d DL0 &
95
       console_starter -d DL1 &
96 20 wfjm
 
97 21 wfjm
   - setup rlink connection using ti_rri backend server via the ti_w11
98
     quick start wrapper script. Ensure that all 8 switches on the board
99
     are in the indicated positions (SWI=...). The concrete boot script
100
     name  is given in the following sections
101 4 wfjm
 
102 29 wfjm
     - for b3 over serial
103
         SWI = 00000000 00101010
104
         ti_w11 -tu,10M,break,xon  @_boot.tcl
105 20 wfjm
 
106 29 wfjm
         NOTE: the basys3 w11a has only 176 kB memory (all from BRAMS!)
107
               unix-v5 works fine. XXDP, RT11 and RSX-11M should work.
108
               211bsd will not boot, either most RSX-11M+ systems.
109
 
110
     - for n4 over serial
111
         SWI = 00000000 00101000
112
         ti_w11 -tu,10M,break,cts  @_boot.tcl
113
 
114
     - for n2,n3 over fx2
115
         SWI = 00101100
116
         ti_w11 -u @_boot.tcl
117
 
118
     - for s3 serial
119
         SWI = 00101010
120
         ti_w11 -tu,460k,break,xon @_boot.tcl
121 21 wfjm
 
122 29 wfjm
     Notes:
123
     - on , the serial device number
124
       - check with 'ls /dev/ttyUSB*' to see what is available
125
       -  is typically '1' if only a single basys3 or nexys4 is connected
126
         Initially two ttyUSB devices show up, the lower is for FPGA config
127
         and will disappear when Vivado hardware server is used once. The
128
         upper provides the data connection.
129
       -  is typically '0' if only a single USB-RS232 cable is connected
130
 
131
     - on LED display
132
       - is controlled by SWI(3)
133
 
134
           1 -> DR emulation --> OS specific light patterns
135
 
136
     - on Hex display
137
       - is controlled by SWI(5:4)
138
       - boards with a 4 digit display
139
           00 -> serial link rate divider
140
           01 -> PC
141
           10 -> DISPREG
142
           11 -> DR emulation
143
       - boards with 8 digit display
144
         - SWI(5) select for DSP(7:4) display
145
 
146
             1 -> PC
147
         - SWI(4) select for DSP(3:0) display
148
 
149
             1 -> DR emulation
150
 
151 21 wfjm
4. simh simulator setup ---------------------------------------------------
152 20 wfjm
 
153 21 wfjm
   Sometimes it is good to compare the w11a behaviour with the PDP-11 software
154
   emulator from the simh project (see http://simh.trailing-edge.com/).
155 20 wfjm
 
156 21 wfjm
   Under $RETROBASE/tools/simh two setup files are provided with configure
157
   simh to reflect the w11a setup as close as possible:
158
   - setup_w11a_min.scmd
159 29 wfjm
     Very close the current w11a state when it runs on an s3board
160 21 wfjm
     - processor: 11/70, no FPP, 1 Mbyte
161
     - periphery:   2 DL11, LP11, RK11, PC11
162
   - setup_w11a_max.scmd
163
     Planned configuration for the w11a, in addition
164
     - processor: 4 Mbyte memory (as on Nexys2, Nexys3,...)
165
     - periphery: DZ11, RL11/RL02, RK70/RP06, TM11/TU10
166 4 wfjm
 
167 21 wfjm
   Startup scripts are provided with each oskit. They call the w11a_max
168
   configuration, so will show in the emulator what w11a can do when
169
   finished.
170 4 wfjm
 
171 21 wfjm
   All examples below use the same basic setup
172 4 wfjm
 
173 21 wfjm
   - setup vt100 emulator window for 2nd DL11
174 4 wfjm
 
175 21 wfjm
       cd $RETROBASE/tools/oskit/
176 27 wfjm
       console_starter -s -d DL1 &
177 4 wfjm
 
178 21 wfjm
       {Note: the -s ensures that the port numbers used by simh are taken!}
179 4 wfjm
 
180 21 wfjm
   - start the simulator
181 4 wfjm
 
182 21 wfjm
     pdp11 _boot.scmd
183 20 wfjm
 
184 21 wfjm
5. oskits -----------------------------------------------------------------
185 4 wfjm
 
186 21 wfjm
   Ready to be used 'oskits' are provided under
187
     $RETROBASE/tools/oskit/
188 20 wfjm
 
189 21 wfjm
   The tarballs with the disk images are provided from a web server
190
   and have to be installed separately.
191 20 wfjm
 
192 21 wfjm
5a. Unix systems -----------------------------------------------------
193 20 wfjm
 
194 21 wfjm
   Legal and license issues:
195 20 wfjm
 
196 21 wfjm
     Ancient UNIX systems for the PDP-11 can now be freely used under the
197
     'Caldera license'. 2.11BSD was released 1992 under the 4 clause BSD
198
     license. Taken together
199 4 wfjm
 
200 21 wfjm
       - Unix V1 to V7
201
       - all BSD Unix versions for PDP-11
202 4 wfjm
 
203 21 wfjm
     can be freely distributed and used for non-commercial purposes.
204 4 wfjm
 
205 30 wfjm
   Several oskits are provided:
206 4 wfjm
 
207 21 wfjm
     - unix-v5_rk: Unix V5 System on RK05
208 29 wfjm
 
209 30 wfjm
     - 211bsd_rk:  2.11BSD system on RK05  (very elementary subset)
210
     - 211bsd_rl:  2.11BSD system on RL02  (small subset)
211
     - 211bsd_rp:  2.11BSD system on RP06  (full system)
212
 
213 21 wfjm
   For further details consult the README_set.txt file in the
214
   oskit directory.
215 4 wfjm
 
216 21 wfjm
5b. DEC operating systems --------------------------------------------
217
 
218
   Legal and license issues:
219 4 wfjm
 
220 21 wfjm
     Unfortunately there is no general hobbyist license for DEC operating
221 25 wfjm
     systems for PDP-11 computers. The 'Mentec license' is commonly understood
222 21 wfjm
     to cover the some older versions of DEC operating systems, for example
223
       - RT-11 V5.3 or prior
224
       - RSX-11M V4.3 or prior
225
       - RSX-11M PLUS V3.0 or prior
226 25 wfjm
     on a simulator. It is commonly assumed that the license terms cover the
227
     usage of the PDP11 simulator from the 'simh' suite. Usage of the e11
228
     simulator is not covered according to the author of e11.
229 21 wfjm
 
230
     HOWEVER: THIS LICENSE DOES NOT COVER THE USAGE OF THESE HISTORIC DEC
231
              OPERATING SYSTEMS ON ANY 'REAL HARDWARE' IMPLEMENTATION OF A
232
              PDP-11. SO USAGE ON THE W11 IS *NOT* COVERED BY THE
233
              'Mentec-license'.
234
 
235
   Some oskits are provided with systems sysgen'ed to run on a configuration
236
   like the w11a.
237
 
238
   - Feel free to explore them with the simh simulator.
239
     The boot scripts for simh are included ( .simh )
240
 
241
   - In case you happen to have a valid license feel free to try them
242
     out the W11A and let the author know whether is works as it should.
243
     For convenience the boot scripts are also included ( .tcl ).
244
 
245 30 wfjm
   Several oskits are provided:
246 21 wfjm
 
247 30 wfjm
     - rsx11m-31_rk:   RSX-11M V3.1    on RK05
248
     - rsx11m-40_rk:   RSX-11M V4.0    on RK05
249 21 wfjm
 
250 30 wfjm
     - rsx11mp-30_rp:  RSX-11M+ V3.0   on RP06
251
 
252
     - rt11-40_rk:     RT-11 V4.0      on RK05
253
     - rt11-53_rl:     RT-11 V5.3      on RL02
254
 
255
     - xxdp_rl:        XXDP 22 and 25  on RL02
256
 
257 21 wfjm
   For further details consult the README_set.txt file in the
258
   oskit directory.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.