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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [mbx.html] - Blame information for rev 375

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>PowerPC/MPC8XX Motorola MBX</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="Installation and Testing"
23
HREF="installation-and-testing.html"><LINK
24
REL="PREVIOUS"
25
TITLE="PowerPC/MPC860T Analogue & Micro PowerPC 860T"
26
HREF="viper.html"><LINK
27
REL="NEXT"
28
TITLE="SuperH/SH3(SH7708) Hitachi EDK7708"
29
HREF="edk7708.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="viper.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Chapter 5. Installation and Testing</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="edk7708.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="MBX">PowerPC/MPC8XX Motorola MBX</H1
86
><DIV
87
CLASS="SECT2"
88
><H2
89
CLASS="SECT2"
90
><A
91
NAME="AEN7128">Overview</H2
92
><P
93
>RedBoot uses
94
the SMC1/COM1 serial port. The default serial port settings are 38400,8,N,1.
95
Ethernet is also supported using the 10-base T connector. </P
96
><P
97
>Management of onboard flash is also supported.</P
98
><P
99
>The following RedBoot configurations are supported:
100
 
101
      <DIV
102
CLASS="INFORMALTABLE"
103
><A
104
NAME="AEN7139"><P
105
></P
106
><TABLE
107
BORDER="1"
108
CLASS="CALSTABLE"
109
><THEAD
110
><TR
111
><TH
112
ALIGN="LEFT"
113
VALIGN="TOP"
114
>Configuration</TH
115
><TH
116
ALIGN="LEFT"
117
VALIGN="TOP"
118
>Mode</TH
119
><TH
120
ALIGN="LEFT"
121
VALIGN="TOP"
122
>Description</TH
123
><TH
124
ALIGN="LEFT"
125
VALIGN="TOP"
126
>File</TH
127
></TR
128
></THEAD
129
><TBODY
130
><TR
131
><TD
132
ALIGN="LEFT"
133
VALIGN="TOP"
134
>ROM</TD
135
><TD
136
ALIGN="LEFT"
137
VALIGN="TOP"
138
>[ROM]</TD
139
><TD
140
ALIGN="LEFT"
141
VALIGN="TOP"
142
>RedBoot running from the board's flash boot
143
              sector.</TD
144
><TD
145
ALIGN="LEFT"
146
VALIGN="TOP"
147
>redboot_ROM.ecm</TD
148
></TR
149
><TR
150
><TD
151
ALIGN="LEFT"
152
VALIGN="TOP"
153
>RAM</TD
154
><TD
155
ALIGN="LEFT"
156
VALIGN="TOP"
157
>[RAM]</TD
158
><TD
159
ALIGN="LEFT"
160
VALIGN="TOP"
161
>RedBoot running from RAM with RedBoot in the
162
              flash boot sector.</TD
163
><TD
164
ALIGN="LEFT"
165
VALIGN="TOP"
166
>redboot_RAM.ecm</TD
167
></TR
168
></TBODY
169
></TABLE
170
><P
171
></P
172
></DIV
173
></P
174
></DIV
175
><DIV
176
CLASS="SECT2"
177
><H2
178
CLASS="SECT2"
179
><A
180
NAME="AEN7158">Initial Installation Method</H2
181
><P
182
>Device programmer is used to program the XU1 socketed flash part  (AM29F040B)
183
with the ROM mode image of RedBoot. Use the on-board EPPC-Bug monitor to update
184
RedBoot. </P
185
><P
186
>This assumes that you have EPPC-Bug in the on-board flash. This can
187
be determined by setting up the board according to the following instructions
188
and powering up the board. </P
189
><P
190
>The EPPC-Bug prompt should appear on the SMC1 connector at 9600 baud,
191
8N1. </P
192
><P
193
></P
194
><OL
195
TYPE="1"
196
><LI
197
><P
198
>Set jumper 3 to 2-3 [allow XU1 flash to be programmed]  </P
199
></LI
200
><LI
201
><P
202
>Set jumper 4 to 2-3 [boot EPPC-Bug] </P
203
></LI
204
></OL
205
><P
206
>If it is available, program the flash by following these steps: </P
207
><P
208
></P
209
><OL
210
TYPE="1"
211
><LI
212
><P
213
>Prepare EPPC-Bug for download: <TABLE
214
BORDER="5"
215
BGCOLOR="#E0E0F0"
216
WIDTH="70%"
217
><TR
218
><TD
219
><PRE
220
CLASS="SCREEN"
221
>EPPC-Bug&#62;<TT
222
CLASS="USERINPUT"
223
><B
224
>lo 0</B
225
></TT
226
></PRE
227
></TD
228
></TR
229
></TABLE
230
>At this point the monitor is ready for input. It will not
231
return the prompt until the file has been downloaded.  </P
232
></LI
233
><LI
234
><P
235
>Use the terminal emulator's ASCII download feature (or a simple
236
clipboard copy/paste operation) to download the
237
<TT
238
CLASS="FILENAME"
239
>redboot.ppcbug</TT
240
> file.</P
241
><P
242
>Note that on Linux, <SPAN
243
CLASS="APPLICATION"
244
>Minicom</SPAN
245
>'s ASCII
246
download feature seems to be broken. A workaround is to load the file
247
into <SPAN
248
CLASS="APPLICATION"
249
>emacs</SPAN
250
> (or another editor) and copy the
251
full contents to the clipboard. Then press the mouse paste-button (usually
252
the middle one) over the <SPAN
253
CLASS="APPLICATION"
254
>Minicom</SPAN
255
> window.  </P
256
></LI
257
><LI
258
><P
259
>Program the flash with the downloaded data: <TABLE
260
BORDER="5"
261
BGCOLOR="#E0E0F0"
262
WIDTH="70%"
263
><TR
264
><TD
265
><PRE
266
CLASS="SCREEN"
267
>EPPC-Bug&#62;<TT
268
CLASS="USERINPUT"
269
><B
270
>pflash 40000 60000 fc000000</B
271
></TT
272
></PRE
273
></TD
274
></TR
275
></TABLE
276
></P
277
></LI
278
><LI
279
><P
280
>Switch off the power, and change jumper 4 to 1-2. Turn on
281
the power again. The board should now boot using the newly programmed RedBoot.</P
282
></LI
283
></OL
284
></DIV
285
><DIV
286
CLASS="SECT2"
287
><H2
288
CLASS="SECT2"
289
><A
290
NAME="AEN7187">Special RedBoot Commands</H2
291
><P
292
>None.</P
293
></DIV
294
><DIV
295
CLASS="SECT2"
296
><H2
297
CLASS="SECT2"
298
><A
299
NAME="AEN7190">Memory Maps</H2
300
><P
301
>Memory Maps RedBoot sets up the following memory map on the MBX board.<TABLE
302
BORDER="5"
303
BGCOLOR="#E0E0F0"
304
WIDTH="70%"
305
><TR
306
><TD
307
><PRE
308
CLASS="PROGRAMLISTING"
309
>Physical Address Range Description
310
----------------------- -----------
311
0x00000000 - 0x003fffff DRAM
312
0xfa100000 - 0xfa100003 LEDs
313
0xfe000000 - 0xfe07ffff flash (AMD29F040B)
314
0xff000000 - 0xff0fffff MPC registers</PRE
315
></TD
316
></TR
317
></TABLE
318
></P
319
></DIV
320
><DIV
321
CLASS="SECT2"
322
><H2
323
CLASS="SECT2"
324
><A
325
NAME="AEN7194">Rebuilding RedBoot</H2
326
><P
327
>These shell variables provide the platform-specific information
328
needed for building RedBoot according to the procedure described in
329
<A
330
HREF="rebuilding-redboot.html"
331
>Chapter 3</A
332
>:
333
<TABLE
334
BORDER="5"
335
BGCOLOR="#E0E0F0"
336
WIDTH="70%"
337
><TR
338
><TD
339
><PRE
340
CLASS="PROGRAMLISTING"
341
>export TARGET=mbx
342
export ARCH_DIR=powerpc
343
export PLATFORM_DIR=mbx</PRE
344
></TD
345
></TR
346
></TABLE
347
></P
348
><P
349
>The names of configuration files are listed above with the
350
description of the associated modes.</P
351
></DIV
352
></DIV
353
><DIV
354
CLASS="NAVFOOTER"
355
><HR
356
ALIGN="LEFT"
357
WIDTH="100%"><TABLE
358
SUMMARY="Footer navigation table"
359
WIDTH="100%"
360
BORDER="0"
361
CELLPADDING="0"
362
CELLSPACING="0"
363
><TR
364
><TD
365
WIDTH="33%"
366
ALIGN="left"
367
VALIGN="top"
368
><A
369
HREF="viper.html"
370
ACCESSKEY="P"
371
>Prev</A
372
></TD
373
><TD
374
WIDTH="34%"
375
ALIGN="center"
376
VALIGN="top"
377
><A
378
HREF="ecos-ref.html"
379
ACCESSKEY="H"
380
>Home</A
381
></TD
382
><TD
383
WIDTH="33%"
384
ALIGN="right"
385
VALIGN="top"
386
><A
387
HREF="edk7708.html"
388
ACCESSKEY="N"
389
>Next</A
390
></TD
391
></TR
392
><TR
393
><TD
394
WIDTH="33%"
395
ALIGN="left"
396
VALIGN="top"
397
>PowerPC/MPC860T Analogue &#38; Micro PowerPC 860T</TD
398
><TD
399
WIDTH="34%"
400
ALIGN="center"
401
VALIGN="top"
402
><A
403
HREF="installation-and-testing.html"
404
ACCESSKEY="U"
405
>Up</A
406
></TD
407
><TD
408
WIDTH="33%"
409
ALIGN="right"
410
VALIGN="top"
411
>SuperH/SH3(SH7708) Hitachi EDK7708</TD
412
></TR
413
></TABLE
414
></DIV
415
></BODY
416
></HTML
417
>

powered by: WebSVN 2.1.0

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