OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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
>SuperH/SH3(SH77X9) Hitachi Solution Engine 77X9</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="SuperH/SH3(SH7729) Hitachi HS7729PCI"
26
HREF="hs7729pci.html"><LINK
27
REL="NEXT"
28
TITLE="SuperH/SH4(SH7751) Hitachi Solution Engine 7751"
29
HREF="se7751.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="hs7729pci.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="se7751.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="SE77X9">SuperH/SH3(SH77X9) Hitachi Solution Engine 77X9</H1
86
><DIV
87
CLASS="SECT2"
88
><H2
89
CLASS="SECT2"
90
><A
91
NAME="AEN7474">Overview</H2
92
><P
93
>This
94
description covers the MS7729SE01 and MS7709SSE0101 variants. See <A
95
HREF="se7709.html"
96
>the Section called <I
97
>SuperH/SH3(SH7709) Hitachi Solution Engine 7709</I
98
></A
99
>
100
for instructions for the MS7709SE01 variant.</P
101
><P
102
>RedBoot uses
103
the COM1 and COM2 serial ports. The default serial port settings are 38400,8,N,1.
104
Ethernet is also supported using the 10-base T connector. Management
105
of onboard flash is also supported.</P
106
><P
107
>The following RedBoot configurations are supported:
108
 
109
      <DIV
110
CLASS="INFORMALTABLE"
111
><A
112
NAME="AEN7486"><P
113
></P
114
><TABLE
115
BORDER="1"
116
CLASS="CALSTABLE"
117
><THEAD
118
><TR
119
><TH
120
ALIGN="LEFT"
121
VALIGN="TOP"
122
>Configuration</TH
123
><TH
124
ALIGN="LEFT"
125
VALIGN="TOP"
126
>Mode</TH
127
><TH
128
ALIGN="LEFT"
129
VALIGN="TOP"
130
>Description</TH
131
><TH
132
ALIGN="LEFT"
133
VALIGN="TOP"
134
>File</TH
135
></TR
136
></THEAD
137
><TBODY
138
><TR
139
><TD
140
ALIGN="LEFT"
141
VALIGN="TOP"
142
>ROM</TD
143
><TD
144
ALIGN="LEFT"
145
VALIGN="TOP"
146
>[ROM]</TD
147
><TD
148
ALIGN="LEFT"
149
VALIGN="TOP"
150
>RedBoot running from the board's flash boot
151
              sector.</TD
152
><TD
153
ALIGN="LEFT"
154
VALIGN="TOP"
155
>redboot_ROM.ecm</TD
156
></TR
157
><TR
158
><TD
159
ALIGN="LEFT"
160
VALIGN="TOP"
161
>RAM</TD
162
><TD
163
ALIGN="LEFT"
164
VALIGN="TOP"
165
>[RAM]</TD
166
><TD
167
ALIGN="LEFT"
168
VALIGN="TOP"
169
>RedBoot running from RAM with RedBoot in the
170
              flash boot sector.</TD
171
><TD
172
ALIGN="LEFT"
173
VALIGN="TOP"
174
>redboot_RAM.ecm</TD
175
></TR
176
></TBODY
177
></TABLE
178
><P
179
></P
180
></DIV
181
></P
182
></DIV
183
><DIV
184
CLASS="SECT2"
185
><H2
186
CLASS="SECT2"
187
><A
188
NAME="AEN7505">Initial Installation Method</H2
189
><P
190
>The Solution Engine ships with the Hitachi boot monitor in EPROM
191
which allows for initial programming of RedBoot:</P
192
><P
193
></P
194
><OL
195
TYPE="1"
196
><LI
197
><P
198
>Set switches SW4-3 and SW4-4 to ON [boot from EPROM]</P
199
></LI
200
><LI
201
><P
202
>Connect a serial cable to COM2 and power up the board.</P
203
></LI
204
><LI
205
><P
206
>After the boot monitor banner, invoke the flash
207
download/program command:<TABLE
208
BORDER="5"
209
BGCOLOR="#E0E0F0"
210
WIDTH="70%"
211
><TR
212
><TD
213
><PRE
214
CLASS="SCREEN"
215
>Ready &gt;<TT
216
CLASS="USERINPUT"
217
><B
218
>fl</B
219
></TT
220
></PRE
221
></TD
222
></TR
223
></TABLE
224
></P
225
></LI
226
><LI
227
><P
228
>The monitor should now ask for input:
229
<TABLE
230
BORDER="5"
231
BGCOLOR="#E0E0F0"
232
WIDTH="70%"
233
><TR
234
><TD
235
><PRE
236
CLASS="SCREEN"
237
>Flash ROM data copy to RAM
238
Please Send A S-format Record</PRE
239
></TD
240
></TR
241
></TABLE
242
>At this point copy the
243
RedBoot ROM SREC file to the serial port:<TABLE
244
BORDER="5"
245
BGCOLOR="#E0E0F0"
246
WIDTH="70%"
247
><TR
248
><TD
249
><PRE
250
CLASS="SCREEN"
251
>$ <TT
252
CLASS="USERINPUT"
253
><B
254
>cat redboot_ROM.eprom.srec &gt; /dev/ttyS0</B
255
></TT
256
></PRE
257
></TD
258
></TR
259
></TABLE
260
>
261
Eventually you
262
should see something like<TABLE
263
BORDER="5"
264
BGCOLOR="#E0E0F0"
265
WIDTH="70%"
266
><TR
267
><TD
268
><PRE
269
CLASS="SCREEN"
270
>Start Addrs = A1000000
271
End Addrs = A1xxxxxx
272
Transfer complete</PRE
273
></TD
274
></TR
275
></TABLE
276
> from the monitor.</P
277
></LI
278
><LI
279
><P
280
>Set switch SW4-3 to OFF [boot from flash] and reboot the board. You
281
should now see the RedBoot banner.</P
282
></LI
283
></OL
284
></DIV
285
><DIV
286
CLASS="SECT2"
287
><H2
288
CLASS="SECT2"
289
><A
290
NAME="AEN7525">Special RedBoot Commands</H2
291
><P
292
>The <B
293
CLASS="COMMAND"
294
>exec</B
295
> command which allows the loading
296
and execution of Linux kernels
297
is supported for this board (see <A
298
HREF="executing-programs.html"
299
>the Section called <I
300
>Executing Programs from RedBoot</I
301
> in Chapter 2</A
302
>). The <B
303
CLASS="COMMAND"
304
>exec</B
305
> parameters used for the SE77x9 are:</P
306
><P
307
></P
308
><DIV
309
CLASS="VARIABLELIST"
310
><DL
311
><DT
312
>-b <TT
313
CLASS="REPLACEABLE"
314
><I
315
>&lt;addr&#62;</I
316
></TT
317
></DT
318
><DD
319
><P
320
>Parameter block address. This is normally the first
321
page of the kernel image and defaults to 0x8c101000</P
322
></DD
323
><DT
324
>-i <TT
325
CLASS="REPLACEABLE"
326
><I
327
>&lt;addr&#62;</I
328
></TT
329
></DT
330
><DD
331
><P
332
>Start address of initrd
333
image</P
334
></DD
335
><DT
336
>-j <TT
337
CLASS="REPLACEABLE"
338
><I
339
>&lt;size&#62;</I
340
></TT
341
></DT
342
><DD
343
><P
344
>Size of initrd image</P
345
></DD
346
><DT
347
>-c <TT
348
CLASS="REPLACEABLE"
349
><I
350
>"args"</I
351
></TT
352
></DT
353
><DD
354
><P
355
>Kernel arguments string</P
356
></DD
357
><DT
358
>-m <TT
359
CLASS="REPLACEABLE"
360
><I
361
>&lt;flags&#62;</I
362
></TT
363
></DT
364
><DD
365
><P
366
>Mount rdonly flags. If set to a non-zero value the
367
root partition will be mounted read-only.</P
368
></DD
369
><DT
370
>-f <TT
371
CLASS="REPLACEABLE"
372
><I
373
>&lt;flags&#62;</I
374
></TT
375
></DT
376
><DD
377
><P
378
>RAM disk flags. Should normally be 0x4000</P
379
></DD
380
><DT
381
>-r <TT
382
CLASS="REPLACEABLE"
383
><I
384
>&lt;device number&#62;</I
385
></TT
386
></DT
387
><DD
388
><P
389
>Root device specification. /dev/ram is 0x0101</P
390
></DD
391
><DT
392
>-l <TT
393
CLASS="REPLACEABLE"
394
><I
395
>&lt;type&#62;</I
396
></TT
397
></DT
398
><DD
399
><P
400
>Loader type</P
401
></DD
402
></DL
403
></DIV
404
><P
405
>Finally the kernel entry address can be specified as an optional
406
argument. The default is 0x8c102000</P
407
><P
408
>On the SE77x9, Linux expects to be loaded at address 0x8c101000 with
409
the entry point at 0x8c102000. This is configurable in the kernel
410
using the CONFIG_MEMORY_START option.</P
411
></DIV
412
><DIV
413
CLASS="SECT2"
414
><H2
415
CLASS="SECT2"
416
><A
417
NAME="AEN7574">Memory Maps</H2
418
><P
419
>RedBoot sets up the following memory map on the SE77x9 board.<TABLE
420
BORDER="5"
421
BGCOLOR="#E0E0F0"
422
WIDTH="70%"
423
><TR
424
><TD
425
><PRE
426
CLASS="PROGRAMLISTING"
427
>Physical Address Range  Description
428
----------------------- -----------
429
0x80000000 - 0x803fffff Flash (MBM29LV160)
430
0x81000000 - 0x813fffff EPROM (M27C800)
431
0x8c000000 - 0x8dffffff SDRAM
432
0xb0000000 - 0xb03fffff Ethernet (DP83902A)
433
0xb0400000 - 0xb07fffff SuperIO (FDC37C935A)
434
0xb0800000 - 0xb0bfffff Switches
435
0xb0c00000 - 0xbfffffff LEDs
436
0xb1800000 - 0xb1bfffff PCMCIA (MaruBun)</PRE
437
></TD
438
></TR
439
></TABLE
440
></P
441
></DIV
442
><DIV
443
CLASS="SECT2"
444
><H2
445
CLASS="SECT2"
446
><A
447
NAME="AEN7578">Ethernet Driver</H2
448
><P
449
>The ethernet driver uses a hardwired ESA which can, at present,
450
only be changed in CDL.</P
451
></DIV
452
><DIV
453
CLASS="SECT2"
454
><H2
455
CLASS="SECT2"
456
><A
457
NAME="AEN7581">Rebuilding RedBoot</H2
458
><P
459
>These shell variables provide the platform-specific information
460
needed for building RedBoot according to the procedure described in
461
<A
462
HREF="rebuilding-redboot.html"
463
>Chapter 3</A
464
>:
465
<TABLE
466
BORDER="5"
467
BGCOLOR="#E0E0F0"
468
WIDTH="70%"
469
><TR
470
><TD
471
><PRE
472
CLASS="PROGRAMLISTING"
473
>export TARGET=se77x9
474
export ARCH_DIR=sh
475
export PLATFORM_DIR=se77x9</PRE
476
></TD
477
></TR
478
></TABLE
479
></P
480
><P
481
>The names of configuration files are listed above with the
482
description of the associated modes.</P
483
></DIV
484
></DIV
485
><DIV
486
CLASS="NAVFOOTER"
487
><HR
488
ALIGN="LEFT"
489
WIDTH="100%"><TABLE
490
SUMMARY="Footer navigation table"
491
WIDTH="100%"
492
BORDER="0"
493
CELLPADDING="0"
494
CELLSPACING="0"
495
><TR
496
><TD
497
WIDTH="33%"
498
ALIGN="left"
499
VALIGN="top"
500
><A
501
HREF="hs7729pci.html"
502
ACCESSKEY="P"
503
>Prev</A
504
></TD
505
><TD
506
WIDTH="34%"
507
ALIGN="center"
508
VALIGN="top"
509
><A
510
HREF="ecos-ref.html"
511
ACCESSKEY="H"
512
>Home</A
513
></TD
514
><TD
515
WIDTH="33%"
516
ALIGN="right"
517
VALIGN="top"
518
><A
519
HREF="se7751.html"
520
ACCESSKEY="N"
521
>Next</A
522
></TD
523
></TR
524
><TR
525
><TD
526
WIDTH="33%"
527
ALIGN="left"
528
VALIGN="top"
529
>SuperH/SH3(SH7729) Hitachi HS7729PCI</TD
530
><TD
531
WIDTH="34%"
532
ALIGN="center"
533
VALIGN="top"
534
><A
535
HREF="installation-and-testing.html"
536
ACCESSKEY="U"
537
>Up</A
538
></TD
539
><TD
540
WIDTH="33%"
541
ALIGN="right"
542
VALIGN="top"
543
>SuperH/SH4(SH7751) Hitachi Solution Engine 7751</TD
544
></TR
545
></TABLE
546
></DIV
547
></BODY
548
></HTML
549
>

powered by: WebSVN 2.1.0

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