Changeset b767616d in rtems


Ignore:
Timestamp:
May 28, 2009, 8:08:20 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
6aaab51
Parents:
b11e05f
Message:

2009-05-28 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, README, configure.ac, preinstall.am, start/start.S, startup/memmap.c: Add csb637 as alias and variant.
  • startup/linkcmds.csb637: New file.
Location:
c/src/lib/libbsp/arm/csb337
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/csb337/ChangeLog

    rb11e05f rb767616d  
     12009-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile.am, README, configure.ac, preinstall.am, start/start.S,
     4        startup/memmap.c: Add csb637 as alias and variant.
     5        * startup/linkcmds.csb637: New file.
     6
    172009-04-28      Chris Johns <chrisj@rtems.org>
    28
  • c/src/lib/libbsp/arm/csb337/Makefile.am

    rb11e05f rb767616d  
    2626
    2727dist_project_lib_DATA += startup/linkcmds
     28dist_project_lib_DATA += startup/linkcmds.csb637
    2829
    2930noinst_LIBRARIES += libbsp.a
  • c/src/lib/libbsp/arm/csb337/README

    rb11e05f rb767616d  
    33#
    44
    5 This is the BSP for Cogent Computer System's CSB337, a single board
    6 computer using the Atmel AT91RM9200 CPU.
     5This is the BSP for Cogent Computer System's CSB337 and
     6CSB637, single board computers using the Atmel AT91RM9200 CPU.
     7The differences in the board are very slight but important:
    78
     9 CSB337             CSB637
     10========           ========
     1116Mb RAM           64Mb RAM
     12
     13? PHY is different
  • c/src/lib/libbsp/arm/csb337/configure.ac

    rb11e05f rb767616d  
    1919AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2020
     21RTEMS_BSPOPTS_SET([csb637],[csb637],[1])
     22RTEMS_BSPOPTS_SET([csb637],[*],[0])
     23RTEMS_BSPOPTS_HELP([csb637],
     24[If defined, this indicates that the BSP is being built for the
     25 csb637 variant.])
     26
    2127RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[1])
    2228RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
  • c/src/lib/libbsp/arm/csb337/preinstall.am

    rb11e05f rb767616d  
    6666PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
    6767
     68$(PROJECT_LIB)/linkcmds.csb637: startup/linkcmds.csb637 $(PROJECT_LIB)/$(dirstamp)
     69        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.csb637
     70PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.csb637
     71
  • c/src/lib/libbsp/arm/csb337/start/start.S

    rb11e05f rb767616d  
    1313*/
    1414
    15 #warning Call to boot_card has changed and needs checking.
    16 #warning The call is "void boot_card(const char* cmdline);"
    17 #warning You need to pass a NULL.
    18 #warning Please check and remove these warnings.
    19                
    2015/* Some standard definitions...*/
    2116.equ PSR_MODE_USR,       0x10
     
    106101
    107102        /* Now we are prepared to start the BSP's C code */
     103        mov     r0, #0
    108104        bl      boot_card
    109105
  • c/src/lib/libbsp/arm/csb337/startup/memmap.c

    rb11e05f rb767616d  
    1010#include <libcpu/mmu.h>
    1111
     12#include <bspopts.h>
     13
    1214/* Remember, the ARM920 has 64 TLBs. If you have more 1MB sections than
    1315 * that, you'll have TLB lookups, which could hurt performance.
     
    1820    {0x00200000, 0x00200000,   1,    MMU_CACHE_NONE},     /* SRAM */
    1921    {0x10000000, 0x10000000,   8,    MMU_CACHE_NONE},     /* FLASH */
     22#if csb637
     23    {0x20000000, 0x20000000,  64,    MMU_CACHE_WTHROUGH}, /* SDRAM */
     24#else /* CSB337 */
    2025    {0x20000000, 0x20000000,  32,    MMU_CACHE_WTHROUGH}, /* SDRAM */
    21     {0x30000000, 0x30000000,   1,    MMU_CACHE_NONE},     /* video */
     26#endif
     27    {0x30000000, 0x30000000,   8,    MMU_CACHE_NONE},     /* video */
    2228    {0x40000000, 0x40000000,   1,    MMU_CACHE_NONE},     /* Expansion CS0 */
    2329    {0x50000000, 0x50000000,   1,    MMU_CACHE_NONE},     /* CF CE 1 */
Note: See TracChangeset for help on using the changeset viewer.