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

Subversion Repositories openrisc

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

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

powered by: WebSVN 2.1.0

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