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

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
>IA32/x86 x86-Based PC</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="FRV/FRV400 Fujitsu FR-V 400 (MB-93091)"
26
HREF="frv400.html"><LINK
27
REL="NEXT"
28
TITLE="MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board"
29
HREF="atlas.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="frv400.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="atlas.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="X86PC">IA32/x86 x86-Based PC</H1
86
><DIV
87
CLASS="SECT2"
88
><H2
89
CLASS="SECT2"
90
><A
91
NAME="AEN6596">Overview</H2
92
><P
93
>RedBoot supports
94
two serial ports and an Intel i82559 based ethernet card (for example an Intel
95
EtherExpress Pro 10/100) for communication and downloads. The default serial
96
port settings are 38400,8,N,1.</P
97
><P
98
>The following RedBoot configurations are supported:
99
 
100
      <DIV
101
CLASS="INFORMALTABLE"
102
><A
103
NAME="AEN6606"><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
>Floppy</TD
134
><TD
135
ALIGN="LEFT"
136
VALIGN="TOP"
137
>[Floppy]</TD
138
><TD
139
ALIGN="LEFT"
140
VALIGN="TOP"
141
>RedBoot running from a boot floppy disk installed
142
              in the A: drive of the PC.</TD
143
><TD
144
ALIGN="LEFT"
145
VALIGN="TOP"
146
>redboot_ROM.ecm</TD
147
></TR
148
></TBODY
149
></TABLE
150
><P
151
></P
152
></DIV
153
></P
154
></DIV
155
><DIV
156
CLASS="SECT2"
157
><H2
158
CLASS="SECT2"
159
><A
160
NAME="AEN6620">Initial Installation</H2
161
><P
162
>RedBoot takes the form of a self-booting image that must be written
163
onto a formatted floppy disk. The process will erase any file system or data
164
that already exists on that disk, so proceed with caution.</P
165
><P
166
>For Red Hat Linux users, this can be done by:</P
167
><TABLE
168
BORDER="5"
169
BGCOLOR="#E0E0F0"
170
WIDTH="70%"
171
><TR
172
><TD
173
><PRE
174
CLASS="SCREEN"
175
>$ <TT
176
CLASS="USERINPUT"
177
><B
178
>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0H1440</B
179
></TT
180
></PRE
181
></TD
182
></TR
183
></TABLE
184
><P
185
>For NT Cygwin users, this can be done by first ensuring that the raw
186
floppy device is mounted as <TT
187
CLASS="FILENAME"
188
>/dev/fd0</TT
189
>. To check if this
190
is the case, type the command <B
191
CLASS="COMMAND"
192
>mount</B
193
> at the Cygwin bash
194
prompt. If the floppy drive is already mounted, it will be listed as something
195
similar to the following line:</P
196
><TABLE
197
BORDER="5"
198
BGCOLOR="#E0E0F0"
199
WIDTH="70%"
200
><TR
201
><TD
202
><PRE
203
CLASS="SCREEN"
204
>  \\.\a: /dev/fd0 user binmode</PRE
205
></TD
206
></TR
207
></TABLE
208
><P
209
>If this line is not listed, then mount the floppy drive using the command:</P
210
><TABLE
211
BORDER="5"
212
BGCOLOR="#E0E0F0"
213
WIDTH="70%"
214
><TR
215
><TD
216
><PRE
217
CLASS="SCREEN"
218
>$ <TT
219
CLASS="USERINPUT"
220
><B
221
>mount -f -b //./a: /dev/fd0</B
222
></TT
223
></PRE
224
></TD
225
></TR
226
></TABLE
227
><P
228
>To actually install the boot image on the floppy, use the command:</P
229
><TABLE
230
BORDER="5"
231
BGCOLOR="#E0E0F0"
232
WIDTH="70%"
233
><TR
234
><TD
235
><PRE
236
CLASS="SCREEN"
237
>$ <TT
238
CLASS="USERINPUT"
239
><B
240
>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0</B
241
></TT
242
></PRE
243
></TD
244
></TR
245
></TABLE
246
><P
247
>Insert this floppy in the A: drive of the PC to be used as a target
248
and ensure that the BIOS is configured to boot from A: by default. On reset,
249
the PC will boot from the floppy and be ready to be debugged via either serial
250
line, or via the ethernet interface if it is installed.</P
251
><DIV
252
CLASS="NOTE"
253
><BLOCKQUOTE
254
CLASS="NOTE"
255
><P
256
><B
257
>NOTE: </B
258
>Unreliable floppy media may cause the write to silently fail. This
259
can be determined if the RedBoot image does not correctly
260
boot. In such cases, the floppy should be (unconditionally) reformatted
261
using the <B
262
CLASS="COMMAND"
263
>fdformat</B
264
> command on Linux, or
265
<B
266
CLASS="COMMAND"
267
>format a: /u</B
268
> on DOS/Windows.</P
269
></BLOCKQUOTE
270
></DIV
271
></DIV
272
><DIV
273
CLASS="SECT2"
274
><H2
275
CLASS="SECT2"
276
><A
277
NAME="AEN6642">Flash management</H2
278
><P
279
>PC RedBoot does not support any FLASH commands.</P
280
></DIV
281
><DIV
282
CLASS="SECT2"
283
><H2
284
CLASS="SECT2"
285
><A
286
NAME="AEN6645">Special RedBoot Commands</H2
287
><P
288
>None.</P
289
></DIV
290
><DIV
291
CLASS="SECT2"
292
><H2
293
CLASS="SECT2"
294
><A
295
NAME="AEN6648">Memory Maps</H2
296
><P
297
>All selectors are initialized to map the entire 32-bit address space
298
in the familiar protected mode flat model. Page translation is not used.
299
RAM up to 640K is mapped to 0x0 to 0xa0000. RAM above 640K is mapped
300
from address 0x100000 upwards. Space is reserved between 0xa0000 and
301
0x100000 for option ROMs and the BIOS.</P
302
></DIV
303
><DIV
304
CLASS="SECT2"
305
><H2
306
CLASS="SECT2"
307
><A
308
NAME="AEN6651">Rebuilding RedBoot</H2
309
><P
310
>These shell variables provide the platform-specific information
311
needed for building RedBoot according to the procedure described in
312
<A
313
HREF="rebuilding-redboot.html"
314
>Chapter 3</A
315
>:
316
<TABLE
317
BORDER="5"
318
BGCOLOR="#E0E0F0"
319
WIDTH="70%"
320
><TR
321
><TD
322
><PRE
323
CLASS="PROGRAMLISTING"
324
>export TARGET=pc
325
export ARCH_DIR=i386
326
export PLATFORM_DIR=pc</PRE
327
></TD
328
></TR
329
></TABLE
330
></P
331
><P
332
>The names of configuration files are listed above with the
333
description of the associated modes.</P
334
></DIV
335
></DIV
336
><DIV
337
CLASS="NAVFOOTER"
338
><HR
339
ALIGN="LEFT"
340
WIDTH="100%"><TABLE
341
SUMMARY="Footer navigation table"
342
WIDTH="100%"
343
BORDER="0"
344
CELLPADDING="0"
345
CELLSPACING="0"
346
><TR
347
><TD
348
WIDTH="33%"
349
ALIGN="left"
350
VALIGN="top"
351
><A
352
HREF="frv400.html"
353
ACCESSKEY="P"
354
>Prev</A
355
></TD
356
><TD
357
WIDTH="34%"
358
ALIGN="center"
359
VALIGN="top"
360
><A
361
HREF="ecos-ref.html"
362
ACCESSKEY="H"
363
>Home</A
364
></TD
365
><TD
366
WIDTH="33%"
367
ALIGN="right"
368
VALIGN="top"
369
><A
370
HREF="atlas.html"
371
ACCESSKEY="N"
372
>Next</A
373
></TD
374
></TR
375
><TR
376
><TD
377
WIDTH="33%"
378
ALIGN="left"
379
VALIGN="top"
380
>FRV/FRV400 Fujitsu FR-V 400 (MB-93091)</TD
381
><TD
382
WIDTH="34%"
383
ALIGN="center"
384
VALIGN="top"
385
><A
386
HREF="installation-and-testing.html"
387
ACCESSKEY="U"
388
>Up</A
389
></TD
390
><TD
391
WIDTH="33%"
392
ALIGN="right"
393
VALIGN="top"
394
>MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board</TD
395
></TR
396
></TABLE
397
></DIV
398
></BODY
399
></HTML
400
>

powered by: WebSVN 2.1.0

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