summaryrefslogtreecommitdiffstats
path: root/user/bsps/bsps-m68k.rst
blob: bdb516bc82195661f2af80ae5fd5ac896b41f0ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
.. SPDX-License-Identifier: CC-BY-SA-4.0

.. Copyright (C) 2018 embedded brains GmbH

m68k (Motorola 68000 / ColdFire)
********************************

av5282
======

TODO.

csb360
======

TODO.

gen68340
========

TODO.

gen68360
========

TODO.

genmcf548x
==========

TODO.

mcf5206elite
============

TODO.

mcf52235
========

TODO.

mcf5225x
========

TODO.

mcf5235
=======

TODO.

mcf5329
=======

Overview
--------

This BSP is heavily based on the MCF5235 BSP. The MCF5329EVB is a Motorola
evaluation board (Zoom) with a LogicPD MCF5329-10 SODIMM-144 card. The
development kit features the MCF5329 based Fire Engine, as well as a plug-in
system-on-module containing 32 MB of DDR-SDRAM. The board also includes 2 MB of
boot flash, 16 MB of NAND flash, a core frequency of 240MHz, an onboard 800x600
LCD controller, FEC, USB, uarts, CAN bus, QSPI, I2C, and 10/100 Ethernet.

You can find the link to MCF5329 Reference Manual below:

* `MCF5329 Reference Manual <https://www.nxp.com/docs/en/reference-manual/MCF5329RM.pdf>`_

mrm332
======

TODO.

mvme147
=======

TODO.

mvme147s
========

TODO.

mvme162
=======

Overview
--------

The MVME162 family provides OEMs and solution developers an ideal platform for
embedded monitoring and control apllications it allows an OEM to minimize
engineering expenses while integrating value-added hardware and software
applications onto an off-the-shelf product. In order to provide the wide range
of solutions, the MVME162 allows a variety of MPU, memory, and interface
options such as floating-point, Ethernet, SCSI, and VME. The result is a
variation of the MVME162 which most closely fits the application requirement.

There are a large number of model variations on this board. This was the first
user submitted BSP and continues to be a fairly popular simply because at one
point it was the highest selling VMEBus board of all time.

Board Setup
-----------

We will setup the RTEMS Lab Board initally to proceed further for the setup
of TFTP transfer.

The env settings are:

.. code-block:: none

    MPU Clock Speed =25Mhz
    162-Bug>env
    Bug or System environment [B/S] = B?
    Field Service Menu Enable [Y/N] = N?
	Remote Start Method Switch [G/M/B/N] = B?
	Probe System for Supported I/O Controllers [Y/N] = Y?
	Negate VMEbus SYSFAIL* Always [Y/N] = N?
	Local SCSI Bus Reset on Debugger Startup [Y/N] = N?
	Local SCSI Bus Negotiations Type [A/S/N]       = A?
	Industry Pack Reset on Debugger Startup [Y/N]  = Y?
	Ignore CFGA Block on a Hard Disk Boot [Y/N]    = Y?
	Auto Boot Enable [Y/N]   = N?
	Auto Boot at power-up only [Y/N] = Y?
	Auto Boot Controller LUN = 00?
	Auto Boot Device LUN     = 00?
	Auto Boot Abort Delay    = 15?
	Auto Boot Default String [NULL for a empty string] = ?
	ROM Boot Enable [Y/N]            = N?
	ROM Boot at power-up only [Y/N]  = Y?
	ROM Boot Enable search of VMEbus [Y/N] = N?
	ROM Boot Abort Delay             = 0?
	ROM Boot Direct Starting Address = FF800000?
	ROM Boot Direct Ending Address   = FFDFFFFC?
	Network Auto Boot Enable [Y/N]   = N?
	Network Auto Boot at power-up only [Y/N] = Y?
	Network Auto Boot Controller LUN = 00?
	Network Auto Boot Device LUN     = 00?
	Network Auto Boot Abort Delay    = 5?
	Network Auto Boot Configuration Parameters Pointer (NVRAM) = FFE0FF00?
	Memory Search Starting Address   = 00000000?
	Memory Search Ending Address     = 01000000?
	Memory Search Increment Size     = 00010000?
	Memory Search Delay Enable [Y/N] = N?
	Memory Search Delay Address      = FFFFD20F?
	Memory Size Enable [Y/N]         = Y?
	Memory Size Starting Address     = 00000000?
	Memory Size Ending Address       = 01000000?
	Base Address of Dynamic Memory   = 00000000?
	Size of Parity Memory            = 00000000?
	Size of ECC Memory Board #0      = 01000000?
	Size of ECC Memory Board #1      = 00000000?
	Base Address of Static Memory    = FFE00000?
	Size of Static Memory            = 00020000?
	Slave Enable #1 [Y/N] = Y?
	Slave Starting Address #1 = 00000000?
	Slave Ending Address #1   = 00FFFFFF?
	Slave Address Translation Address #1 = 00000000?
	Slave Address Translation Select #1  = 00000000?
	Slave Control #1 = 03FF?
	Slave Enable #2 [Y/N] = N?
	Slave Starting Address #2 = 00000000?
	Slave Ending Address #2   = 00000000?
	Slave Address Translation Address #2 = 00000000?
	Slave Address Translation Select #2  = 00000000?
	Slave Control #2 = 0000?
	Master Enable #1 [Y/N] = Y?
	Master Starting Address #1 = 01000000?
	Master Ending Address #1   = EFFFFFFF?
	Master Control #1 = 0D?
	Master Enable #2 [Y/N] = N?
	Master Starting Address #2 = 00000000?
	Master Ending Address #2   = 00000000?
	Master Control #2 = 00?
	Master Enable #3 [Y/N] = N?
	Master Starting Address #3 = 00000000?
	Master Ending Address #3   = 00000000?
	Master Control #3 = 00?
	Master Enable #4 [Y/N] = N?
	Master Starting Address #4 = 00000000?
	Master Ending Address #4   = 00000000?
	Master Address Translation Address #4 = 00000000?
	Master Address Translation Select #4  = 00000000?
	Master Control #4 = 00?
	Short I/O (VMEbus A16) Enable [Y/N] = Y?
	Short I/O (VMEbus A16) Control      = 01?
	F-Page (VMEbus A24) Enable [Y/N]    = Y?
	F-Page (VMEbus A24) Control         = 02?
	ROM Access Time Code          = 03?
	FLASH Access Time Code        = 02?
	MCC Vector Base               = 05?
	VMEC2 Vector Base #1          = 06?
	VMEC2 Vector Base #2          = 07?
	VMEC2 GCSR Group Base Address = D2?
	VMEC2 GCSR Board Base Address = 00?
	VMEbus Global Time Out Code   = 01?
	Local Bus Time Out Code       = 02?
	VMEbus Access Time Out Code   = 02?
	IP A Base Address              = 00000000?
	IP B Base Address              = 00000000?
	IP C Base Address              = 00000000?
	IP D Base Address              = 00000000?
	IP D/C/B/A Memory Size         = 00000000?
	IP D/C/B/A General Control     = 00000000?
	IP D/C/B/A Interrupt 0 Control = 00000000?
	IP D/C/B/A Interrupt 1 Control = 00000000?

To setup the Server/Client IP Addresses for the TFTP Transfer, we will use the
NIOT command. NIOT (Network I/O Teach) is a 162-Bug's debugger command commonly
used to setup the Server/Client IP Addresses for the TFTP Transfer.

The NIOT command goes something like this:

.. code-block:: none

    162-Bug>niot
	Controller LUN =00?
	Device LUN     =00?
	Node Control Memory Address =FFE10000?
	Client IP Address      =192.168.1.245?
	Server IP Address      =192.168.1.92?
	Subnet IP Address Mask =255.255.255.0?
	Broadcast IP Address   =192.168.1.255?
	Gateway IP Address     =0.0.0.0?
	Boot File Name ("NULL" for None)     =/mvme162.img?
	Argument File Name ("NULL" for None) =?
	Boot File Load Address         =00020000?
	Boot File Execution Address    =00020000?
	Boot File Execution Delay      =00000000?
	Boot File Length               =00000000?
	Boot File Byte Offset          =00000000?
	BOOTP/RARP Request Retry       =00?
	TFTP/ARP Request Retry         =00?
	Trace Character Buffer Address =00000000?
	BOOTP/RARP Request Control: Always/When-Needed (A/W)=A?
	BOOTP/RARP Reply Update Control: Yes/No (Y/N)       =Y?

Downloading and Executing
--------------------------
Download from the TFTP server using the 162-Bug's "NBO"
(Network Boot Operating System) command:

.. code-block:: none

    162-Bug>nbo
    Network Booting from: VME162, Controller 0, Device 0
	Loading: /mvme162.img

	Client IP Address      = 192.168.1.245
	Server IP Address      = 192.168.1.92
	Gateway IP Address     = 0.0.0.0
	Subnet IP Address Mask = 255.255.255.0
	Boot File Name         = /mvme162.img
	Argument File Name     =

	Network Boot File load in progress... To abort hit <BREAK>

	Bytes Received =&356528, Bytes Loaded =&356528
	Bytes/Second   =&89132, Elapsed Time =4 Second(s)

The program will automatically run when download is complete.

mvme167
=======

TODO.

uC5282
======

TODO.