Changeset db07e68 in rtems


Ignore:
Timestamp:
May 31, 2000, 3:05:55 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
3081446
Parents:
0adfb213
Message:

Update from John S. Gwynne <jsg@…> that:

  • updated README
  • improved misc script for running the RTEMS test programs
  • Updated 332 SIM configuration in start.c
  • C++ global constructor fix (USE_INIT_FINI)
  • change end_of_ram to _RamEnd to match changes by others
Location:
c/src/lib/libbsp/m68k/efi332
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/efi332/README

    r0adfb213 rdb07e68  
    55Description: efi68k
    66============
    7 CPU: MC68332 @16MHz
     7CPU: MC68332 @20MHz
    88RAM: 256k max. (supports several configurations)
    99ROM: 512k (supports several configurations)
     
    1313"diy_efi" mailing list). Although efi332 was initially designed for
    1414automotive research, it is a fairly generalized embedded controller
    15 when used without the companion EFI I/O board. It is patterned much after
    16 the the Motorola BCC but cost on the order of $250US. A 4x3 inch
    17 (approx.) printed circuit board is available (about $14US). For complete
    18 information see
     15when used without the companion EFI I/O board, and is patterned much
     16after the the Motorola BCC. A 4x3 inch (approx.) printed circuit board
     17is available (about $14US). For complete information see
    1918
    20         http://efi332.eng.ohio-state.edu
     19        http://www.diy-efi.org
     20
    2121TODO:
    2222=====
    2323- integrate the interrupt driven stdin/stdout into RTEMS to (a) reduce
    24   the interrupt priority and (2) to prevent it from blocking. (high
    25   priority)
     24  the interrupt priority and (2) to prevent it from blocking.
    2625- add a timer driver for the tmtest set.
    27 - generate include/coverhd.c to perform the tmtest.
    28 - add separate interrupt stack (low priority... may never happen :).
    2926
    30                                        John S Gwynne
    31                                           Gwynne.1@osu.edu
    32 _______________________________________________________________________________
    33                T h e   O h i o - S t a t e   U n i v e r s i t y
    34     ElectroScience Laboratory, 1320 Kinnear Road, Columbus, Ohio 43212, USA
    35                 Telephone: (614) 292-7981 * Fax: (614) 292-7297
    36 -------------------------------------------------------------------------------
     27
     28                                       John S Gwynne, PhD.
     29                                          jgwynne@mrcday.com
  • c/src/lib/libbsp/m68k/efi332/include/bsp.h

    r0adfb213 rdb07e68  
    8888extern char end[];
    8989extern char _copy_data_from_rom[];
    90 extern char __end_of_ram[];
    9190
    9291/* constants */
    93 
    94 #define RAM_END ((int)__end_of_ram)
    9592
    9693#ifdef __START_C__
  • c/src/lib/libbsp/m68k/efi332/misc/dotests

    r0adfb213 rdb07e68  
    44#
    55
    6 /bin/rm sp* &>/dev/null
    7 (cd ..; for f in sp*; do cp ${f}/o-efi332/${f}.nxe hold; done)
     6mkdir MyTests
     7find -name MyTests -prune -or -name "*.nxe" -exec cp {} MyTests \;
    88
    9 stty 5:0:800008bf:0:0:0:0:0:0:1:1:0:0:0:0:0:0:0:0:0:0:0:0 </dev/cua0
    10 /bin/cp /dev/cua0 screen &
     9stty 1:0:80001cb2:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 </dev/ttyS1
     10/bin/cp /dev/ttyS1 screen &
     11cpJob=$!
    1112
    12 for f in sp*; do m68k-bdm-coff-gdb ${f} </dev/null; done
     13( cd MyTests; for f in *nxe; do m68k-elf-gdb ${f} </dev/null; done )
    1314
    14 kill -9 `ps -efax | grep "/bin/cp /dev/cua0" | sed "/grep/D; s/ .*$//"`
    15 /bin/rm sp* &>/dev/null
     15kill -9 $cpJob
  • c/src/lib/libbsp/m68k/efi332/misc/gdbinit68

    r0adfb213 rdb07e68  
    55
    66target bdm /dev/pdbdm0
    7 bdm_setdelay 405
     7bdm_setdelay 4
    88bdm_autoreset on
    99set remotecache off
  • c/src/lib/libbsp/m68k/efi332/misc/interr.c

    r0adfb213 rdb07e68  
    8484  RAW_PUTS("RTEMS:    fatal error ");
    8585  RAW_PUTI( the_error );
    86   RAW_PUTS(".\r\n");
     86  RAW_PUTS(" (");
     87  outbyte( (char)((the_error>>24) & 0xff) );
     88  outbyte( (char)((the_error>>16) & 0xff) );
     89  outbyte( (char)((the_error>>8) & 0xff) );
     90  outbyte( (char)(the_error & 0xff) );
     91  RAW_PUTS(").\r\n");
    8792
    8893  /* configure peripherals for a safe exit */
  • c/src/lib/libbsp/m68k/efi332/start/start.c

    r0adfb213 rdb07e68  
    9494    (((0x0C0000 >> 8)&0xfff8) | BS_256K ); /* 256k bytes located at 0xC0000 */
    9595  *CSBAR4 = (unsigned short int)
    96     (((0x0C0000 >> 8)&0xfff8) | BS_256K ); /* 256 bytes located at 0xC0000 */
     96    (((0x0C0000 >> 8)&0xfff8) | BS_256K ); /* 256k bytes located at 0xC0000 */
    9797  *CSBAR5 = (unsigned short int)         
    9898    (0xfff8 | BS_64K);                   /* AVEC interrupts */
     
    113113#ifdef FLASHWRITE
    114114  *CSORBT = (unsigned short int)
    115     ( BothBytes | ReadWrite | SyncAS | WaitStates_2 | UserSupSpace );
     115    ( BothBytes | ReadWrite | SyncAS | WaitStates_0 | UserSupSpace );
    116116#else /* FLASHWRITE */
    117117  *CSORBT = (unsigned short int)
    118     ( BothBytes | ReadOnly | SyncAS | WaitStates_2 | UserSupSpace );
     118    ( BothBytes | ReadOnly | SyncAS | WaitStates_0 | UserSupSpace );
    119119#endif /* FLASHWRITE */
    120120  *CSOR0 = (unsigned short int)
  • c/src/lib/libbsp/m68k/efi332/startup/except_vect_332_ROM.S

    r0adfb213 rdb07e68  
    1212
    1313        /* Vector 0:    RESET:  Initial SSP */
    14         .long   __end_of_ram
     14        .long   _RamEnd
    1515        /* Vector 1:    RESET:  Initial PC */
    1616        .long   start
  • c/src/lib/libbsp/m68k/efi332/startup/linkcmds

    r0adfb213 rdb07e68  
    3636_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
    3737_RamSize = DEFINED(_RamSize) ? _RamSize : 0x80000;
     38_RamEnd = _RamBase + _RamSize;
    3839_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
    3940_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
     
    4445}
    4546
    46 __end_of_ram = 0x100000;
    4747_copy_data_from_rom = 0;
    4848
Note: See TracChangeset for help on using the changeset viewer.