summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-04 18:24:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-04 18:24:52 +0000
commit22fb181bef441b899e76a1d64240c392de598c3e (patch)
tree08adcd721a2881278c52f0f06dad1f3997dc3a78
parent2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-22fb181bef441b899e76a1d64240c392de598c3e.tar.bz2
2009-12-04 Fernando Nicodemos <fgnicodemos@terra.com.br>
* README, README.kit637_v6, console/sed1356_16bit.h, startup/memmap.c: Missing parts of previous commit.
-rw-r--r--c/src/lib/libbsp/arm/csb337/ChangeLog5
-rw-r--r--c/src/lib/libbsp/arm/csb337/README8
-rw-r--r--c/src/lib/libbsp/arm/csb337/README.kit637_v69
-rwxr-xr-xc/src/lib/libbsp/arm/csb337/console/sed1356_16bit.h9
-rw-r--r--c/src/lib/libbsp/arm/csb337/startup/memmap.c7
5 files changed, 25 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/arm/csb337/ChangeLog b/c/src/lib/libbsp/arm/csb337/ChangeLog
index 772ac53f97..d9ce93ee9a 100644
--- a/c/src/lib/libbsp/arm/csb337/ChangeLog
+++ b/c/src/lib/libbsp/arm/csb337/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-04 Fernando Nicodemos <fgnicodemos@terra.com.br>
+
+ * README, README.kit637_v6, console/sed1356_16bit.h, startup/memmap.c:
+ Missing parts of previous commit.
+
2009-11-30 Fernando Nicodemos <fgnicodemos@terra.com.br>
* Makefile.am, preinstall.am, console/fbcons.c, console/font8x16.h,
diff --git a/c/src/lib/libbsp/arm/csb337/README b/c/src/lib/libbsp/arm/csb337/README
index b0ab88916f..4c59174e7b 100644
--- a/c/src/lib/libbsp/arm/csb337/README
+++ b/c/src/lib/libbsp/arm/csb337/README
@@ -2,12 +2,14 @@
# $Id$
#
-This is the BSP for Cogent Computer System's CSB337 and
-CSB637, single board computers using the Atmel AT91RM9200 CPU.
+This is the BSP for Cogent Computer System's CSB337 and updated
+for CSB637, single board computers using the Atmel AT91RM9200 CPU.
The differences in the board are very slight but important:
CSB337 CSB637
======== ========
16Mb RAM 64Mb RAM
+??
-? PHY is different
+Please check README.kit637_v6 for more explanation about the Cogent's
+Development Kit that uses the CSB637 single board computer.
diff --git a/c/src/lib/libbsp/arm/csb337/README.kit637_v6 b/c/src/lib/libbsp/arm/csb337/README.kit637_v6
index ac3ead264f..e82ab3ef4c 100644
--- a/c/src/lib/libbsp/arm/csb337/README.kit637_v6
+++ b/c/src/lib/libbsp/arm/csb337/README.kit637_v6
@@ -5,9 +5,8 @@
# from NCB - Sistemas Embarcados Ltda. (Brazil)
#
-
-This is the BSP for Cogent Computer System's KIT637_V6. This is an
-updated version of the CSB337 board with a number of optional peripheals.
+This is the BSP for Cogent Computer System's KIT637_V6. It implements an
+updated version of the CSB337 board with a number of optional peripherals.
This KIT is implemented by CSB637 single board computer using the
Atmel AT91RM9200 CPU and the CSB937 target main board. It uses an
@@ -20,9 +19,9 @@ important:
CSB337 CSB637
========== ==========
-Clock speed ? ?
+Clock speed 184MHz 184MHz
External memory 16MB SDRAM 64MB SDRAM
-Flash memory ? ?
+Flash memory 8MB Strata 8/16MB Strata (8MB used by default)
Video buffer 1MB 8MB
Video driver S1D13706 S1D13506
PHY Layer LXT971ALC BCM5221
diff --git a/c/src/lib/libbsp/arm/csb337/console/sed1356_16bit.h b/c/src/lib/libbsp/arm/csb337/console/sed1356_16bit.h
index 3326480f44..1002e6474d 100755
--- a/c/src/lib/libbsp/arm/csb337/console/sed1356_16bit.h
+++ b/c/src/lib/libbsp/arm/csb337/console/sed1356_16bit.h
@@ -1,5 +1,6 @@
/*
- * sed1356.h: SED1356 LCD/CRT Controllers - 16-Bit access mode
+ * sed1356.h: SED1356 LCD/CRT Controllers for KIT637_V6 (CSB637)
+ * 16-Bit access mode
*
* Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/
* which includes this notice:
@@ -25,8 +26,10 @@
*
* Ed Sutter has been informed that this code is being used in RTEMS.
*
- * The code has been reformatted to be more compliant with RTEMS
- * coding standards and to eliminate C++ style comments.
+ * The code has been reformatted by Joel Sherrill from OAR Corporation and
+ * Fernando Nicodemos <fgnicodemos@terra.com.br> from NCB - Sistemas
+ * Embarcados Ltda. (Brazil) to be more compliant with RTEMS coding standards
+ * and to eliminate C++ style comments.
*
* $Id$
*/
diff --git a/c/src/lib/libbsp/arm/csb337/startup/memmap.c b/c/src/lib/libbsp/arm/csb337/startup/memmap.c
index 440c9e6f02..9690a2e357 100644
--- a/c/src/lib/libbsp/arm/csb337/startup/memmap.c
+++ b/c/src/lib/libbsp/arm/csb337/startup/memmap.c
@@ -1,5 +1,5 @@
/*
- * CSB337 and CSB637 Memory map
+ * CSB337 and CSB637 (KIT637_V6) Memory map
*
* Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
* File from the old CSB337 RTEMS BSP
@@ -36,8 +36,10 @@ mmu_sect_map_t mem_map[] = {
#else /* CSB337 */
{0x20000000, 0x20000000, 32, MMU_CACHE_WTHROUGH}, /* SDRAM */
#endif
-#if ENABLE_LCD
+#if ENABLE_LCD /* KIT637_V6 Video buffer */
{0x30000000, 0x30000000, 8, MMU_CACHE_NONE}, /* Video buffer - 8MB */
+#else /* CSB337 Video buffer */
+ {0x30000000, 0x30000000, 1, MMU_CACHE_NONE}, /* Video buffer - 1MB */
#endif
{0x40000000, 0x40000000, 1, MMU_CACHE_NONE}, /* Expansion CS0 */
{0x50000000, 0x50000000, 1, MMU_CACHE_NONE}, /* CF CE 1 */
@@ -47,3 +49,4 @@ mmu_sect_map_t mem_map[] = {
{0xfff00000, 0xfff00000, 1, MMU_CACHE_NONE}, /* Internal regs */
{0x00000000, 0x00000000, 0, 0} /* The end */
};
+