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/] [se7751.html] - Blame information for rev 369

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

powered by: WebSVN 2.1.0

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