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

📄 iq80310.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- 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>ARM/Xscale Cyclone IQ80310</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="ARM/StrongARM(SA11X0) Intrinsyc CerfCube"HREF="cerfcube.html"><LINKREL="NEXT"TITLE="ARM/Xscale Intel IQ80321"HREF="iq80321.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="cerfcube.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="iq80321.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="IQ80310">ARM/Xscale Cyclone IQ80310</H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6164">Overview</H2><P>RedBoot supportsboth serial ports and the built-in ethernet port for communication and downloads.The default serial port settings are 115200,8,N,1. RedBoot also supports flashmanagement for the onboard 8MB flash.</P><P>The following RedBoot configurations are supported:      <DIVCLASS="INFORMALTABLE"><ANAME="AEN6174"><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">ROM</TD><TDALIGN="LEFT"VALIGN="TOP">[ROM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from the board's flash boot	      sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_ROM.ecm</TD></TR><TR><TDALIGN="LEFT"VALIGN="TOP">RAM</TD><TDALIGN="LEFT"VALIGN="TOP">[RAM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from RAM with RedBoot in the	      flash boot sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_RAM.ecm</TD></TR><TR><TDALIGN="LEFT"VALIGN="TOP">ROMA</TD><TDALIGN="LEFT"VALIGN="TOP">[ROM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from flash address 0x40000, with	      ARM bootloader in flash boot sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_ROMA.ecm</TD></TR><TR><TDALIGN="LEFT"VALIGN="TOP">RAMA</TD><TDALIGN="LEFT"VALIGN="TOP">[RAM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from RAM with ARM bootloader in	      flash boot sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_RAMA.ecm</TD></TR></TBODY></TABLE><P></P></DIV></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6203">Initial Installation Method</H2><P>The board manufacturer provides a DOS application which iscapable of programming the flash over the PCI bus, and this isrequired for initial installations of RedBoot. Please see the boardmanual for information on using this utility.  In general, the processinvolves programming one of the two flash based RedBoot images toflash. The ROM mode RedBoot (which runs from the flash boot sector)should be programmed to flash address 0x00000000. The ROMA RedBootmode (which is started by the ARM bootloader) should be programmed toflash address 0x00004000.</P><P> To install RedBoot to run from the flash boot sector, use the manufacturer'sflash utility to install the ROM mode image at address zero.</P><P>To install RedBoot to run from address 0x40000 with the ARM bootloaderin the flash boot sector, use the manufacturer's flash utility to installthe ROMA mode image at address 0x40000. </P><P>After booting the initial installation of RedBoot, this warning maybe printed: <TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">flash configuration checksum error or invalid key</PRE></TD></TR></TABLE>This is normal, and indicates that the flash must be configuredfor use by RedBoot. Even if the above message is not printed, it may be agood idea to reinitialize the flash anyway. Do this with the <BCLASS="COMMAND">fis</B> command: <TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">RedBoot&#62; <TTCLASS="USERINPUT"><B>fis init</B></TT>About to initialize [format] flash image system - continue (y/n)? <TTCLASS="USERINPUT"><B>y</B></TT>*** Initialize flash Image SystemWarning: device contents not erased, some blocks may not be usable... Unlock from 0x007e0000-0x00800000: .... Erase from 0x007e0000-0x00800000: .... Program from 0xa1fd0000-0xa1fd0400 at 0x007e0000: .... Lock from 0x007e0000-0x00800000: .Followed by the fconfig command:   RedBoot&#62; <TTCLASS="USERINPUT"><B>fconfig</B></TT>   Run script at boot: <TTCLASS="USERINPUT"><B>false</B></TT>   Use BOOTP for network configuration: <TTCLASS="USERINPUT"><B>false</B></TT>   Local IP address: <TTCLASS="USERINPUT"><B>192.168.1.153</B></TT>   Default server IP address: <TTCLASS="USERINPUT"><B>192.168.1.10</B></TT>   GDB connection port: <TTCLASS="USERINPUT"><B>1000</B></TT>   Network debug at boot time: <TTCLASS="USERINPUT"><B>false</B></TT>   Update RedBoot non-volatile configuration - continue (y/n)? <TTCLASS="USERINPUT"><B>y</B></TT>   ... Unlock from 0x007c0000-0x007e0000: .   ... Erase from 0x007c0000-0x007e0000: .   ... Program from 0xa0013018-0xa0013418 at 0x007c0000: .   ... Lock from 0x007c0000-0x007e0000: .</PRE></TD></TR></TABLE></P><DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>Note: </B>When later updating RedBoot in situ, it is important touse a matching ROM and RAM mode pair of images. So use either RAM/ROMor RAMA/ROMA images. Do not mix them.</P></BLOCKQUOTE></DIV></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6224">Error codes</H2><P>RedBoot uses the two digit LED display to indicate errors during   boardinitialization. Possible error codes are:      <PCLASS="LITERALLAYOUT">88&nbsp;-&nbsp;Unknown&nbsp;Error<br>55&nbsp;-&nbsp;I2C&nbsp;Error<br>FF&nbsp;-&nbsp;SDRAM&nbsp;Error<br>01&nbsp;-&nbsp;No&nbsp;Error</P></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6228">Using RedBoot with ARM Bootloader</H2><P>RedBoot can coexist with ARM tools in flash on the IQ80310 board. Inthis configuration, the ARM bootloader will occupy the flash boot sector whileRedBoot is located at flash address 0x40000. The sixteen position rotary switchis used to tell the ARM bootloader to jump to the RedBoot image located ataddress 0x40000. RedBoot is selected by switch position 0 or 1. Other switchpositions are used by the ARM firmware and RedBoot will not be started. </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6231">Special RedBoot Commands</H2><P>A special RedBoot command, <BCLASS="COMMAND"

⌨️ 快捷键说明

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