📄 se77x9.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>SuperH/SH3(SH77X9) Hitachi Solution Engine 77X9</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="SuperH/SH3(SH7729) Hitachi HS7729PCI"HREF="hs7729pci.html"><LINKREL="NEXT"TITLE="SuperH/SH4(SH7751) Hitachi Solution Engine 7751"HREF="se7751.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="hs7729pci.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="se7751.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SE77X9">SuperH/SH3(SH77X9) Hitachi Solution Engine 77X9</H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN7474">Overview</H2><P>Thisdescription covers the MS7729SE01 and MS7709SSE0101 variants. See <AHREF="se7709.html">the Section called <I>SuperH/SH3(SH7709) Hitachi Solution Engine 7709</I></A>for instructions for the MS7709SE01 variant.</P><P>RedBoot usesthe COM1 and COM2 serial ports. The default serial port settings are 38400,8,N,1.Ethernet is also supported using the 10-base T connector. Managementof onboard flash is also supported.</P><P>The following RedBoot configurations are supported: <DIVCLASS="INFORMALTABLE"><ANAME="AEN7486"><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></TBODY></TABLE><P></P></DIV></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN7505">Initial Installation Method</H2><P>The Solution Engine ships with the Hitachi boot monitor in EPROMwhich allows for initial programming of RedBoot:</P><P></P><OLTYPE="1"><LI><P>Set switches SW4-3 and SW4-4 to ON [boot from EPROM]</P></LI><LI><P>Connect a serial cable to COM2 and power up the board.</P></LI><LI><P>After the boot monitor banner, invoke the flashdownload/program command:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">Ready ><TTCLASS="USERINPUT"><B>fl</B></TT></PRE></TD></TR></TABLE></P></LI><LI><P>The monitor should now ask for input:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">Flash ROM data copy to RAMPlease Send A S-format Record</PRE></TD></TR></TABLE>At this point copy theRedBoot ROM SREC file to the serial port:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">$ <TTCLASS="USERINPUT"><B>cat redboot_ROM.eprom.srec > /dev/ttyS0</B></TT></PRE></TD></TR></TABLE>Eventually youshould see something like<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">Start Addrs = A1000000End Addrs = A1xxxxxxTransfer complete</PRE></TD></TR></TABLE> from the monitor.</P></LI><LI><P>Set switch SW4-3 to OFF [boot from flash] and reboot the board. Youshould now see the RedBoot banner.</P></LI></OL></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN7525">Special RedBoot Commands</H2><P>The <BCLASS="COMMAND">exec</B> command which allows the loadingand execution of Linux kernelsis 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 SE77x9 are:</P><P></P><DIVCLASS="VARIABLELIST"><DL><DT>-b <TTCLASS="REPLACEABLE"><I><addr></I></TT></DT><DD><P>Parameter block address. This is normally the firstpage of the kernel image and defaults to 0x8c101000</P></DD><DT>-i <TTCLASS="REPLACEABLE"><I><addr></I></TT></DT><DD><P>Start address of initrdimage</P></DD><DT>-j <TTCLASS="REPLACEABLE"><I><size></I></TT></DT><DD><P>Size of initrd image</P></DD><DT>-c <TTCLASS="REPLACEABLE"><I>"args"</I></TT></DT><DD><P>Kernel arguments string</P></DD><DT>-m <TTCLASS="REPLACEABLE"><I><flags></I></TT></DT><DD><P>Mount rdonly flags. If set to a non-zero value theroot partition will be mounted read-only.</P></DD><DT>-f <TTCLASS="REPLACEABLE"><I><flags></I></TT></DT><DD><P>RAM disk flags. Should normally be 0x4000</P></DD><DT>-r <TTCLASS="REPLACEABLE"><I><device number></I></TT></DT><DD><P>Root device specification. /dev/ram is 0x0101</P></DD><DT>-l <TTCLASS="REPLACEABLE"><I><type></I></TT></DT><DD><P>Loader type</P></DD></DL></DIV><P>Finally the kernel entry address can be specified as an optionalargument. The default is 0x8c102000</P><P>On the SE77x9, Linux expects to be loaded at address 0x8c101000 withthe entry point at 0x8c102000. This is configurable in the kernelusing the CONFIG_MEMORY_START option.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN7574">Memory Maps</H2><P>RedBoot sets up the following memory map on the SE77x9 board.<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">Physical Address Range Description----------------------- -----------0x80000000 - 0x803fffff Flash (MBM29LV160)0x81000000 - 0x813fffff EPROM (M27C800)0x8c000000 - 0x8dffffff SDRAM0xb0000000 - 0xb03fffff Ethernet (DP83902A)0xb0400000 - 0xb07fffff SuperIO (FDC37C935A)0xb0800000 - 0xb0bfffff Switches0xb0c00000 - 0xbfffffff LEDs0xb1800000 - 0xb1bfffff PCMCIA (MaruBun)</PRE></TD></TR></TABLE></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN7578">Ethernet Driver</H2><P>The ethernet driver uses a hardwired ESA which can, at present,only be changed in CDL.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN7581">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=se77x9export ARCH_DIR=shexport PLATFORM_DIR=se77x9</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="hs7729pci.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="se7751.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">SuperH/SH3(SH7729) Hitachi HS7729PCI</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="installation-and-testing.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">SuperH/SH4(SH7751) Hitachi Solution Engine 7751</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -