summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-04-28 20:07:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-04-28 20:07:05 +0000
commita714594670fd187ecea87affcc7ca371c0fccfc0 (patch)
treef727615dbc113a2522e67bd532012bde1008e981
parenta4e581dcc17aac08ba588e4ced3918d0fb3c28d9 (diff)
downloadnuttx-a714594670fd187ecea87affcc7ca371c0fccfc0.tar.gz
nuttx-a714594670fd187ecea87affcc7ca371c0fccfc0.tar.bz2
nuttx-a714594670fd187ecea87affcc7ca371c0fccfc0.zip
Documents new arch/arm directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@189 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/ChangeLog5
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html80
-rw-r--r--nuttx/arch/README.txt33
3 files changed, 98 insertions, 20 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 9c9908655..a97a6648d 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -115,6 +115,9 @@
* Verfied c5471 build under Cygwin on WinXP
* Makesystem changes to better support different SoCs.
- * Made arch/c5471/include and arch/dm320/include identiry in
+ * Made arch/c5471/include and arch/dm320/include identical in
preparation for merging into arch/arm
+ * Logic from arch/c5471 and arch/dm320 combined into arch/arm.
+ arch/c5471 and arch/dm320 are deprecated and will be removed
+ when the new c5471 and dm320 logic is verified.
* Started m68322
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index c0cd8eaca..636eaaa58 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -16,7 +16,7 @@
</b></big>
<p><small>by</small></p>
<p>Gregory Nutt</p>
- <p><small>Last Update: March 26, 2007</small></p>
+ <p><small>Last Update: April 30, 2007</small></p>
</center>
<center><h1>Table of Contents</h1></center>
@@ -325,32 +325,75 @@
</ul>
<h3><a name="supportedarchitectures">2.2.3 Supported Architectures</a></h3>
+<p>
+ <b>Archictecture- and Chip-Specific Directories</b>.
+ All processor architecture-specific directories are maintained in sub-directories of
+ the <code>arch/</code> directory.
+ Different chips or SoC's may implement the same processor core.
+ Chip-specific logic can be found in sub-directories under the architecture
+ directory.
+ Current architecture/chip directories are summarized below:
+</p>
<ul>
<li><code>arch/sim</code>:
A user-mode port of NuttX to the x86 Linux platform is available.
The purpose of this port is primarily to support OS feature developement.
This port does not support interrupts or a real timer (and hence no
round robin scheduler) Otherwise, it is complete.
+ </li>
- <li><code>arch/c5471</code>:
- TI TMS320C5471 (also called TMS320DM180 or just C5471).
- NuttX operates on the ARM7 of this dual core processor.
- This port is complete, verified, and included in the NuttX release 0.1.1.
+ <li><code>arch/arm</code>:
+ This directory holds common ARM architectures. At present, this includes
+ the following subdirectories:
+ <ul>
+ <li><code>arch/arm/include</code> and <code>arch/arm/common</code>:
+ Common ARM logic.
+ </li>
+
+ <li><code>arch/arm/include/c5471</code> and <code>arch/arm/src/c5471</code>:
+ TI TMS320C5471 (also called TMS320DM180 or just C5471).
+ NuttX operates on the ARM7 of this dual core processor.
+ This port is complete, verified, and included in the NuttX release 0.1.1.
+ </li>
+
+ <li><code>arch/arm/include/dm320</code> and <code>arch/arm/src/dm320</code>:
+ TI TMS320DM320 (also called just DM320).
+ NuttX operates on the ARM9EJS of this dual core processor.
+ This port complete, verified, and included in the NuttX release 0.2.1.
+ </li>
+ </ul>
+ </li>
<li><code>configs/mcu123-lpc214x</code>:
The mcu123.com lpc214x development board.
This is a work in progress.
-
- <li><code>arch/dm320</code>:
- TI TMS320DM320 (also called just DM320).
- NuttX operates on the ARM9EJS of this dual core processor.
- This port complete, verified, and included in the NuttX release 0.2.1.
+ </li>
<li><code>arch/m68322</code>
A work in progress.</li>
+ </li>
<li><code>arch/pjrc-8051</code>:
8051 Microcontroller. This port is not quite ready for prime time.</li>
+ </li>
+</ul>
+
+<p>
+ <b>Deprecated Architecture Directories</b>.
+ The following architecture directories are deprecated. They have been
+ replaced by the logic in <code>arm/arm</code> and will deleted when
+ <code>arch/arm</code> is fully verified.
+</p>
+<ul>
+ <li><code>arch/c5471</code>:
+ Replaced with <code>arch/arm/include/c5471</code> and
+ <code>arch/arm/src/c5471<code>.
+ </li>
+
+ <li><code>arch/dm320</code>:
+ Replaced with <code>arch/arm/include/dm320</code> and
+ <code>arch/arm/src/dm320<code>.
+ </li>
</ul>
<p>
Other ports for the for the TI TMS320DM270 and for MIPS are in various states
@@ -1045,7 +1088,10 @@ The system can be re-made subsequently by just typing <code>make</code>.
</p>
<h2>Architecture selection</h2>
-
+<p>
+ The following configuration itemes select the architecture, chip, and
+ board configuration for the build.
+</p>
<ul>
<li><code>CONFIG_ARCH</code>:
Identifies the arch subdirectory</li>
@@ -1062,6 +1108,18 @@ The system can be re-made subsequently by just typing <code>make</code>.
For use in C code</li>
</ul>
+<p>
+ Some architectures require a description of the the RAM configuration:
+</p>
+<ul>
+ <li><code>CONFIG_DRAM_SIZE</code>:
+ Describes the installed DRAM.</li>
+ <li><code>CONFIG_DRAM_START</code>:
+ The start address of DRAM (physical)</li>
+ <li><code>CONFIG_DRAM_VSTART</code>:
+ The startaddress of DRAM (virtual)</li>
+</ul>
+
<h2>General OS setup</h2>
<ul>
diff --git a/nuttx/arch/README.txt b/nuttx/arch/README.txt
index b8b180207..f347f3333 100644
--- a/nuttx/arch/README.txt
+++ b/nuttx/arch/README.txt
@@ -129,15 +129,22 @@ arch/sim
This port does not support interrupts or a real timer (and hence no
round robin scheduler) Otherwise, it is complete.
-arch/c5471
- TI TMS320C5471 (also called TMS320DM180 or just C5471).
- NuttX operates on the ARM7 of this dual core processor. This port
- complete, verified, and included in the NuttX release 0.1.1.
+arch/arm
+ This directory holds common ARM architectures. At present, this includes
+ the following subdirectories:
-arch/dm320
- TI TMS320DM320 (also called just DM320).
- NuttX operates on the ARM9EJS of this dual core processor. This port
- complete, verified, and included in the NuttX release 0.2.1.
+ arch/arm/include and arch/arm/common
+ Common ARM logic.
+
+ arch/arm/include/c5471 and arch/arm/src/c5471
+ TI TMS320C5471 (also called TMS320DM180 or just C5471).
+ NuttX operates on the ARM7 of this dual core processor. This port
+ complete, verified, and included in the NuttX release 0.1.1.
+
+ arch/arm/include/dm320 and arch/arm/src/dm320
+ TI TMS320DM320 (also called just DM320).
+ NuttX operates on the ARM9EJS of this dual core processor. This port
+ complete, verified, and included in the NuttX release 0.2.1.
arch/m68322
A work in progress.
@@ -145,6 +152,16 @@ arch/m68322
arch/pjrc-8051
8051 Microcontroller. This port is not quite ready for prime time.
+The following architecture directories are deprecated. They have been
+replaced by the logic in arm/arm and will deleted when arch/arm is fully
+verified.
+
+arch/c5471
+ Replaced with arch/arm/include/c5471 and arch/arm/src/c5471
+
+arch/dm320
+ Replaced with arch/arm/include/dm320 and arch/arm/src/dm320
+
Other ports for the for the TI TMS320DM270 and for MIPS are in various states
of progress