This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: New port for ARM Industrial Module AIM 711 - Checked by AntiVir DEM
- From: Roland Caßebohm <roland dot cassebohm at VisionSystems dot de>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 9 Jun 2004 13:06:08 +0200
- Subject: Re: New port for ARM Industrial Module AIM 711 - Checked by AntiVir DEM
- References: <200404291559.49435.roland.cassebohm@visionsystems.de> <200406081621.29822.roland.cassebohm@visionsystems.de> <20040608144021.GF18537@lunn.ch>
Am Dienstag, 8. Juni 2004 16:40 schrieb Andrew Lunn:
> On Tue, Jun 08, 2004 at 04:21:29PM +0200, Roland Ca?ebohm
wrote:
> > Hi,
> >
> > I have now everything together.
> >
> > Additionally I have made some RedBoot binaries for
> > htdocs/boards/redbootbins/aim711.
> > Should I send this directory to the mailinglist too?
>
> Redboot images can be quite big. Its probably better to
> send them to me as a tgz file i can just untar into the
> correct location.
>
> > Furthermore I have to send a bugfix of the I2C code of
> > them AIM. I do this in an extra mail.
>
> OK.
>
> > I could not make cvs diff at the moment, is it possible
> > that there is a problem with the server?
>
> I've seen a couple of other reports as well. It looks
> like a problem with anoncvs access. maintainer access
> still seems to work, but that uses a different mechanism
> altogether.
>
> Andrew
CVS is working again for me, so here are the patches.
The redboot images and the other new files I have sent
directly to Andrew.
The patches are all from the root directory of the
repository.
I hope my English is not to bad :-) .
Roland
--
___________________________________________________
VS Vision Systems GmbH, Industrial Image Processing
Dipl.-Ing. Roland Caßebohm
Aspelohe 27A, D-22848 Norderstedt, Germany
Mail: roland.cassebohm@visionsystems.de
http://www.visionsystems.de
___________________________________________________
? htdocs/boards/aim711.html
? htdocs/boards/inc/aim711.html
? htdocs/boards/redbootbins/aim711
Index: htdocs/hardware.html
===================================================================
RCS file: /cvs/ecos/htdocs/hardware.html,v
retrieving revision 1.76
diff -u -5 -p -r1.76 hardware.html
--- htdocs/hardware.html 16 Feb 2004 17:38:22 -0000 1.76
+++ htdocs/hardware.html 9 Jun 2004 09:15:49 -0000
@@ -86,10 +86,11 @@ the <a href="/fom/ecos">FAQ</a>.</p>
<!--#include virtual="boards/inc/edb7211.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/edb7212.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/edb7312.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/snds100.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/e7t.html" --><!--#include virtual="board-tablerow.html" -->
+ <!--#include virtual="boards/inc/aim711.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/arm-aeb-1.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/ti-omap-arm9-innovator.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/ebsa-285.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/brutus.html" --><!--#include virtual="board-tablerow.html" -->
<!--#include virtual="boards/inc/sa1100mm.html" --><!--#include virtual="board-tablerow.html" -->
Index: doc/sgml/user-guide/real-time-characterization.sgml
===================================================================
RCS file: /cvs/ecos/ecos/doc/sgml/user-guide/real-time-characterization.sgml,v
retrieving revision 1.2
diff -u -5 -p -r1.2 real-time-characterization.sgml
--- doc/sgml/user-guide/real-time-characterization.sgml 9 Jul 2003 12:21:05 -0000 1.2
+++ doc/sgml/user-guide/real-time-characterization.sgml 9 Jun 2004 09:24:51 -0000
@@ -3172,6 +3172,145 @@ Timing complete - 30590 ms total
PASS:<Basic timing OK>
EXIT:<done>
</LITERALLAYOUT>
</SECT1>
+
+<!-- ==================================================== -->
+
+<SECT1 id="rt-s3c4510-aim711">
+<TITLE>Board: ARM Industrial Module AIM711 (S3C4510)</TITLE>
+<LITERALLAYOUT CLASS="MONOSPACED">
+Board: ARM Industrial Module AIM711 (S3C4510)
+CPU : S3C4510B (ARM7TDMI core), 50MHz
+8MB RAM, 2MB Flash
+
+Startup, main stack : stack used 82 size 2400
+Startup : Interrupt stack used 134 size 4096
+Startup : Idlethread stack used 91 size 2048
+
+eCos Kernel Timings
+Notes: all times are in microseconds (.000001) unless otherwise stated
+
+Reading the hardware clock takes 33 'ticks' overhead
+... this value will be factored out of all other measurements
+Clock interrupt took 17.68 microseconds (884 raw clock ticks)
+
+Testing parameters:
+ Clock samples: 32
+ Threads: 64
+ Thread switches: 128
+ Mutexes: 32
+ Mailboxes: 32
+ Semaphores: 32
+ Scheduler operations: 128
+ Counters: 32
+ Flags: 32
+ Alarms: 32
+
+
+ Confidence
+ Ave Min Max Var Ave Min Function
+ ====== ====== ====== ====== ========== ========
+ 22.99 15.24 36.98 4.01 50% 26% Create thread
+ 2.96 2.88 8.30 0.17 98% 98% Yield thread [all suspended]
+ 3.57 3.36 8.76 0.26 93% 71% Suspend [suspended] thread
+ 3.64 3.00 8.74 0.33 65% 20% Resume thread
+ 5.44 4.78 15.10 0.42 75% 26% Set priority
+ 0.77 0.20 1.98 0.25 59% 17% Get priority
+ 14.46 12.40 33.02 1.03 85% 9% Kill [suspended] thread
+ 2.95 2.88 7.44 0.14 98% 98% Yield [no other] thread
+ 6.73 5.40 15.60 0.44 78% 6% Resume [suspended low prio] thread
+ 3.59 2.98 7.18 0.28 56% 21% Resume [runnable low prio] thread
+ 5.77 4.78 13.46 0.44 71% 18% Suspend [runnable] thread
+ 2.97 2.88 8.86 0.18 98% 98% Yield [only low prio] thread
+ 3.40 2.86 6.26 0.26 59% 17% Suspend [runnable->not runnable]
+ 14.15 12.08 30.54 1.09 78% 23% Kill [runnable] thread
+ 11.00 9.74 23.38 0.75 70% 31% Destroy [dead] thread
+ 20.35 17.72 43.00 1.26 73% 14% Destroy [runnable] thread
+ 23.77 21.02 45.38 1.59 68% 35% Resume [high priority] thread
+ 8.40 8.30 15.38 0.18 89% 89% Thread switch
+
+ 0.10 0.08 1.52 0.03 92% 92% Scheduler lock
+ 2.01 1.98 3.80 0.06 92% 92% Scheduler unlock [0 threads]
+ 2.01 1.98 3.80 0.06 92% 92% Scheduler unlock [1 suspended]
+ 2.01 1.98 4.08 0.06 92% 92% Scheduler unlock [many suspended]
+ 2.01 1.98 3.68 0.05 92% 92% Scheduler unlock [many low prio]
+
+ 0.67 0.54 3.90 0.21 96% 96% Init mutex
+ 4.55 4.14 12.40 0.53 96% 87% Lock [unlocked] mutex
+ 4.84 4.12 12.78 0.56 65% 56% Unlock [locked] mutex
+ 3.72 3.18 8.86 0.41 68% 56% Trylock [unlocked] mutex
+ 3.22 2.76 5.38 0.26 65% 28% Trylock [locked] mutex
+ 0.49 0.34 3.26 0.26 93% 84% Destroy mutex
+ 33.13 32.42 43.64 0.66 90% 81% Unlock/Lock mutex
+
+ 1.21 1.06 5.12 0.25 96% 96% Create mbox
+ 0.63 0.46 2.66 0.22 96% 71% Peek [empty] mbox
+ 4.57 3.64 11.12 0.50 75% 18% Put [first] mbox
+ 0.52 0.10 2.74 0.23 62% 18% Peek [1 msg] mbox
+ 5.39 4.46 12.00 0.56 75% 43% Put [second] mbox
+ 0.51 0.10 2.38 0.22 62% 18% Peek [2 msgs] mbox
+ 5.06 4.00 13.86 0.60 81% 18% Get [first] mbox
+ 5.01 4.36 9.20 0.38 68% 25% Get [second] mbox
+ 5.56 4.70 11.22 0.55 75% 37% Tryput [first] mbox
+ 4.25 3.14 10.64 0.49 75% 9% Peek item [non-empty] mbox
+ 5.10 3.82 14.02 0.78 78% 40% Tryget [non-empty] mbox
+ 3.86 3.12 9.72 0.47 81% 21% Peek item [empty] mbox
+ 4.13 3.28 11.20 0.54 87% 59% Tryget [empty] mbox
+ 0.60 0.14 2.34 0.22 68% 9% Waiting to get mbox
+ 0.61 0.14 2.90 0.27 78% 15% Waiting to put mbox
+ 4.51 3.66 11.20 0.53 84% 50% Delete mbox
+ 26.55 26.00 31.46 0.37 78% 40% Put/Get mbox
+
+ 0.53 0.44 2.68 0.15 96% 90% Init semaphore
+ 3.08 2.76 5.02 0.29 43% 46% Post [0] semaphore
+ 3.64 3.20 7.72 0.40 53% 50% Wait [1] semaphore
+ 3.08 2.66 7.40 0.39 50% 50% Trywait [0] semaphore
+ 2.72 2.62 5.88 0.20 96% 96% Trywait [1] semaphore
+ 0.85 0.52 3.30 0.32 50% 50% Peek semaphore
+ 0.80 0.34 3.74 0.39 46% 37% Destroy semaphore
+ 21.87 21.54 25.64 0.28 68% 65% Post/Wait semaphore
+
+ 1.18 1.04 4.92 0.24 96% 96% Create counter
+ 0.69 0.52 2.84 0.24 93% 71% Get counter value
+ 0.26 0.14 1.76 0.18 78% 78% Set counter value
+ 3.73 3.24 5.62 0.14 78% 12% Tick counter
+ 0.79 0.36 3.58 0.19 78% 15% Delete counter
+
+ 0.53 0.44 3.06 0.17 96% 90% Init flag
+ 3.49 3.02 9.28 0.45 53% 50% Destroy flag
+ 2.93 2.52 7.42 0.39 50% 46% Mask bits in flag
+ 3.58 3.12 9.38 0.46 50% 50% Set bits in flag [no waiters]
+ 7.48 7.22 12.90 0.35 96% 96% Wait for flag [AND]
+ 4.92 4.66 11.22 0.39 96% 96% Wait for flag [OR]
+ 4.58 4.30 11.66 0.44 96% 96% Wait for flag [AND/CLR]
+ 4.39 4.12 11.02 0.43 96% 96% Wait for flag [OR/CLR]
+ 0.06 0.00 1.40 0.11 87% 87% Peek on flag
+
+ 1.82 1.58 8.02 0.40 96% 96% Create alarm
+ 7.27 6.54 17.86 0.77 93% 87% Initialize alarm
+ 3.30 2.58 7.28 0.60 56% 71% Disable alarm
+ 7.60 5.82 14.72 0.84 81% 12% Enable alarm
+ 3.86 3.06 9.20 0.67 53% 65% Delete alarm
+ 4.03 3.90 7.18 0.23 96% 90% Tick counter [1 alarm]
+ 25.12 24.98 28.82 0.24 96% 93% Tick counter [many alarms]
+ 7.92 7.64 14.00 0.40 96% 96% Tick & fire counter [1 alarm]
+ 155.10 154.42 161.04 0.37 90% 6% Tick & fire counters [>1 together]
+ 29.27 29.02 35.48 0.42 96% 93% Tick & fire counters [>1 separately]
+ 17.87 17.32 49.30 0.56 98% 97% Alarm latency [0 threads]
+ 24.39 22.02 63.60 1.43 57% 19% Alarm latency [2 threads]
+ 55.33 52.72 62.44 1.11 67% 20% Alarm latency [many threads]
+ 37.98 36.54 170.56 2.17 97% 97% Alarm -> thread resume latency
+
+ 29 0 259 (main stack: 805) Thread stack used (1120 total)
+All done, main stack : stack used 805 size 2400
+All done : Interrupt stack used 163 size 4096
+All done : Idlethread stack used 239 size 2048
+
+Timing complete - 28880 ms total
+
+PASS:<Basic timing OK>
+EXIT:<done>
+</LITERALLAYOUT>
+</SECT1>
</APPENDIX>
Index: doc/sgml/user-guide/target-setup.sgml
===================================================================
RCS file: /cvs/ecos/ecos/doc/sgml/user-guide/target-setup.sgml,v
retrieving revision 1.2
diff -u -5 -p -r1.2 target-setup.sgml
--- doc/sgml/user-guide/target-setup.sgml 3 Nov 2003 03:08:39 -0000 1.2
+++ doc/sgml/user-guide/target-setup.sgml 9 Jun 2004 09:24:52 -0000
@@ -2082,10 +2082,78 @@ User's Guide</EMPHASIS>. Connections may
the Compact Flash Ethernet interface. A serial cable may be connected
directly, or via the cradle. Serial communication uses the parameters
38400,8,N,1. The LCD/Touchscreen may also be used as an
interface to RedBoot and eCos applications.</PARA>
</SECT1>
+<SECT1 id="setup-arm-aim711">
+<TITLE>Arm Industrial Module AIM 711 Hardware Setup</TITLE>
+<PARA>The Arm Industrial Module AIM 711 comes with RedBoot installed
+as default boot loader.</PARA>
+<PARA>For developing without having an custom base board ready, a
+starter-kit with a minimal base board is available. It offers all the
+connectors needed, like serial device, Ethernet, power supply and an
+extra connector for the external bus.</PARA>
+<SECT2>
+<TITLE>Setup Hardware</TITLE>
+<SECT3>
+<TITLE>Power supply</TITLE>
+<PARA>A 6V - 7.5V power supply must be connected to J2 or TB1. At
+J2 the inner pin is V+ and at TB1 it is pin 1.</PARA>
+</SECT3>
+<SECT3>
+<TITLE>Serial devices</TITLE>
+<PARA>The AIM 711 has 3 serial devices, which are the debug and
+diagnostic channel COM0 (/dev/ser0), the high performance 16550
+UART COM1 (/dev/ser1) and the second internal device COM2
+(/dev/ser2).</PARA>
+<PARA>To use the debug channel, which is also the default for
+RedBoot, the supplied DB9-male cable must be connected to
+CN4. If the also available service board is used, the above
+connector must be disabled by setting JP1.</PARA>
+<PARA>COM1 is available over the RJ45 connector CN2. This device
+could be configured as RS232, RS422, RS485 and TTL level</PARA>
+<PARA>COM2 is only available with TTL level at CN5.</PARA>
+</SECT3>
+<SECT3>
+<TITLE>Ethernet</TITLE>
+<PARA>The RJ45 connector CN1 is for Ethernet.</PARA>
+</SECT3>
+</SECT2>
+<SECT2>
+<TITLE>Installing RedBoot into FLASH</TITLE>
+<SECT3>
+<TITLE>Using RedBoot</TITLE>
+<PARA>To be able to overwrite RedBoot itself, it is a ROMRAM
+version. </PARA>
+<PARA>Load the RedBoot binary to the next free space:
+<PROGRAMLISTING>RedBoot> load -m tftp -h 192.168.1.36 -r -b 0x40000 redboot.bin
+Raw file loaded 0x00040000-0x00063233, assumed entry at 0x00040000</PROGRAMLISTING>
+Store it in FLASH:
+<PROGRAMLISTING>RedBoot> fis create RedBoot
+An image named 'RedBoot' exists - continue (y/n)? y
+... Erase from 0x02000000-0x02025000: .....................................
+... Program from 0x00040000-0x00063234 at 0x02000000: ..........................
+..........
+... Erase from 0x021ff000-0x02200000: .
+... Program from 0x007ff000-0x00800000 at 0x021ff000: .</PROGRAMLISTING>
+Restart the AIM 711:
+<PROGRAMLISTING>RedBoot> reset
+... Resetting.</PROGRAMLISTING>
+</PARA>
+</SECT3>
+<SECT3>
+<TITLE>Using JTAG</TITLE>
+<PARA>To rewrite the FLASH over JTAG the service board must be
+used, which contains the JTAG connector.</PARA>
+</SECT3>
+</SECT2>
+<SECT2>
+<TITLE>More documentation</TITLE>
+<PARA>For more information please look at
+<ULINK URL="http://www.visionsystems.de/arm7.html">"http://www.visionsystems.de/arm7.html</ULINK>.</PARA>
+</SECT2>
+</SECT1>
<SECT1 id="setup-sh-edk7708">
<TITLE>SH3/EDK7708 Hardware Setup</TITLE>
<PARA>The eCos Developer’s Kit package comes with a ROM
which provides GDB support for the Hitachi EDK7708 board (a big-endian
and a little-endian version). Images of these ROMs are also provided