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/ARM7 Atmel AT91 Evaluation Board (EB40)</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+ARM9 ARM PID Board and EPI Dev7+Dev9"
28 TITLE="ARM/ARM7 Cirrus Logic EP7xxx (EDB7211, EDB7212, EDB7312) "
29 HREF="edb7xxx.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
65 >Chapter 5. Installation and Testing</TD
85 NAME="AT91">ARM/ARM7 Atmel AT91 Evaluation Board (EB40)</H1
91 NAME="AEN5256">Overview</H2
93 >RedBoot supports both serial ports.
94 The default serial port settings are 38400,8,N,1. RedBoot
95 also supports minimal flash management on the EB40.
96 However, since the flash device (AT29LV1024) is so small (only the upper 64K is
97 available for general use), only the simple flash write command 'fis
98 write' is supported.</P
100 >The following RedBoot configurations are supported:
103 CLASS="INFORMALTABLE"
143 >RedBoot running from the board's flash boot
162 >RedBoot running from RAM with RedBoot in the
163 flash boot sector.</TD
181 >RedBoot running from RAM, but contained in the
182 board's flash boot sector.</TD
186 >redboot_ROMRAM.ecm</TD
200 NAME="AEN5290">Initial Installation Method</H2
202 >This development board comes with ARM's debug tool, Angel, installed in flash.
203 At this time, Angel will not be replaced. Rather, RedBoot will be placed in
204 the alternate half of flash. Switch SW1 is used which monitor to boot. Selecting
205 SW1 to "lower mem" will choose Angel. Select SW1 to "Upper mem" for RedBoot once
206 it has been installed.</P
208 >Set SW1 to "lower mem" and connect serial port A to a host computer. Using GDB
209 from the host and Angel on the board, download the RAM mode image of RedBoot
210 to the board. SW1 should then be set to "upper mem" just before starting RedBoot using
211 the 'cont' command. Once RedBoot is started, the Angel session must be interrupted (on
212 Linux this can be done using ^Z). Follow this by connecting to the board using
213 minicom at 38400-8N1. At this point, RedBoot will be running on the board in
214 RAM. Now, download the ROMRAM mode image and program it to flash.
226 >arm-elf-gdb redboot_RAM.elf</B
232 >tar rdi s=/dev/ttyS0</B
235 Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for
237 Angel Debug Monitor rebuilt on Apr 07 2000 at 12:40:31
239 Connected to ARM RDI target.
252 Loading section .rom_vectors, size 0x40 lma 0x2020000
253 Loading section .text, size 0x7fd8 lma 0x2020040
254 Loading section .rodata, size 0x15a0 lma 0x2028018
255 Loading section .data, size 0x2e4 lma 0x20295b8
256 Start address 0x2020040 , load size 39068
257 Transfer rate: 6250 bits/sec, 500 bytes/write.</PRE
262 At this point, set SW1 to "upper mem".
282 At this point, suspend the GDB session (use Ctrl-Z) and start a
299 RedBoot(tm) bootstrap and debug environment [RAM]
300 Non-certified release, version UNKNOWN - built 14:09:27, Jul 20 2001
302 Platform: Atmel AT91/EB40 (ARM7TDMI)
303 Copyright (C) 2000, 2001, Red Hat, Inc.
305 RAM: 0x02000000-0x02080000, 0x020116d8-0x0207fd00 available
306 FLASH: 0x01010000 - 0x01020000, 256 blocks of 0x00000100 bytes each.
311 >load -m ymodem -b %{FREEMEMLO}</B
318 Use minicom to send the file redboot_ROMRAM.srec via YModem.
330 >fi wr -f 0x01010000 -b %{FREEMEMLO} -l 0xe100</B
337 Press the "reset" pushbutton and RedBoot
338 should come up on the board.</P
345 NAME="AEN5306">Special RedBoot Commands</H2
354 NAME="AEN5309">Memory Maps</H2
356 >This processor has no MMU, so the only memory map is for physical addresses.
364 CLASS="PROGRAMLISTING"
365 >Physical Address Range Description
366 ----------------------- ----------------------------------
367 0x00000000 - 0x00000fff On-chip SRAM
368 0x01000000 - 0x0101ffff Flash
369 0x02000000 - 0x0207ffff RAM
370 0xffe00000 - 0xffffffff I/O registers
372 The flash based RedBoot image occupies virtual addresses 0x01010000 - 0x0101dfff</PRE
383 NAME="AEN5313">Rebuilding RedBoot</H2
385 >These shell variables provide the platform-specific information
386 needed for building RedBoot according to the procedure described in
388 HREF="rebuilding-redboot.html"
398 CLASS="PROGRAMLISTING"
401 export PLATFORM_DIR=at91</PRE
407 >The names of configuration files are listed above with the
408 description of the associated modes.</P
416 SUMMARY="Footer navigation table"
455 >ARM/ARM7+ARM9 ARM PID Board and EPI Dev7+Dev9</TD
461 HREF="installation-and-testing.html"
469 >ARM/ARM7 Cirrus Logic EP7xxx (EDB7211, EDB7212, EDB7312)</TD