⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x86pc.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
字号:
<!-- Copyright (C) 2003 Red Hat, Inc.                                --><!-- This material may be distributed only subject to the terms      --><!-- and conditions set forth in the Open Publication License, v1.0  --><!-- or later (the latest version is presently available at          --><!-- http://www.opencontent.org/openpub/).                           --><!-- Distribution of the work or derivative of the work in any       --><!-- standard (paper) book form is prohibited unless prior           --><!-- permission is obtained from the copyright holder.               --><HTML><HEAD><TITLE>IA32/x86 x86-Based PC</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="Installation and Testing"HREF="installation-and-testing.html"><LINKREL="PREVIOUS"TITLE="FRV/FRV400 Fujitsu FR-V 400 (MB-93091)"HREF="frv400.html"><LINKREL="NEXT"TITLE="MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board"HREF="atlas.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="frv400.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 5. Installation and Testing</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="atlas.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="X86PC">IA32/x86 x86-Based PC</H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6596">Overview</H2><P>RedBoot supportstwo serial ports and an Intel i82559 based ethernet card (for example an IntelEtherExpress Pro 10/100) for communication and downloads. The default serialport settings are 38400,8,N,1.</P><P>The following RedBoot configurations are supported:      <DIVCLASS="INFORMALTABLE"><ANAME="AEN6606"><P></P><TABLEBORDER="1"CLASS="CALSTABLE"><THEAD><TR><THALIGN="LEFT"VALIGN="TOP">Configuration</TH><THALIGN="LEFT"VALIGN="TOP">Mode</TH><THALIGN="LEFT"VALIGN="TOP">Description</TH><THALIGN="LEFT"VALIGN="TOP">File</TH></TR></THEAD><TBODY><TR><TDALIGN="LEFT"VALIGN="TOP">Floppy</TD><TDALIGN="LEFT"VALIGN="TOP">[Floppy]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from a boot floppy disk installed	      in the A: drive of the PC.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_ROM.ecm</TD></TR></TBODY></TABLE><P></P></DIV></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6620">Initial Installation</H2><P>RedBoot takes the form of a self-booting image that must be writtenonto a formatted floppy disk. The process will erase any file system or datathat already exists on that disk, so proceed with caution.</P><P>For Red Hat Linux users, this can be done by:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">$ <TTCLASS="USERINPUT"><B>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0H1440</B></TT></PRE></TD></TR></TABLE><P>For NT Cygwin users, this can be done by first ensuring that the rawfloppy device is mounted as <TTCLASS="FILENAME">/dev/fd0</TT>. To check if thisis the case, type the command <BCLASS="COMMAND">mount</B> at the Cygwin bashprompt. If the floppy drive is already mounted, it will be listed as somethingsimilar to the following line:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">  \\.\a: /dev/fd0 user binmode</PRE></TD></TR></TABLE><P>If this line is not listed, then mount the floppy drive using the command:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">$ <TTCLASS="USERINPUT"><B>mount -f -b //./a: /dev/fd0</B></TT></PRE></TD></TR></TABLE><P>To actually install the boot image on the floppy, use the command:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">$ <TTCLASS="USERINPUT"><B>dd conv=sync if=install/bin/redboot.bin of=/dev/fd0</B></TT></PRE></TD></TR></TABLE><P>Insert this floppy in the A: drive of the PC to be used as a targetand 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 serialline, or via the ethernet interface if it is installed.</P><DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>NOTE: </B>Unreliable floppy media may cause the write to silently fail. Thiscan be determined if the RedBoot image does not correctlyboot. In such cases, the floppy should be (unconditionally) reformattedusing the <BCLASS="COMMAND">fdformat</B> command on Linux, or<BCLASS="COMMAND">format a: /u</B> on DOS/Windows.</P></BLOCKQUOTE></DIV></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6642">Flash management</H2><P>PC RedBoot does not support any FLASH commands.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6645">Special RedBoot Commands</H2><P>None.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6648">Memory Maps</H2><P>All selectors are initialized to map the entire 32-bit address spacein 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 mappedfrom address 0x100000 upwards. Space is reserved between 0xa0000 and0x100000 for option ROMs and the BIOS.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6651">Rebuilding RedBoot</H2><P>These shell variables provide the platform-specific informationneeded for building RedBoot according to the procedure described in<AHREF="rebuilding-redboot.html">Chapter 3</A>:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">export TARGET=pcexport ARCH_DIR=i386export PLATFORM_DIR=pc</PRE></TD></TR></TABLE></P><P>The names of configuration files are listed above with thedescription of the associated modes.</P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="frv400.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="atlas.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">FRV/FRV400 Fujitsu FR-V 400 (MB-93091)</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="installation-and-testing.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -