<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- permission is obtained from the copyright holder. -->
|
<!-- permission is obtained from the copyright holder. -->
|
<HTML
|
<HTML
|
><HEAD
|
><HEAD
|
><TITLE
|
><TITLE
|
>IA32/x86 x86-Based PC</TITLE
|
>IA32/x86 x86-Based PC</TITLE
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<META
|
<META
|
NAME="GENERATOR"
|
NAME="GENERATOR"
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
"><LINK
|
"><LINK
|
REL="HOME"
|
REL="HOME"
|
TITLE="eCos Reference Manual"
|
TITLE="eCos Reference Manual"
|
HREF="ecos-ref.html"><LINK
|
HREF="ecos-ref.html"><LINK
|
REL="UP"
|
REL="UP"
|
TITLE="Installation and Testing"
|
TITLE="Installation and Testing"
|
HREF="installation-and-testing.html"><LINK
|
HREF="installation-and-testing.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="FRV/FRV400 Fujitsu FR-V 400 (MB-93091)"
|
TITLE="FRV/FRV400 Fujitsu FR-V 400 (MB-93091)"
|
HREF="frv400.html"><LINK
|
HREF="frv400.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board"
|
TITLE="MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board"
|
HREF="atlas.html"></HEAD
|
HREF="atlas.html"></HEAD
|
><BODY
|
><BODY
|
CLASS="SECT1"
|
CLASS="SECT1"
|
BGCOLOR="#FFFFFF"
|
BGCOLOR="#FFFFFF"
|
TEXT="#000000"
|
TEXT="#000000"
|
LINK="#0000FF"
|
LINK="#0000FF"
|
VLINK="#840084"
|
VLINK="#840084"
|
ALINK="#0000FF"
|
ALINK="#0000FF"
|
><DIV
|
><DIV
|
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
><TABLE
|
><TABLE
|
SUMMARY="Header navigation table"
|
SUMMARY="Header navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TH
|
><TH
|
COLSPAN="3"
|
COLSPAN="3"
|
ALIGN="center"
|
ALIGN="center"
|
>eCos Reference Manual</TH
|
>eCos Reference Manual</TH
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="frv400.html"
|
HREF="frv400.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="80%"
|
WIDTH="80%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
>Chapter 5. Installation and Testing</TD
|
>Chapter 5. Installation and Testing</TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="atlas.html"
|
HREF="atlas.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
><DIV
|
><DIV
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><H1
|
><H1
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><A
|
><A
|
NAME="X86PC">IA32/x86 x86-Based PC</H1
|
NAME="X86PC">IA32/x86 x86-Based PC</H1
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN6596">Overview</H2
|
NAME="AEN6596">Overview</H2
|
><P
|
><P
|
>RedBoot supports
|
>RedBoot supports
|
two serial ports and an Intel i82559 based ethernet card (for example an Intel
|
two serial ports and an Intel i82559 based ethernet card (for example an Intel
|
EtherExpress Pro 10/100) for communication and downloads. The default serial
|
EtherExpress Pro 10/100) for communication and downloads. The default serial
|
port settings are 38400,8,N,1.</P
|
port settings are 38400,8,N,1.</P
|
><P
|
><P
|
>The following RedBoot configurations are supported:
|
>The following RedBoot configurations are supported:
|
|
|
<DIV
|
<DIV
|
CLASS="INFORMALTABLE"
|
CLASS="INFORMALTABLE"
|
><A
|
><A
|
NAME="AEN6606"><P
|
NAME="AEN6606"><P
|
></P
|
></P
|
><TABLE
|
><TABLE
|
BORDER="1"
|
BORDER="1"
|
CLASS="CALSTABLE"
|
CLASS="CALSTABLE"
|
><THEAD
|
><THEAD
|
><TR
|
><TR
|
><TH
|
><TH
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>Configuration</TH
|
>Configuration</TH
|
><TH
|
><TH
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>Mode</TH
|
>Mode</TH
|
><TH
|
><TH
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>Description</TH
|
>Description</TH
|
><TH
|
><TH
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>File</TH
|
>File</TH
|
></TR
|
></TR
|
></THEAD
|
></THEAD
|
><TBODY
|
><TBODY
|
><TR
|
><TR
|
><TD
|
><TD
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>Floppy</TD
|
>Floppy</TD
|
><TD
|
><TD
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>[Floppy]</TD
|
>[Floppy]</TD
|
><TD
|
><TD
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>RedBoot running from a boot floppy disk installed
|
>RedBoot running from a boot floppy disk installed
|
in the A: drive of the PC.</TD
|
in the A: drive of the PC.</TD
|
><TD
|
><TD
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
VALIGN="TOP"
|
VALIGN="TOP"
|
>redboot_ROM.ecm</TD
|
>redboot_ROM.ecm</TD
|
></TR
|
></TR
|
></TBODY
|
></TBODY
|
></TABLE
|
></TABLE
|
><P
|
><P
|
></P
|
></P
|
></DIV
|
></DIV
|
></P
|
></P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN6620">Initial Installation</H2
|
NAME="AEN6620">Initial Installation</H2
|
><P
|
><P
|
>RedBoot takes the form of a self-booting image that must be written
|
>RedBoot takes the form of a self-booting image that must be written
|
onto a formatted floppy disk. The process will erase any file system or data
|
onto a formatted floppy disk. The process will erase any file system or data
|
that already exists on that disk, so proceed with caution.</P
|
that already exists on that disk, so proceed with caution.</P
|
><P
|
><P
|
>For Red Hat Linux users, this can be done by:</P
|
>For Red Hat Linux users, this can be done by:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="SCREEN"
|
CLASS="SCREEN"
|
>$ <TT
|
>$ <TT
|
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
><B
|
><B
|
>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0H1440</B
|
>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0H1440</B
|
></TT
|
></TT
|
></PRE
|
></PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>For NT Cygwin users, this can be done by first ensuring that the raw
|
>For NT Cygwin users, this can be done by first ensuring that the raw
|
floppy device is mounted as <TT
|
floppy device is mounted as <TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>/dev/fd0</TT
|
>/dev/fd0</TT
|
>. To check if this
|
>. To check if this
|
is the case, type the command <B
|
is the case, type the command <B
|
CLASS="COMMAND"
|
CLASS="COMMAND"
|
>mount</B
|
>mount</B
|
> at the Cygwin bash
|
> at the Cygwin bash
|
prompt. If the floppy drive is already mounted, it will be listed as something
|
prompt. If the floppy drive is already mounted, it will be listed as something
|
similar to the following line:</P
|
similar to the following line:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="SCREEN"
|
CLASS="SCREEN"
|
> \\.\a: /dev/fd0 user binmode</PRE
|
> \\.\a: /dev/fd0 user binmode</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>If this line is not listed, then mount the floppy drive using the command:</P
|
>If this line is not listed, then mount the floppy drive using the command:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="SCREEN"
|
CLASS="SCREEN"
|
>$ <TT
|
>$ <TT
|
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
><B
|
><B
|
>mount -f -b //./a: /dev/fd0</B
|
>mount -f -b //./a: /dev/fd0</B
|
></TT
|
></TT
|
></PRE
|
></PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>To actually install the boot image on the floppy, use the command:</P
|
>To actually install the boot image on the floppy, use the command:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="SCREEN"
|
CLASS="SCREEN"
|
>$ <TT
|
>$ <TT
|
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
><B
|
><B
|
>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0</B
|
>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0</B
|
></TT
|
></TT
|
></PRE
|
></PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>Insert this floppy in the A: drive of the PC to be used as a target
|
>Insert this floppy in the A: drive of the PC to be used as a target
|
and ensure that the BIOS is configured to boot from A: by default. On reset,
|
and ensure that the BIOS is configured to boot from A: by default. On reset,
|
the PC will boot from the floppy and be ready to be debugged via either serial
|
the PC will boot from the floppy and be ready to be debugged via either serial
|
line, or via the ethernet interface if it is installed.</P
|
line, or via the ethernet interface if it is installed.</P
|
><DIV
|
><DIV
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><BLOCKQUOTE
|
><BLOCKQUOTE
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><P
|
><P
|
><B
|
><B
|
>NOTE: </B
|
>NOTE: </B
|
>Unreliable floppy media may cause the write to silently fail. This
|
>Unreliable floppy media may cause the write to silently fail. This
|
can be determined if the RedBoot image does not correctly
|
can be determined if the RedBoot image does not correctly
|
boot. In such cases, the floppy should be (unconditionally) reformatted
|
boot. In such cases, the floppy should be (unconditionally) reformatted
|
using the <B
|
using the <B
|
CLASS="COMMAND"
|
CLASS="COMMAND"
|
>fdformat</B
|
>fdformat</B
|
> command on Linux, or
|
> command on Linux, or
|
<B
|
<B
|
CLASS="COMMAND"
|
CLASS="COMMAND"
|
>format a: /u</B
|
>format a: /u</B
|
> on DOS/Windows.</P
|
> on DOS/Windows.</P
|
></BLOCKQUOTE
|
></BLOCKQUOTE
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN6642">Flash management</H2
|
NAME="AEN6642">Flash management</H2
|
><P
|
><P
|
>PC RedBoot does not support any FLASH commands.</P
|
>PC RedBoot does not support any FLASH commands.</P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN6645">Special RedBoot Commands</H2
|
NAME="AEN6645">Special RedBoot Commands</H2
|
><P
|
><P
|
>None.</P
|
>None.</P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN6648">Memory Maps</H2
|
NAME="AEN6648">Memory Maps</H2
|
><P
|
><P
|
>All selectors are initialized to map the entire 32-bit address space
|
>All selectors are initialized to map the entire 32-bit address space
|
in the familiar protected mode flat model. Page translation is not used.
|
in the familiar protected mode flat model. Page translation is not used.
|
RAM up to 640K is mapped to 0x0 to 0xa0000. RAM above 640K is mapped
|
RAM up to 640K is mapped to 0x0 to 0xa0000. RAM above 640K is mapped
|
from address 0x100000 upwards. Space is reserved between 0xa0000 and
|
from address 0x100000 upwards. Space is reserved between 0xa0000 and
|
0x100000 for option ROMs and the BIOS.</P
|
0x100000 for option ROMs and the BIOS.</P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN6651">Rebuilding RedBoot</H2
|
NAME="AEN6651">Rebuilding RedBoot</H2
|
><P
|
><P
|
>These shell variables provide the platform-specific information
|
>These shell variables provide the platform-specific information
|
needed for building RedBoot according to the procedure described in
|
needed for building RedBoot according to the procedure described in
|
<A
|
<A
|
HREF="rebuilding-redboot.html"
|
HREF="rebuilding-redboot.html"
|
>Chapter 3</A
|
>Chapter 3</A
|
>:
|
>:
|
<TABLE
|
<TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>export TARGET=pc
|
>export TARGET=pc
|
export ARCH_DIR=i386
|
export ARCH_DIR=i386
|
export PLATFORM_DIR=pc</PRE
|
export PLATFORM_DIR=pc</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></P
|
></P
|
><P
|
><P
|
>The names of configuration files are listed above with the
|
>The names of configuration files are listed above with the
|
description of the associated modes.</P
|
description of the associated modes.</P
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
SUMMARY="Footer navigation table"
|
SUMMARY="Footer navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="frv400.html"
|
HREF="frv400.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ecos-ref.html"
|
HREF="ecos-ref.html"
|
ACCESSKEY="H"
|
ACCESSKEY="H"
|
>Home</A
|
>Home</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="atlas.html"
|
HREF="atlas.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
>FRV/FRV400 Fujitsu FR-V 400 (MB-93091)</TD
|
>FRV/FRV400 Fujitsu FR-V 400 (MB-93091)</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="installation-and-testing.html"
|
HREF="installation-and-testing.html"
|
ACCESSKEY="U"
|
ACCESSKEY="U"
|
>Up</A
|
>Up</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
>MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board</TD
|
>MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|