9
0
Fork 0

Prep for 5.3 release

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2589 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2010-04-11 19:44:36 +00:00
parent 4897ce41e2
commit 58b83261c9
6 changed files with 125 additions and 56 deletions

View File

@ -42,7 +42,7 @@
Can't do this; the caller must be able to wait for access Can't do this; the caller must be able to wait for access
to memory. to memory.
* Fixed bugs associated with debug output: * Fixed bugs associated with debug output:
Cannot do dbg() in middle of context switch logic. Cannot do dbg() in middle of context switch logic.
because it may require use of semaphores and cause because it may require use of semaphores and cause
additional context switches. lldbg() is safe. additional context switches. lldbg() is safe.
* Interrupt must be disabled throughout all context switches. * Interrupt must be disabled throughout all context switches.
@ -51,8 +51,8 @@
serial.h defines the interface. serial.h defines the interface.
* Fixed mq_receive() and mq_send() -- bad memcpy() * Fixed mq_receive() and mq_send() -- bad memcpy()
* Fixed C5471 signal deliver logic: use of dbg() and * Fixed C5471 signal deliver logic: use of dbg() and
other actions by use signal handler can alter errno. other actions by use signal handler can alter errno.
need to protect errno during signal handling. need to protect errno during signal handling.
* Fixed uninitialized variable in filesystem that could * Fixed uninitialized variable in filesystem that could
cause various problems cause various problems
* Added a test for roundrobin scheduler. * Added a test for roundrobin scheduler.
@ -1068,7 +1068,7 @@
* configs/ea3131/nsh - Added a NuttShell (NSH) configuration for the * configs/ea3131/nsh - Added a NuttShell (NSH) configuration for the
EA3131. EA3131.
5.3 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> 5.3 2010-04-11 Gregory Nutt <spudmonkey@racsa.co.cr>
* arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x * arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x
contributed by David Hewson. contributed by David Hewson.
@ -1078,9 +1078,8 @@
* Several important compilation error fixes in lpc313x and (dualspeed) USB * Several important compilation error fixes in lpc313x and (dualspeed) USB
code also contributed by David Hewson. code also contributed by David Hewson.
* arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U. * arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U.
(untested on initial checkin).
* arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U * arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U
(incomplete on initial checkin). (Neither the DMA nor the HSMCI driver are functional on the initial checkin).
* drivers/usbdev - Several important fixes to the USB mass storage driver * drivers/usbdev - Several important fixes to the USB mass storage driver
submitted by David Hewson. submitted by David Hewson.
* configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 - * configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 -
@ -1089,3 +1088,5 @@
* arch/arm/src/sam3u/sam3u_internal.h - Fixed a critical bug in the AT91SAM3U * arch/arm/src/sam3u/sam3u_internal.h - Fixed a critical bug in the AT91SAM3U
PIO decoding. No PIOs greater than 15 could be used on any port! Obviously, PIO decoding. No PIOs greater than 15 could be used on any port! Obviously,
no one has been using this port. no one has been using this port.
5.4 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>

View File

@ -729,31 +729,37 @@
</tr> </tr>
</table> </table>
<p><b>nuttx-5.2 Release Notes</b>: <p><b>nuttx-5.3 Release Notes</b>:
<p> <p>
This 49<sup>th</sup> release of NuttX was made on March 18, 2010 and is available for download from the This 50<sup>th</sup> release of NuttX was made on April 11, 2010 and is available for download from the
<a href="http://sourceforge.net/project/showfiles.php?group_id=189573">SourceForge</a> website. <a href="http://sourceforge.net/project/showfiles.php?group_id=189573">SourceForge</a> website.
The change log associated with the release is available <a href="#currentrelease">here</a>. The change log associated with the release is available <a href="#currentrelease">here</a>.
Unreleased changes after this release are available in CVS. Unreleased changes after this release are available in CVS.
These unreleased changes are listed <a href="#pendingchanges">here</a>. These unreleased changes are listed <a href="#pendingchanges">here</a>.
</p> </p>
<p> <p>
This release completes the verification of the basic port for the NXP This release suport for one new achitecture:
<a href="http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/">LPC3131</a> MCU
on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a> board.
This basic port includes basic boot-up, serial console, and timer interrupts. This port
has been verified on the using the NuttX OS test and includes a working
implementation of the NuttShell (NSH).
</p> </p>
<ul>
<li>A basic port for the NXP LPC2378 MCU on the Olimex-LPC2378 development board was contributed by Rommel Marcelo.</li>
</ul>
<p> <p>
An extended release will follow and should include SDIO-based SD card And extensions to two existing architures:
support and device USB.
</p> </p>
<ul>
<li>David Hewson contributed a dual-speed (full/high) USB device-side driver
for the NXP LPC3131 on the Embedded Artists EA3131 development board.</li>
<li>A DMA driver and a high speed MCI driver for the Atmel AT91SAM3U are
included (but not fully tested in this release).</li>
</ul>
<p> <p>
A few additional features and bugfixes of a minor nature were also incorporated Two important bugfix was also included:
as detailed in the <a href="#currentrelease">ChangeLog</a>.
</p> </p>
<ul>
<li>An important fix to the USB mass storage driver was contributed by David Hewson.</li>
<li>A serious error in the AT91SAM3U PIO handling was fixed.</li>
</ul>
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
@ -845,6 +851,34 @@
<td><br></td> <td><br></td>
<td><hr></td> <td><hr></td>
</tr> </tr>
<tr>
<td><br></td>
<td>
<p>
<b>NXP LPC2378</b>.
Support is provided for the NXP LPC2378 MCU. In particular,
support is provided for the Olimex-LPC2378 development board.
This port was contributed by Rommel Marcelo is was first released in NuttX-5.3.
This port also used the GNU arm-elf toolchain* under Linux or Cygwin.
</p>
<ul>
<p>
<b>STATUS:</b>
This port boots and passes the OS test (examples/ostest) and includes a
working includes a working implementation of the NuttShell (<a href="NuttShell.html">(NSH)</a>).
The port is complete and verified.
As of NuttX 5.3, the port includes only basic timer interrupts and serial console support.
</p>
<p>
<b>Development Environments:</b> (Same as for the NXP LPC214x).
</p>
</ul>
</td>
</tr>
<tr>
<td><br></td>
<td><hr></td>
</tr>
<tr> <tr>
<td><br></td> <td><br></td>
<td> <td>
@ -934,8 +968,8 @@
<td><br></td> <td><br></td>
<td> <td>
<b>NXP <a href="http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/">LPC3131</a></b>. <b>NXP <a href="http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/">LPC3131</a></b>.
The basic port for the NXP LPC3131 on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a> The port for the NXP LPC3131 on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a>
development board was released in NuttX-5.1 with a GNU arm-elf or arm-eabi toolchain* under Linux or Cygwin development board was first released in NuttX-5.1 with a GNU arm-elf or arm-eabi toolchain* under Linux or Cygwin
(but was not functional until NuttX-5.2). (but was not functional until NuttX-5.2).
</p> </p>
<ul> <ul>
@ -943,10 +977,10 @@
<b>STATUS:</b> <b>STATUS:</b>
The basic EA3131 port is complete and verified in NuttX-5.2 The basic EA3131 port is complete and verified in NuttX-5.2
This basic port includes basic boot-up, serial console, and timer interrupts. This basic port includes basic boot-up, serial console, and timer interrupts.
This port has been verified on the using the NuttX OS test and includes a working This port was extended in NuttX 5.3 with a USB high speed driver contributed by David Hewson.
implementation of the NuttShell (NSH). This port has been verified on the using the NuttX OS test, USB serial and mass storage
An extended release will follow and should include SDIO-based SD card tests and includes a working implementation of the NuttShell (<a href="NuttShell.html">(NSH)</a>).
support and device USB. An extended release will follow and should include SDIO-based SD card support.
</p> </p>
</ul> </ul>
</td> </td>
@ -1606,21 +1640,26 @@ Other memory:
</table> </table>
<ul><pre> <ul><pre>
nuttx-5.2 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt; nuttx-5.3 2010-04-11 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* arch/arm/src/sam3u/sam3u_pio.c - Fix an address calculation error * arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x
that caused ports B & C to get mapped to the PIOA base address. contributed by David Hewson.
This is an important bugfix! (a patch is available) * configs/ea3131/src/up_ubstrgc.c, configs/ea3131/usbserial,
* arch/arm/src/lpc313x/lpc313x_boot.c - Fix an error in the vector configs/ea3131/usbstorage - USB storage and USB serial example support
initialization was causing a memory fault. contributed by David Hewson.
* lib/lib_strtod.c - Add strtod() * Several important compilation error fixes in lpc313x and (dualspeed) USB
* lpc3131/ea3131 - Several bring fixes submitted by David Hewson. The code also contributed by David Hewson.
lpc3131 is almost there! Thanks David! * arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U.
* arch/arm/src/arm/up_head.S - Corrected backward conditional compilation * arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U
that selects if vectors are located at 0x0000:0000 or 0xffff:f000. (Neither the DMA nor the HSMCI driver are functional on the initial checkin).
This fixes the last show stopper bug in the lpc313x bring-up. * drivers/usbdev - Several important fixes to the USB mass storage driver
* configs/ea3131/nsh - Added a NuttShell (NSH) configuration for the submitted by David Hewson.
EA3131. * configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 -
Basic port of the NXP 2378 on the Olimex board contributed by
Rommel Marcelo.
* arch/arm/src/sam3u/sam3u_internal.h - Fixed a critical bug in the AT91SAM3U
PIO decoding. No PIOs greater than 15 could be used on any port! Obviously,
no one has been using this port.
pascal-2.0 2010-12-21 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt; pascal-2.0 2010-12-21 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
@ -1650,7 +1689,7 @@ buildroot-1.8 2009-12-21 &lt;spudmonkey@racsa.co.cr&gt;
</table> </table>
<ul><pre> <ul><pre>
nuttx-5.3 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt; nuttx-5.3 2010-04-11 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x * arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x
contributed by David Hewson. contributed by David Hewson.
@ -1660,9 +1699,8 @@ nuttx-5.3 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* Several important compilation error fixes in lpc313x and (dualspeed) USB * Several important compilation error fixes in lpc313x and (dualspeed) USB
code also contributed by David Hewson. code also contributed by David Hewson.
* arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U. * arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U.
(untested on initial checkin).
* arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U * arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U
(incomplete on initial checkin). (Neither the DMA nor the HSMCI driver are functional on the initial checkin).
* drivers/usbdev - Several important fixes to the USB mass storage driver * drivers/usbdev - Several important fixes to the USB mass storage driver
submitted by David Hewson. submitted by David Hewson.
* configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 - * configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 -
@ -1672,6 +1710,8 @@ nuttx-5.3 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
PIO decoding. No PIOs greater than 15 could be used on any port! Obviously, PIO decoding. No PIOs greater than 15 could be used on any port! Obviously,
no one has been using this port. no one has been using this port.
nuttx-5.3 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
pascal-2.1 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt; pascal-2.1 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
buildroot-1.9 2010-xx-xx <spudmonkey@racsa.co.cr> buildroot-1.9 2010-xx-xx <spudmonkey@racsa.co.cr>

View File

@ -9,7 +9,7 @@
<tr align="center" bgcolor="#e4e4e4"> <tr align="center" bgcolor="#e4e4e4">
<td> <td>
<h1><big><font color="#3c34ec"><i>NuttX README Files</i></font></big></h1> <h1><big><font color="#3c34ec"><i>NuttX README Files</i></font></big></h1>
<p>Last Updated: January 21, 2009</p> <p>Last Updated: Aprill 11, 2009</p>
</td> </td>
</tr> </tr>
</table> </table>
@ -86,6 +86,10 @@
| | |- <a href="configs/olimex-strp711/include/README.txt">include/README.txt</a> | | |- <a href="configs/olimex-strp711/include/README.txt">include/README.txt</a>
| | |- <a href="configs/olimex-strp711/src/README.txt">src/README.txt</a> | | |- <a href="configs/olimex-strp711/src/README.txt">src/README.txt</a>
| | `- <a href="configs/olimex-strp711/README.txt"><b><i>README.txt</i></b></a> | | `- <a href="configs/olimex-strp711/README.txt"><b><i>README.txt</i></b></a>
| |- olimex-lpc2378/
| | |- <a href="configs/olimex-lpc2378/include/README.txt">include/README.txt</a>
| | |- <a href="configs/olimex-lpc2378/src/README.txt">src/README.txt</a>
| | `- <a href="configs/olimex-lpc2378/README.txt"><b><i>README.txt</i></b></a>
| |- pjrc-8051/ | |- pjrc-8051/
| | |- <a href="configs/pjrc-8051/include/README.txt">include/README.txt</a> | | |- <a href="configs/pjrc-8051/include/README.txt">include/README.txt</a>
| | |- <a href="configs/pjrc-8051/src/README.txt">src/README.txt</a> | | |- <a href="configs/pjrc-8051/src/README.txt">src/README.txt</a>

View File

@ -177,6 +177,10 @@ Below is a guide to the available README files in the NuttX source tree:
| | |- include/README.txt | | |- include/README.txt
| | |- src/README.txt | | |- src/README.txt
| | `- README.txt | | `- README.txt
| |- olimex-lpc2378/
| | |- include/README.txt
| | |- src/README.txt
| | `- README.txt
| |- pjrc-8051/ | |- pjrc-8051/
| | |- include/README.txt | | |- include/README.txt
| | |- src/README.txt | | |- src/README.txt

View File

@ -1178,3 +1178,24 @@ implementation of the NuttShell (NSH).
An extended release will follow and should include SDIO-based SD card An extended release will follow and should include SDIO-based SD card
support and device USB. support and device USB.
nuttx-5.3
^^^^^^^^^
This is the 50th release of NuttX. This release suport for one new achitecture:
* A basic port for the NXP LPC2378 MCU on the Olimex-LPC2378 development board
was contributed by Rommel Marcelo.
And extensions to two existing architures:
* David Hewson contributed a dual-speed (full/high) USB device-side driver
for the NXP LPC3131 on the Embedded Artists EA3131 development board.
* A DMA driver and a high speed MCI driver for the Atmel AT91SAM3U are
included (but not fully tested in this release).
Two important bugfix was also included:
* An important fix to the USB mass storage driver was contributed by
David Hewson.
* A serious error in the AT91SAM3U PIO handling was fixed.

View File

@ -48,11 +48,12 @@
#include "chip.h" #include "chip.h"
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"
//~ #define LPC23XX_FIO_BASE 0x3fffc000 /* Fast I/O 0 base address */ //~ #define LPC23XX_FIO_BASE 0x3fffc000 /* Fast I/O 0 base address */
/**************************************************************************** /****************************************************************************
* Definitions * Definitions
****************************************************************************/ ****************************************************************************/
/* P3.0 : P0.7 PINSEL6 LEDS 1-8 */ /* P3.0 : P0.7 PINSEL6 LEDS 1-8 */
#define LEDBIT(led) (0x01 << (led)) #define LEDBIT(led) (0x01 << (led))
#define ALL_LEDS (0xFF) #define ALL_LEDS (0xFF)
@ -76,7 +77,6 @@
//~ # define LED_DIR_OFFSET LPC23XX_GPIO_DIR_OFFSET //~ # define LED_DIR_OFFSET LPC23XX_GPIO_DIR_OFFSET
//~ #endif //~ #endif
/**************************************************************************** /****************************************************************************
* Private Data * Private Data
****************************************************************************/ ****************************************************************************/
@ -97,9 +97,10 @@
void up_ledinit(void) void up_ledinit(void)
{ {
/* Initilize GIOs P1.16-P1.23 */ /* Initilize GIOs P1.16-P1.23 */
putled8(ALL_LEDS,LED_DIR_OFFSET);
putled8(ALL_LEDS,LED_CLR_OFFSET); putled8(ALL_LEDS, LED_DIR_OFFSET);
putled8(LEDBIT(0),LED_SET_OFFSET); putled8(ALL_LEDS, LED_CLR_OFFSET);
putled8(LEDBIT(0), LED_SET_OFFSET);
} }
/**************************************************************************** /****************************************************************************
@ -108,8 +109,8 @@ void up_ledinit(void)
void up_ledon(int led) void up_ledon(int led)
{ {
putled8(~(LEDBIT(led)),LED_MASK_OFFSET); putled8(~(LEDBIT(led)), LED_MASK_OFFSET);
putled8(LEDBIT(led),LED_SET_OFFSET); putled8(LEDBIT(led), LED_SET_OFFSET);
} }
/**************************************************************************** /****************************************************************************
@ -118,7 +119,7 @@ void up_ledon(int led)
void up_ledoff(int led) void up_ledoff(int led)
{ {
putled8(LEDBIT(led),LED_CLR_OFFSET); putled8(LEDBIT(led), LED_CLR_OFFSET);
} }
/**************************************************************************** /****************************************************************************
@ -127,16 +128,14 @@ void up_ledoff(int led)
void up_statledoff(void) void up_statledoff(void)
{ {
putled8(~STATLED, FIO1MASK2_OFFSET); putled8(~STATLED, FIO1MASK2_OFFSET);
putled8(STATLED, FIO1CLR2_OFFSET); putled8(STATLED, FIO1CLR2_OFFSET);
} }
void up_statledon(void) void up_statledon(void)
{ {
putled8(~STATLED, FIO1MASK2_OFFSET); putled8(~STATLED, FIO1MASK2_OFFSET);
putled8(STATLED, FIO1SET2_OFFSET); putled8(STATLED, FIO1SET2_OFFSET);
} }
#endif /* CONFIG_ARCH_LEDS */ #endif /* CONFIG_ARCH_LEDS */