source: rtems/bsps/m68k/mvme162/README @ ff081aee

5
Last change on this file since ff081aee was eb36d11, checked in by Sebastian Huber <sebastian.huber@…>, on 04/25/18 at 13:06:08

bsps: Move documentation, etc. files to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 6.4 KB
Line 
1--
2--  EISCAT Scientific Association. M.Savitski
3--
4--  This material is a part of the MVME162 Board Support Package
5--  for the RTEMS executive. Its licensing policies are those of the
6--  RTEMS distribution.
7--
8--  Updated by Joel Sherrill (jsherril@redstone.army.mil) after
9--  inclusion in the standard release.
10--
11
12
13MVME162 Models
14--------------
15
16There are three different models of the MVME162 board.  There are many
17variations within each model.
18
19  Model        Variants
20  ---------    --------------------------------------------------
21  MVME162      MVME162-0xx
22  MVME162FX    MVME162-4xx, MVME162-5xx
23  MVME162LX    MVME162-2xx, MVME162-3xx, MVME162-7xx, MVME162-8xx
24
25All models use either an MC68040 or MC68LC040 (no FPU) processors.  The
26processor used varies by variant as does the speed, the amount and type
27of memory and the I/O devices (serial, ethernet, SCSI and VME).  See the
28README.models file for details.
29
30
31Configuring the BSP
32-------------------
33The BSP needs to be configured for your specific board.  The following
34files need to be modified.
35
36include/bsp.h
37Change the MOT_162BUG_VEC_ADDRESS define to start of memory for your
38board
39
40make/custom/mvme162.cfg
41If your board has an MC68040 processor
42- change the value of RTEMS_CPU_MODEL
43- remove the -msoft-float flag from CPU_CFLAGS
44
45
46
47MVME162FX and DMA on the IP bus
48-------------------------------
49
50From Eric Vaitl <eric@viasat.com>:
51
52If you have any customers that will be using the 162FX, tell them to
53be careful. The main difference between the 162 and the 162FX is DMA
54on the IP bus. I spent over a month trying to write a DMA HDLC driver
55for GreenSprings IP-MP and couldn't get it to work. I talked to some
56people at GreenSprings, and they agreed that there really is no way to
57get DMA to work unless you know the size of the packets in advance.
58Once the IP2 chip DMA controller is given the character count and
59enabled, it doesn't accept further commands until all of the
60characters have arrived. The only way to terminate a DMA transfer
61prematurely is by raising DMAEND* during the last read. None of the IP
62modules that I know of are currently able to do that. GreenSprings is
63working on the problem, but nothing is going to available for a few
64months.
65
66Installation
67------------
68Nothing unique to the MVME162.  It has been incorporated into the
69standard release.
70
71Port Description
72----------------
73This section describes the initial port effort.  There have been
74additions and modifications to the bsp since this was done.
75Interestingly, this was the first bsp submitted to the RTEMS project
76and the submission offer came out of the blue with no prior
77communication with the author. :)
78
79The port was done using already existing ports to the M68020 boards,
80DMV152 and MVME136.
81
82The initial host development system was SUN/Solaris 2.3, and
83the cross-development environment consisted of Free Software
84Foundation (FSF)'s GNU C compiler (version 2.6), GNU Assembler
85(version 2.3) and GNU binary utilities binutils version 2.5.2,
86built with m68k as a target. The recent/latest versions of other
87GNU programs (flex, make, etc) were also used at the build stage.
88
89In all subdirectories of the RTEMS distribution tree, the directories
90mvme136 were duplicated as mvme162.
91
92Essential modifications are detailed below:
93
94- the MVME162-specific hardware registers were described in bsp.h
95
96- timer and clock routines were made to use the MVME162's Tick Timers 1
97and 2, respectively
98
99- shared memory support was replaced by stubs for the time being
100
101- console IO was lifted entirely from the DMV152 support code, thanks
102to the fact that Z8530 SCC used in DMV152 is upwards compatible with
103the Z85230 SCC of the MVME162. (Only the memory mapping of the SCC
104registers had to be changed.)
105
106- symbols in several *.s files were prepended with underscores to
107comply with the xgcc configuration used (it prepends underscores to all
108symbols defined in c code)
109
110- linkcmds file was modified to place the linked code into the memory
111configured for the board in use
112
113- bspstart.c was modified as follows:
114
115         monitors_vector_table = (rtems_isr *)0xFFE00000;
116
117was made to point to the power-up location of MVME162 interrupt vector
118table. 
119     
120- The shutdown is a temporary solution. To exit cleanly, it has to disable
121all enabled interrupts and restore the board to its power-up status.
122Presently this is not done satisfactorily, as a result, the board needs
123a hardware reset from the external VMEbus master or from the front
124panel to ensure correct operation for subsequent downloads.
125
126Host System
127-----------
128The VMEbus master used to externally control and download the MVME162
129is a FORCE CPU-2CE board running Solaris 2.3. A simple program to load
130s-records and start/reset the MVME162 was written. The code is in the
131file tools/sload.c
132
133This code depends on the external VMEbus master's vme driver and is
134provided as an example, without the Makefile. The bulk of the program
135which parses the s-records is courtesy of Kym Newbery,
136(8918927y@lux.levels.unisa.edu.au).
137
138In general, apart from x-gcc, the tools most often used while building
139RTEMS for MVME162 were: find, grep, diff, and, of course
140
141MVME162 Embedded Controller Programmer's Reference Guide,
142Motorola, MVME162PG/D1.
143
144Thanks
145------
146- to On-Line Applications Research Corporation (OAR) for developing
147RTEMS and making it available on a Technology Transfer basis;
148- to Joel Sherril, the leader of the RTEMS development group for
149stimulating and helpful discussions;
150- to Kym Newbery (8918927y@lux.levels.unisa.edu.au) for his s-record
151parser;
152- to Gerd Truschinski (gt@first.gmd.de) for creating and running the
153crossgcc mailing list
154- to FSF and Cygnus Support for great free software;
155
156What's new
157----------
158  - 28.07.95 BSP adjusted to rtems-3.2.0.
159  - Now console driver uses interrupts on receive (ring buffer
160    code lifted with thanks from the IDP BSP next door (../idp))
161  - both front-panel serial interfaces are supported
162  - serious bug in timer interrupts fixed
163  - interrupt test tm27 now supported
164 
165+----------------------------------+-------------------------------+
166|  Dr. Mikhail (Misha) Savitski    |  Voice : +46-980-79162        |
167|  Software Systems Engineer       |  Fax   : +46-980-79161        |
168|  EISCAT Svalbard Radar Project   |  E-mail: mms@eiscathq.irf.se  |
169|  EISCAT Scientific Association   |-----------  /\_/\  -----------|
170|  Box 812 S-98128 Kiruna, Sweden  |  EIS       { o o }       CAT  |
171+----------------------------------+-------oQQQ--(>I<)--QQQo-------+
172
173
Note: See TracBrowser for help on using the repository browser.