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

Subversion Repositories openrisc

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

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
>ARM/ARM9 Altera Excalibur</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="ARM/ARM9 Agilent AAED2000"
26
HREF="aaed2000.html"><LINK
27
REL="NEXT"
28
TITLE="ARM/StrongARM(SA110) Intel EBSA 285"
29
HREF="ebsa285.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="aaed2000.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="ebsa285.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="EXCALIBURARM9">ARM/ARM9 Altera Excalibur</H1
86
><DIV
87
CLASS="SECT2"
88
><H2
89
CLASS="SECT2"
90
><A
91
NAME="AEN5486">Overview</H2
92
><P
93
>RedBoot supports the serial port labelled
94
P2 on the board. The default serial port settings are 57600,8,N,1. RedBoot
95
also supports flash management on the Excalibur.</P
96
><P
97
>The following RedBoot configurations are supported:
98
 
99
      <DIV
100
CLASS="INFORMALTABLE"
101
><A
102
NAME="AEN5496"><P
103
></P
104
><TABLE
105
BORDER="1"
106
CLASS="CALSTABLE"
107
><THEAD
108
><TR
109
><TH
110
ALIGN="LEFT"
111
VALIGN="TOP"
112
>Configuration</TH
113
><TH
114
ALIGN="LEFT"
115
VALIGN="TOP"
116
>Mode</TH
117
><TH
118
ALIGN="LEFT"
119
VALIGN="TOP"
120
>Description</TH
121
><TH
122
ALIGN="LEFT"
123
VALIGN="TOP"
124
>File</TH
125
></TR
126
></THEAD
127
><TBODY
128
><TR
129
><TD
130
ALIGN="LEFT"
131
VALIGN="TOP"
132
>ROMRAM</TD
133
><TD
134
ALIGN="LEFT"
135
VALIGN="TOP"
136
>[ROMRAM]</TD
137
><TD
138
ALIGN="LEFT"
139
VALIGN="TOP"
140
>RedBoot running from RAM, but contained in the
141
              board's flash boot sector.</TD
142
><TD
143
ALIGN="LEFT"
144
VALIGN="TOP"
145
>redboot_ROMRAM.ecm</TD
146
></TR
147
><TR
148
><TD
149
ALIGN="LEFT"
150
VALIGN="TOP"
151
>RAM</TD
152
><TD
153
ALIGN="LEFT"
154
VALIGN="TOP"
155
>[RAM]</TD
156
><TD
157
ALIGN="LEFT"
158
VALIGN="TOP"
159
>RedBoot running from RAM with RedBoot in the
160
              flash boot sector.</TD
161
><TD
162
ALIGN="LEFT"
163
VALIGN="TOP"
164
>redboot_RAM.ecm</TD
165
></TR
166
><TR
167
><TD
168
ALIGN="LEFT"
169
VALIGN="TOP"
170
>REDBOOT</TD
171
><TD
172
ALIGN="LEFT"
173
VALIGN="TOP"
174
>[ROMRAM]</TD
175
><TD
176
ALIGN="LEFT"
177
VALIGN="TOP"
178
>RedBoot running from top of RAM, but contained in
179
              the board's flash boot sector.</TD
180
><TD
181
ALIGN="LEFT"
182
VALIGN="TOP"
183
>redboot_REDBOOT.ecm</TD
184
></TR
185
></TBODY
186
></TABLE
187
><P
188
></P
189
></DIV
190
></P
191
><DIV
192
CLASS="NOTE"
193
><BLOCKQUOTE
194
CLASS="NOTE"
195
><P
196
><B
197
>NOTE: </B
198
>RedBoot is currently hardwired to use a 128MB SDRAM SIMM module.</P
199
></BLOCKQUOTE
200
></DIV
201
></DIV
202
><DIV
203
CLASS="SECT2"
204
><H2
205
CLASS="SECT2"
206
><A
207
NAME="AEN5523">Initial Installation Method</H2
208
><P
209
>A Windows utility
210
(<SPAN
211
CLASS="APPLICATION"
212
>exc_flash_programmer.exe</SPAN
213
>) is used to
214
program flash using the ByteBlasterMV JTAG unit.
215
See board documentation for details on
216
in situ flash programming. </P
217
><P
218
>For ethernet to work (under Linux) the following jumper
219
settings should be used on a REV 2 board: <P
220
CLASS="LITERALLAYOUT"
221
>SW2-9&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;OFF<br>
222
U179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;2-3<br>
223
JP14-18&nbsp;&nbsp;:&nbsp;OPEN<br>
224
JP40-41&nbsp;&nbsp;:&nbsp;2-3<br>
225
JP51-55&nbsp;&nbsp;:&nbsp;2-3</P
226
></P
227
></DIV
228
><DIV
229
CLASS="SECT2"
230
><H2
231
CLASS="SECT2"
232
><A
233
NAME="AEN5529">Flash management</H2
234
><P
235
>The ROMRAM and REDBOOT configurations supported on this platform
236
differ only in the memory layout (ROMRAM configuration runs RedBoot from
237
0x00008000 while REDBOOT configuration runs RedBoot from 0x07f80000). The
238
REDBOOT configuration allows applications to be loaded and run from
239
address 0x00008000.</P
240
></DIV
241
><DIV
242
CLASS="SECT2"
243
><H2
244
CLASS="SECT2"
245
><A
246
NAME="AEN5532">Special RedBoot Commands</H2
247
><P
248
>The <B
249
CLASS="COMMAND"
250
>exec</B
251
> command which allows the loading
252
and execution of Linux kernels,
253
is supported for this board (see <A
254
HREF="executing-programs.html"
255
>the Section called <I
256
>Executing Programs from RedBoot</I
257
> in Chapter 2</A
258
>). The <B
259
CLASS="COMMAND"
260
>exec</B
261
> parameters used for the Excalibur are:</P
262
><P
263
></P
264
><DIV
265
CLASS="VARIABLELIST"
266
><DL
267
><DT
268
>-b <TT
269
CLASS="REPLACEABLE"
270
><I
271
>&lt;addr&#62;</I
272
></TT
273
></DT
274
><DD
275
><P
276
>Location Linux kernel was loaded to</P
277
></DD
278
><DT
279
>-l <TT
280
CLASS="REPLACEABLE"
281
><I
282
>&lt;len&#62;</I
283
></TT
284
></DT
285
><DD
286
><P
287
>Length of kernel</P
288
></DD
289
><DT
290
>-c <TT
291
CLASS="REPLACEABLE"
292
><I
293
>"params"</I
294
></TT
295
></DT
296
><DD
297
><P
298
>Parameters passed to kernel</P
299
></DD
300
><DT
301
>-r <TT
302
CLASS="REPLACEABLE"
303
><I
304
>&lt;addr&#62;</I
305
></TT
306
></DT
307
><DD
308
><P
309
>'initrd' ramdisk location</P
310
></DD
311
><DT
312
>-s <TT
313
CLASS="REPLACEABLE"
314
><I
315
>&lt;len&#62;</I
316
></TT
317
></DT
318
><DD
319
><P
320
>Length of initrd ramdisk</P
321
></DD
322
></DL
323
></DIV
324
><P
325
>The parameters for kernel image base and size are automatically
326
set after a load operation. So one way of starting the kernel would
327
be:
328
 
329
<TABLE
330
BORDER="5"
331
BGCOLOR="#E0E0F0"
332
WIDTH="70%"
333
><TR
334
><TD
335
><PRE
336
CLASS="SCREEN"
337
>RedBoot&gt; <TT
338
CLASS="USERINPUT"
339
><B
340
>load -r -b 0x100000 zImage</B
341
></TT
342
>
343
Raw file loaded 0x00100000-0x001a3d6c
344
RedBoot&gt; <TT
345
CLASS="USERINPUT"
346
><B
347
>exec -c "console=ttyUA0,57600"</B
348
></TT
349
>
350
Using base address 0x00100000 and length 0x000a3d6c
351
Uncompressing Linux.....</PRE
352
></TD
353
></TR
354
></TABLE
355
>
356
 
357
An image could also be put in flash and started directly:
358
 
359
<TABLE
360
BORDER="5"
361
BGCOLOR="#E0E0F0"
362
WIDTH="70%"
363
><TR
364
><TD
365
><PRE
366
CLASS="SCREEN"
367
>RedBoot&gt; <TT
368
CLASS="USERINPUT"
369
><B
370
>exec -b 0x40400000 -l 0xc0000 -c "console=ttyUA0,57600"</B
371
></TT
372
>
373
Uncompressing Linux.....</PRE
374
></TD
375
></TR
376
></TABLE
377
>&#13;</P
378
></DIV
379
><DIV
380
CLASS="SECT2"
381
><H2
382
CLASS="SECT2"
383
><A
384
NAME="AEN5570">Memory Maps</H2
385
><P
386
>The MMU page tables are located at 0x4000. <DIV
387
CLASS="NOTE"
388
><BLOCKQUOTE
389
CLASS="NOTE"
390
><P
391
><B
392
>NOTE: </B
393
>The virtual memory maps in this section use a C and B column to indicate
394
whether or not the region is cached (C) or buffered (B).</P
395
></BLOCKQUOTE
396
></DIV
397
><TABLE
398
BORDER="5"
399
BGCOLOR="#E0E0F0"
400
WIDTH="70%"
401
><TR
402
><TD
403
><PRE
404
CLASS="PROGRAMLISTING"
405
>Physical Address Range     Description
406
-----------------------    ----------------------------------
407
0x00000000 - 0x07ffffff    SDRAM
408
0x08000000 - 0x0805ffff    On-chip SRAM
409
0x40000000 - 0x40ffffff    Flash
410
0x7fffc000 - 0x7fffffff    I/O registers
411
0x80000000 - 0x8001ffff    PLD
412
 
413
Virtual Address Range    C B  Description
414
-----------------------  - -  ----------------------------------
415
0x00000000 - 0x07ffffff  Y Y  SDRAM
416
0x08000000 - 0x0805ffff  Y Y  On-chip SRAM
417
0x40000000 - 0x403fffff  N Y  Flash
418
0x7fffc000 - 0x7fffffff  N N  I/O registers
419
0x80000000 - 0x8001ffff  N N  PLD</PRE
420
></TD
421
></TR
422
></TABLE
423
></P
424
></DIV
425
><DIV
426
CLASS="SECT2"
427
><H2
428
CLASS="SECT2"
429
><A
430
NAME="AEN5577">Rebuilding RedBoot</H2
431
><P
432
>These shell variables provide the platform-specific information
433
needed for building RedBoot according to the procedure described in
434
<A
435
HREF="rebuilding-redboot.html"
436
>Chapter 3</A
437
>:
438
<TABLE
439
BORDER="5"
440
BGCOLOR="#E0E0F0"
441
WIDTH="70%"
442
><TR
443
><TD
444
><PRE
445
CLASS="PROGRAMLISTING"
446
>export TARGET=excalibur_arm9
447
export ARCH_DIR=arm
448
export PLATFORM_DIR=arm9/excalibur</PRE
449
></TD
450
></TR
451
></TABLE
452
></P
453
><P
454
>The names of configuration files are listed above with the
455
description of the associated modes.</P
456
></DIV
457
></DIV
458
><DIV
459
CLASS="NAVFOOTER"
460
><HR
461
ALIGN="LEFT"
462
WIDTH="100%"><TABLE
463
SUMMARY="Footer navigation table"
464
WIDTH="100%"
465
BORDER="0"
466
CELLPADDING="0"
467
CELLSPACING="0"
468
><TR
469
><TD
470
WIDTH="33%"
471
ALIGN="left"
472
VALIGN="top"
473
><A
474
HREF="aaed2000.html"
475
ACCESSKEY="P"
476
>Prev</A
477
></TD
478
><TD
479
WIDTH="34%"
480
ALIGN="center"
481
VALIGN="top"
482
><A
483
HREF="ecos-ref.html"
484
ACCESSKEY="H"
485
>Home</A
486
></TD
487
><TD
488
WIDTH="33%"
489
ALIGN="right"
490
VALIGN="top"
491
><A
492
HREF="ebsa285.html"
493
ACCESSKEY="N"
494
>Next</A
495
></TD
496
></TR
497
><TR
498
><TD
499
WIDTH="33%"
500
ALIGN="left"
501
VALIGN="top"
502
>ARM/ARM9 Agilent AAED2000</TD
503
><TD
504
WIDTH="34%"
505
ALIGN="center"
506
VALIGN="top"
507
><A
508
HREF="installation-and-testing.html"
509
ACCESSKEY="U"
510
>Up</A
511
></TD
512
><TD
513
WIDTH="33%"
514
ALIGN="right"
515
VALIGN="top"
516
>ARM/StrongARM(SA110) Intel EBSA 285</TD
517
></TR
518
></TABLE
519
></DIV
520
></BODY
521
></HTML
522
>

powered by: WebSVN 2.1.0

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