This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
AT91EB40 RedBoot installation instructions update
- From: John Dallaway <jld at ecoscentric dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 19 Mar 2003 15:35:36 +0000
- Subject: AT91EB40 RedBoot installation instructions update
- Organization: eCosCentric Limited
This patch clarifies and corrects the RedBoot installation instructions
for the Atmel AT91EB40 board.
John Dallaway
eCosCentric Limited
--cut here--
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.96
diff -u -5 -r1.96 ChangeLog
--- ChangeLog 18 Mar 2003 13:10:04 -0000 1.96
+++ ChangeLog 19 Mar 2003 15:32:02 -0000
@@ -1,5 +1,10 @@
+2002-03-19 John Dallaway <jld at ecoscentric dot com>
+
+ * doc/redboot_installing.sgml: Update Atmel AT91EB40 RedBoot
+ installation instructions.
+
2003-03-18 Mark Salter <msalter at redhat dot com>
* doc/redboot_installing.sgml: Add XScale IXDP425 and GRG.
2003-03-05 Jonathan Larmour <jifl at eCosCentric dot com>
@@ -627,18 +632,18 @@
* doc/redboot.sgml: Updated ebsa285 details.
Updated ipaq details.
Updated edb7312 details.
2002-03-05 Gary Thomas <gthomas at redhat dot com>
-2002-02-25 Hendrik Ruijter <Hendrik dot Ruijter at axis dot com>
+2002-02-25 Hendrik Ruijter <Hendrik dot Ruijter at axis dot com>
* include/net/net.h: Add 'reuse' flag.
* src/net/tcp.c
(tcp_send): Adjust socket close time to allow for faster re-use.
- (__tcp_handler): Statetransitions to TIME_WAIT on active close
- when FIN,ACK receivedsimultaneously.
+ (__tcp_handler): Statetransitions to TIME_WAIT on active close
+ when FIN,ACK receivedsimultaneously.
(__tcp_so_reuseaddr): New function - select fast re-use.
2002-03-05 Jesper Skov <jskov at redhat dot com>
* doc/redboot.sgml: Add something about updating RedBoot on
Index: doc/redboot_installing.sgml
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/doc/redboot_installing.sgml,v
retrieving revision 1.7
diff -u -5 -r1.7 redboot_installing.sgml
--- doc/redboot_installing.sgml 18 Mar 2003 13:10:04 -0000 1.7
+++ doc/redboot_installing.sgml 19 Mar 2003 15:32:28 -0000
@@ -786,13 +786,12 @@
installing and testing</primary><secondary>Atmel AT91/EB40
</secondary></indexterm>RedBoot supports both serial ports.
The default serial port settings are 38400,8,N,1. RedBoot
also supports minimal flash management on the EB40.
However, since the flash device (AT29LV1024) is so small (only the upper 64K is
-available for general use), only 'fconfig' is
-supported, along with the simple flash write command, 'fis
-write'.</para>
+available for general use), only the simple flash write command 'fis
+write' is supported.</para>
<para>The following RedBoot configurations are supported:
<informaltable frame="all">
<tgroup cols="4" colsep="1" rowsep="1" align="left">
@@ -842,31 +841,34 @@
it has been installed.
</para>
<para>
Set SW1 to "lower mem" and connect serial port A to a host computer. Using GDB
from the host and Angel on the board, download the RAM mode image of RedBoot
-to the board. Once this is started, the Angel session must be interrupted (on
+to the board. SW1 should then be set to "upper mem" just before starting RedBoot using
+the 'cont' command. Once RedBoot is started, the Angel session must be interrupted (on
Linux this can be done using ^Z). Follow this by connecting to the board using
minicom at 38400-8N1. At this point, RedBoot will be running on the board in
-RAM. Now, download the ROMRAM mode image and program it to flash. Be sure and
-first set SW1 to "upper mem".
+RAM. Now, download the ROMRAM mode image and program it to flash.
<screen>
<userinput>arm-elf-gdb redboot_RAM.elf</userinput>
(gdb) <userinput>tar rdi s=/dev/ttyS0</userinput>
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for
AT91EB40 (2.00)
Angel Debug Monitor rebuilt on Apr 07 2000 at 12:40:31
Serial Rate: 9600
Connected to ARM RDI target.
-(gdb) <userinput>set $ps=0xd3</userinput>
+(gdb) <userinput>set $cpsr=0xd3</userinput>
(gdb) <userinput>load</userinput>
Loading section .rom_vectors, size 0x40 lma 0x2020000
Loading section .text, size 0x7fd8 lma 0x2020040
Loading section .rodata, size 0x15a0 lma 0x2028018
Loading section .data, size 0x2e4 lma 0x20295b8
Start address 0x2020040 , load size 39068
Transfer rate: 6250 bits/sec, 500 bytes/write.
+</screen>
+At this point, set SW1 to "upper mem".
+<screen>
(gdb) <userinput>cont</userinput>
Continuing.
</screen>
At this point, suspend the GDB session (use Ctrl-Z) and start a
terminal emulator:
@@ -884,13 +886,13 @@
RedBoot> <userinput>load -m ymodem -b %{FREEMEMLO}</userinput>
</screen>
Use minicom to send the file redboot_ROMRAM.srec via YModem.
<screen>
-RedBoot> <userinput>fi wr -f 0x01010000 -b %{FREEMEMLO} -l 0xe000</userinput>
+RedBoot> <userinput>fi wr -f 0x01010000 -b %{FREEMEMLO} -l 0xe100</userinput>
</screen>
-Set switch SW1 to "upper mem", press the "reset" pushbutton and RedBoot
+Press the "reset" pushbutton and RedBoot
should come up on the board.
</para>
</sect2>
<sect2>
<title>Special RedBoot Commands </title>