📄 iq80321.html
字号:
<!-- Copyright (C) 2009 Free Software Foundation, 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. -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>ARM/XScale Intel IQ80321</TITLE
><meta name="MSSmartTagsPreventParsing" content="TRUE">
<META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="RedBoot User's Guide"
HREF="redboot-guide.html"><LINK
REL="UP"
TITLE="Installation and Testing"
HREF="installation-and-testing.html"><LINK
REL="PREVIOUS"
TITLE="ARM/XScale Cyclone IQ80310"
HREF="iq80310.html"><LINK
REL="NEXT"
TITLE="ARM/Intel XScale IXDP425 Network Processor Evaluation Board"
HREF="ixdp425.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>RedBoot User's Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="iq80310.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5. Installation and Testing</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="ixdp425.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="IQ80321"
>ARM/XScale Intel IQ80321</A
></H1
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN4750"
>Overview</A
></H2
><P
>RedBoot supports
the serial port and the built-in ethernet port for communication and downloads.
The default serial port settings are 115200,8,N,1. RedBoot also supports flash
management for the onboard 8MB flash.</P
><P
>The following RedBoot configurations are supported:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN4760"
></A
><TABLE
BORDER="1"
FRAME="border"
RULES="all"
CLASS="CALSTABLE"
><COL><COL><COL><COL><THEAD
><TR
><TH
>Configuration</TH
><TH
>Mode</TH
><TH
>Description</TH
><TH
>File</TH
></TR
></THEAD
><TBODY
><TR
><TD
>ROM</TD
><TD
>[ROM]</TD
><TD
>RedBoot running from the board's flash boot
sector.</TD
><TD
>redboot_ROM.ecm</TD
></TR
><TR
><TD
>RAM</TD
><TD
>[RAM]</TD
><TD
>RedBoot running from RAM with RedBoot in the
flash boot sector.</TD
><TD
>redboot_RAM.ecm</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN4779"
>Initial Installation Method</A
></H2
><P
>The board manufacturer provides a DOS application which is capable of
programming the flash over the PCI bus, and this is required for initial installations
of RedBoot. Please see the board manual for information on using this utility.
In general, the process involves programming the ROM mode RedBoot
image to flash. RedBoot should be programmed to flash address
0x00000000 using the DOS utility.</P
><P
>After booting the initial installation of RedBoot, this warning may
be printed: <TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="SCREEN"
>flash configuration checksum error or invalid key</PRE
></TD
></TR
></TABLE
>This is normal, and indicates that the flash must be configured
for use by RedBoot. Even if the above message is not printed, it may be a
good idea to reinitialize the flash anyway. Do this with the <B
CLASS="COMMAND"
>fis</B
> command: <TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="SCREEN"
>RedBoot> <KBD
CLASS="USERINPUT"
>fis init</KBD
>
About to initialize [format] FLASH image system - continue (y/n)? <KBD
CLASS="USERINPUT"
>y</KBD
>
*** Initialize FLASH Image System
Warning: device contents not erased, some blocks may not be usable
... Unlock from 0xf07e0000-0xf0800000: .
... Erase from 0xf07e0000-0xf0800000: .
... Program from 0x01ddf000-0x01ddf400 at 0xf07e0000: .
... Lock from 0xf07e0000-0xf0800000: .</PRE
></TD
></TR
></TABLE
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN4788"
>Switch Settings</A
></H2
><P
>The 80321 board is highly configurable through a number of switches and jumpers.
RedBoot makes some assumptions about board configuration and attention must be paid
to these assumptions for reliable RedBoot operation:
<P
></P
><UL
><LI
><P
>The onboard ethernet and the secondary slot may be placed in a
private space so that they are not seen by a PC BIOS. If the board is to be used
in a PC with BIOS, then the ethernet should be placed in this private space so that
RedBoot and the BIOS do not conflict.</P
></LI
><LI
><P
>RedBoot assumes that the board is plugged into a PC with BIOS. This
requires RedBoot to detect when the BIOS has configured the PCI-X secondary bus. If
the board is placed in a backplane, RedBoot will never see the BIOS configure the
secondary bus. To prevent this wait, set switch S7E1-3 to ON when using the board
in a backplane.</P
></LI
><LI
><P
>For the remaining switch settings, the following is a known good
configuration:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN4798"
></A
><TABLE
BORDER="1"
FRAME="border"
CLASS="CALSTABLE"
><COL><COL><TBODY
><TR
><TD
>S1D1</TD
><TD
>All OFF</TD
></TR
><TR
><TD
>S7E1</TD
><TD
>7 is ON, all others OFF</TD
></TR
><TR
><TD
>S8E1</TD
><TD
>2,3,5,6 are ON, all others OFF</TD
></TR
><TR
><TD
>S8E2</TD
><TD
>2,3 are ON, all others OFF</TD
></TR
><TR
><TD
>S9E1</TD
><TD
>3 is ON, all others OFF</TD
></TR
><TR
><TD
>S4D1</TD
><TD
>1,3 are ON, all others OFF</TD
></TR
><TR
><TD
>J9E1</TD
><TD
>2,3 jumpered</TD
></TR
><TR
><TD
>J9F1</TD
><TD
>2,3 jumpered</TD
></TR
><TR
><TD
>J3F1</TD
><TD
>Nothing jumpered</TD
></TR
><TR
><TD
>J3G1</TD
><TD
>2,3 jumpered</TD
></TR
><TR
><TD
>J1G2</TD
><TD
>2,3 jumpered</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></P
></LI
></UL
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN4834"
>LED Codes</A
></H2
><P
>RedBoot uses the two digit LED display to indicate status during board
initialization. Possible codes are:</P
><P
CLASS="LITERALLAYOUT"
>LED Actions<br>
-------------------------------------------------------------<br>
Power-On/Reset<br>
88<br>
Set the CPSR<br>
Enable coprocessor access<br>
Drain write and fill buffer<br>
Setup PBIU chip selects<br>
A1<br>
Enable the Icache<br>
A2<br>
Move FLASH chip select from 0x0 to 0xF0000000<br>
Jump to new FLASH location<br>
A3<br>
Setup and enable the MMU<br>
A4<br>
I2C interface initialization<br>
90<br>
Wait for I2C initialization to complete<br>
91<br>
Send address (via I2C) to the DIMM<br>
92<br>
Wait for transmit complete<br>
93<br>
Read SDRAM PD data from DIMM<br>
94<br>
Read remainder of EEPROM data.<br>
An error will result in one of the following<br>
error codes on the LEDs:<br>
77 BAD EEPROM checksum<br>
55 I2C protocol error<br>
FF bank size error<br>
A5<br>
Setup DDR memory interface<br>
A6<br>
Enable branch target buffer<br>
Drain the write & fill buffers<br>
Flush Icache, Dcache and BTB<br>
Flush instuction and data TLBs<br>
Drain the write & fill buffers<br>
SL<br>
ECC Scrub Loop<br>
SE<br>
A7<br>
Clean, drain, flush the main Dcache<br>
A8<br>
Clean, drain, flush the mini Dcache<br>
Flush Dcache<br>
Drain the write & fill buffers<br>
A9<br>
Enable ECC<br>
AA<br>
Save SDRAM size<br>
Move MMU tables into RAM<br>
AB<br>
Clean, drain, flush the main Dcache<br>
Clean, drain, flush the mini Dcache<br>
Drain the write & fill buffers<br>
AC<br>
Set the TTB register to DRAM mmu_table<br>
AD<br>
Set mode to IRQ mode<br>
A7<br>
Move SWI & Undefined "vectors" to RAM (at 0x0)<br>
A6<br>
Switch to supervisor mode<br>
A5<br>
Move remaining "vectors" to RAM (at 0x0)<br>
A4<br>
Copy DATA to RAM<br>
Initialize interrupt exception environment<br>
Initialize stack<br>
Clear BSS section<br>
A3<br>
Call platform specific hardware initialization<br>
A2<br>
Run through static constructors<br>
A1<br>
Start up the eCos kernel or RedBoot</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN4838"
>Special RedBoot Commands</A
></H2
><P
>A special RedBoot command, <B
CLASS="COMMAND"
>diag</B
>, is used to
access a set of hardware diagnostics. To access the diagnostic menu,
enter <B
CLASS="COMMAND"
>diag</B
> at the RedBoot prompt:
<TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="SCREEN"
>RedBoot> <KBD
CLASS="USERINPUT"
>diag</KBD
>
Entering Hardware Diagnostics - Disabling Data Cache!
IQ80321 Hardware Tests
1 - Memory Tests
2 - Repeating Memory Tests
3 - Repeat-On-Fail Memory Tests
4 - Rotary Switch S1 Test
5 - 7 Segment LED Tests
6 - i82544 Ethernet Configuration
7 - Baterry Status Test
8 - Battery Backup SDRAM Memory Test
9 - Timer Test
10 - PCI Bus test
11 - CPU Cache Loop (No Return)
0 - quit
Enter the menu item number (0 to quit):</PRE
></TD
></TR
></TABLE
>
Tests for various hardware subsystems are provided, and some tests require
special hardware in order to execute normally. The Ethernet Configuration
item may be used to set the board ethernet address.</P
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN4845"
>Memory Tests</A
></H3
><P
>This test is used to test installed DDR SDRAM memory. Five different
tests are run over the given address ranges. If errors are encountered, the
test is aborted and information about the failure is printed. When selected,
the user will be prompted to enter the base address of the test range and its
size. The numbers must be in hex with no leading “0x”</P
><TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="SCREEN"
>Enter the menu item number (0 to quit): <KBD
CLASS="USERINPUT"
>1</KBD
>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -