📄 excaliburarm9.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>ARM/ARM9 Altera Excalibur</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/ARM9 Agilent AAED2000"HREF="aaed2000.html"><LINKREL="NEXT"TITLE="ARM/StrongARM(SA110) Intel EBSA 285"HREF="ebsa285.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="aaed2000.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="ebsa285.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="EXCALIBURARM9">ARM/ARM9 Altera Excalibur</H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5486">Overview</H2><P>RedBoot supports the serial port labelledP2 on the board. The default serial port settings are 57600,8,N,1. RedBootalso supports flash management on the Excalibur.</P><P>The following RedBoot configurations are supported: <DIVCLASS="INFORMALTABLE"><ANAME="AEN5496"><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">ROMRAM</TD><TDALIGN="LEFT"VALIGN="TOP">[ROMRAM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from RAM, but contained in the board's flash boot sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_ROMRAM.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">REDBOOT</TD><TDALIGN="LEFT"VALIGN="TOP">[ROMRAM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from top of RAM, but contained in the board's flash boot sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_REDBOOT.ecm</TD></TR></TBODY></TABLE><P></P></DIV></P><DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>NOTE: </B>RedBoot is currently hardwired to use a 128MB SDRAM SIMM module.</P></BLOCKQUOTE></DIV></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5523">Initial Installation Method</H2><P>A Windows utility(<SPANCLASS="APPLICATION">exc_flash_programmer.exe</SPAN>) is used toprogram flash using the ByteBlasterMV JTAG unit.See board documentation for details onin situ flash programming. </P><P>For ethernet to work (under Linux) the following jumpersettings should be used on a REV 2 board: <PCLASS="LITERALLAYOUT">SW2-9 : OFF<br>U179 : 2-3<br>JP14-18 : OPEN<br>JP40-41 : 2-3<br>JP51-55 : 2-3</P></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5529">Flash management</H2><P>The ROMRAM and REDBOOT configurations supported on this platformdiffer only in the memory layout (ROMRAM configuration runs RedBoot from0x00008000 while REDBOOT configuration runs RedBoot from 0x07f80000). TheREDBOOT configuration allows applications to be loaded and run fromaddress 0x00008000.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5532">Special RedBoot Commands</H2><P>The <BCLASS="COMMAND">exec</B> command which allows the loadingand execution of Linux kernels,is supported for this board (see <AHREF="executing-programs.html">the Section called <I>Executing Programs from RedBoot</I> in Chapter 2</A>). The <BCLASS="COMMAND">exec</B> parameters used for the Excalibur are:</P><P></P><DIVCLASS="VARIABLELIST"><DL><DT>-b <TTCLASS="REPLACEABLE"><I><addr></I></TT></DT><DD><P>Location Linux kernel was loaded to</P></DD><DT>-l <TTCLASS="REPLACEABLE"><I><len></I></TT></DT><DD><P>Length of kernel</P></DD><DT>-c <TTCLASS="REPLACEABLE"><I>"params"</I></TT></DT><DD><P>Parameters passed to kernel</P></DD><DT>-r <TTCLASS="REPLACEABLE"><I><addr></I></TT></DT><DD><P>'initrd' ramdisk location</P></DD><DT>-s <TTCLASS="REPLACEABLE"><I><len></I></TT></DT><DD><P>Length of initrd ramdisk</P></DD></DL></DIV><P>The parameters for kernel image base and size are automaticallyset after a load operation. So one way of starting the kernel wouldbe:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">RedBoot> <TTCLASS="USERINPUT"><B>load -r -b 0x100000 zImage</B></TT>Raw file loaded 0x00100000-0x001a3d6cRedBoot> <TTCLASS="USERINPUT"><B>exec -c "console=ttyUA0,57600"</B></TT>Using base address 0x00100000 and length 0x000a3d6cUncompressing Linux.....</PRE></TD></TR></TABLE>An image could also be put in flash and started directly:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">RedBoot> <TTCLASS="USERINPUT"><B>exec -b 0x40400000 -l 0xc0000 -c "console=ttyUA0,57600"</B></TT>Uncompressing Linux.....</PRE></TD></TR></TABLE> </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5570">Memory Maps</H2><P>The MMU page tables are located at 0x4000. <DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>NOTE: </B>The virtual memory maps in this section use a C and B column to indicatewhether or not the region is cached (C) or buffered (B).</P></BLOCKQUOTE></DIV><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">Physical Address Range Description----------------------- ----------------------------------0x00000000 - 0x07ffffff SDRAM0x08000000 - 0x0805ffff On-chip SRAM0x40000000 - 0x40ffffff Flash0x7fffc000 - 0x7fffffff I/O registers0x80000000 - 0x8001ffff PLDVirtual Address Range C B Description----------------------- - - ----------------------------------0x00000000 - 0x07ffffff Y Y SDRAM0x08000000 - 0x0805ffff Y Y On-chip SRAM0x40000000 - 0x403fffff N Y Flash0x7fffc000 - 0x7fffffff N N I/O registers0x80000000 - 0x8001ffff N N PLD</PRE></TD></TR></TABLE></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5577">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=excalibur_arm9export ARCH_DIR=armexport PLATFORM_DIR=arm9/excalibur</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="aaed2000.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="ebsa285.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ARM/ARM9 Agilent AAED2000</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="installation-and-testing.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">ARM/StrongARM(SA110) Intel EBSA 285</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -