1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >ARM/ARM9 Agilent AAED2000</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Installation and Testing"
23 HREF="installation-and-testing.html"><LINK
25 TITLE="ARM/ARM7 Cirrus Logic EP7xxx (EDB7211, EDB7212, EDB7312) "
26 HREF="edb7xxx.html"><LINK
28 TITLE="ARM/ARM9 Altera Excalibur"
29 HREF="excaliburarm9.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
65 >Chapter 5. Installation and Testing</TD
71 HREF="excaliburarm9.html"
85 NAME="AAED2000">ARM/ARM9 Agilent AAED2000</H1
91 NAME="AEN5379">Overview</H2
93 >RedBoot supports the serial and ethernet ports
94 on the board. The default serial port settings are 38400,8,N,1.
95 RedBoot also supports flash management on the AAED2000.</P
97 >The following RedBoot configurations are supported:
100 CLASS="INFORMALTABLE"
140 >RedBoot running from RAM, but contained in the
141 board's flash boot sector.</TD
145 >redboot_primary_ROMRAM.ecm</TD
159 >RedBoot running from RAM with RedBoot in the
160 flash boot sector.</TD
164 >redboot_primary_RAM.ecm</TD
178 NAME="AEN5408">Initial Installation Method</H2
180 >It is possible to install RedBoot in one of two ways. Either as
181 the primary bootmonitor on the board (installed to blocks 0-1 of the
182 flash) or as the secondary bootmonitor on the board (installed to
183 blocks 1-2 of the flash).</P
185 >Presently, only the former method is supported.</P
191 NAME="AEN5412">RedBoot as Primary Bootmonitor</H3
193 >RedBoot is installed in flash using the on-board ARM Boot
196 >Boot the board while pressing SPACE. This should bring up the
206 >ARM bootPROM [Version 1.3] Rebuilt on Jul 16 2001 at 16:21:36
207 Running on a P920 board Evaluation Board
208 Board Revision V1.0, ARM920T processor Processor
209 Memory Size is 32MBytes, Flash Size is 32MBytes
210 Copyright (c) ARM Limited 1999 - 2001. All rights reserved.
211 Board designed by ARM Limited
212 Hardware support provided at http://www.arm.com/
213 For help on the available commands type ? or h
214 boot Monitor > </PRE
220 Download the RAM mode image of RedBoot configured as a primary
221 bootmonitor using the ARM bootmonitor's SREC-download command:
231 >boot Monitor > <TT
237 Load Motorola S-Record image into memory and execute it
238 The S-Record loader only accepts input on the serial port.
239 Record addresses must be between 0x00008000 and 0x01E0F510.
240 Type Ctrl/C to exit loader.</PRE
246 Use the terminal emulator's ASCII upload command, or (on Linux) simply
247 cat the file to the serial port:
260 >cat redboot_primary_RAM/redboot.srec >/dev/ttyS1</B
268 You should see RedBoot start up:
278 >FLASH configuration checksum error or invalid key
279 Ethernet eth0: MAC address 00:30:d3:03:04:99
280 IP: 192.168.42.111, Default server: 192.168.42.3
282 RedBoot(tm) bootstrap and debug environment [RAM]
283 Non-certified release, version UNKNOWN - built 13:15:40, Nov 9 2001
285 Platform: AAED2000 system (ARM9) [Primary]
286 Copyright (C) 2000, 2001, Red Hat, Inc.
288 RAM: 0x00000000-0x01f80000, 0x0006f208-0x01f51000 available
289 FLASH: 0x60000000 - 0x62000000, 256 blocks of 0x00020000 bytes each.
296 As can be seen from the output above, the network has been configured
297 to give the board an IP address and information about the default
298 server. If things are not set up on your network, you can still
299 continue, but use the Y-modem download method when loading the RedBoot
302 Now initialize RedBoot's FIS:
318 About to initialize [format] FLASH image system - continue (y/n)? <TT
324 *** Initialize FLASH Image System
325 Warning: device contents not erased, some blocks may not be usable
326 ... Erase from 0x61fe0000-0x62000000: .
327 ... Program from 0x01f5f000-0x01f5f300 at 0x61fe0000: .</PRE
333 Download the ROMRAM mode image of RedBoot via ethernet:
346 >load -b %{FREEMEMLO} redboot_primary_ROMRAM/redboot.srec</B
354 or using serial Y-modem protocol:
367 >load -mode ymodem -b %{FREEMEMLO}</B
375 (Use the terminal emulator's Y-modem upload command to send the file
378 >redboot_primary_ROMRAM/redboot.srec</TT
381 When the image has been downloaded, program it into flash:
391 >Address offset = 0x00ff8000
392 Entry point: 0x00008040, address range: 0x00008000-0x0002da80
399 An image named 'RedBoot' exists - continue (y/n)? <TT
405 * CAUTION * about to program 'RedBoot'
406 at 0x60000000..0x6003ffff from 0x00100000 - continue (y/n)? <TT
412 ... Erase from 0x60000000-0x60040000: ..
413 ... Program from 0x00100000-0x00140000 at 0x60000000: ..
414 ... Erase from 0x61fe0000-0x62000000: .
415 ... Program from 0x01f5f000-0x01f7f000 at 0x61fe0000: .</PRE
421 Now reset the board. You should see the RedBoot banner.</P
429 NAME="AEN5434">Special RedBoot Commands</H2
434 > command which allows the loading
435 and execution of Linux kernels,
436 is supported for this board (see <A
437 HREF="executing-programs.html"
438 >the Section called <I
439 >Executing Programs from RedBoot</I
444 > parameters used for the AAED2000 are:</P
459 >Location Linux kernel was loaded to</P
481 >Parameters passed to kernel</P
492 >'initrd' ramdisk location</P
503 >Length of initrd ramdisk</P
508 >The parameters for kernel image base and size are automatically
509 set after a load operation. So one way of starting the kernel would
523 >load -r -b 0x100000 zImage</B
526 Raw file loaded 0x00100000-0x001a3d6c
527 RedBoot> exec -c "console=ttyAC0,38400"
528 Using base address 0x00100000 and length 0x000a3d6c
529 Uncompressing Linux.....</PRE
535 An image could also be put in flash and started directly:
548 >exec -b 0x60040000 -l 0xc0000 -c "console=ttyAC0,38400"</B
551 Uncompressing Linux.....</PRE
562 NAME="AEN5471">Memory Maps</H2
564 >The MMU page tables are located at 0x4000. <DIV
571 >The virtual memory maps in this section use a C and B column to indicate
572 whether or not the region is cached (C) or buffered (B).</P
582 CLASS="PROGRAMLISTING"
583 >Physical Address Range Description
584 ----------------------- ----------------------------------
585 0x00000000 - 0x01ffffff Flash
586 0x10000000 - 0x100fffff Ethernet
587 0x30000000 - 0x300fffff Board registers
588 0x40000000 - 0x4fffffff PCMCIA Slot (0)
589 0x50000000 - 0x5fffffff Compact Flash Slot (1)
590 0x80000000 - 0x800037ff I/O registers
591 0xb0060000 - 0xb00fffff On-chip SRAM
592 0xf0000000 - 0xfd3fffff SDRAM
594 Virtual Address Range C B Description
595 ----------------------- - - ----------------------------------
596 0x00000000 - 0x01f7ffff Y Y SDRAM
597 0x01f80000 - 0x01ffffff Y Y SDRAM (used for LCD frame buffer)
598 0x10000000 - 0x100fffff N N Ethernet
599 0x30000000 - 0x300fffff N N Board registers
600 0x40000000 - 0x4fffffff N N PCMCIA Slot (0)
601 0x50000000 - 0x5fffffff N N Compact Flash Slot (1)
602 0x60000000 - 0x61ffffff N N Flash
603 0x80000000 - 0x800037ff N N I/O registers
604 0xf0000000 - 0xffffffff N N SDRAM (uncached) </PRE
615 NAME="AEN5478">Rebuilding RedBoot</H2
617 >These shell variables provide the platform-specific information
618 needed for building RedBoot according to the procedure described in
620 HREF="rebuilding-redboot.html"
630 CLASS="PROGRAMLISTING"
633 export PLATFORM_DIR=arm9/aaed2000</PRE
639 >The names of configuration files are listed above with the
640 description of the associated modes.</P
648 SUMMARY="Footer navigation table"
677 HREF="excaliburarm9.html"
687 >ARM/ARM7 Cirrus Logic EP7xxx (EDB7211, EDB7212, EDB7312)</TD
693 HREF="installation-and-testing.html"
701 >ARM/ARM9 Altera Excalibur</TD