]> rtime.felk.cvut.cz Git - rtems-devel.git/blob - rtems-patches/rtems-update-ss555-to-ec555.patch
Patches updated to the newer RTEMS version.
[rtems-devel.git] / rtems-patches / rtems-update-ss555-to-ec555.patch
1 Index: rtems/c/src/lib/libbsp/powerpc/ec555/ChangeLog
2 ===================================================================
3 --- rtems/c/src/lib/libbsp/powerpc/ec555/ChangeLog
4 +++ rtems/c/src/lib/libbsp/powerpc/ec555/ChangeLog
5 @@ -1,3 +1,8 @@
6 +2006-06-02     Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 +
8 +       * EC555 BSP for Wuerz-elektronik EC555 board started
9 +         as clone of SS555 BSP.
10 +
11  2006-03-08     Joel Sherrill <joel@OARcorp.com>
12  
13         * startup/linkcmds: Add .gnu.linkonce.b.* section.
14 Index: rtems/c/src/lib/libbsp/powerpc/ec555/README
15 ===================================================================
16 --- rtems/c/src/lib/libbsp/powerpc/ec555/README
17 +++ rtems/c/src/lib/libbsp/powerpc/ec555/README
18 @@ -2,9 +2,9 @@
19  #  $Id: README,v 1.1 2004/04/12 21:52:13 joel Exp $
20  #
21  
22 -This is a README file for the Intec SS555 of RTEMS 4.6.0
23 +This is a README file for the Wuerz-elektronik EC555 of RTEMS 4.6.0
24  
25 -The SS555 port was sponsored by Defence Research and Development 
26 +The EC555 port was sponsored by Defence Research and Development 
27  Canada - Suffield, and is Copyright (C) 2004, Real-Time Systems Inc.
28  
29  Please send any comments, improvements, or bug reports to:
30 @@ -16,8 +16,8 @@ querbach@realtime.bc.ca
31  Summary
32  -------
33  
34 -BSP NAME:           ss555
35 -BOARD:              Intec Automation Inc. SS555
36 +BSP NAME:           EC555
37 +BOARD:              Wuerz-elektronik EC555
38  BUS:                None 
39  CPU FAMILY:         PowerPC
40  CPU:                PowerPC MPC555
41 @@ -88,7 +88,7 @@ RAM:            512k 2-1-1-1 burst SRAM
42  Installation
43  ------------
44  
45 -The ss555 port uses the Intec SS555's external RAM in two different ways,
46 +The EC555 port uses the Wuerz-elektronik EC555's external RAM in two different ways,
47  depending on whether or not it is built for debugging by giving the
48  VARIANT=DEBUG switch to make:
49  
50 @@ -112,7 +112,7 @@ Console driver
51  
52  This BSP includes an termios-capable asynchronous serial line driver that
53  supports SCI1 and SCI2. The RTEMS console is selected at configuration time
54 -with the CONSOLE_MINOR variable (see .../ss555/configure.ac).  We default to
55 +with the CONSOLE_MINOR variable (see .../ec555/configure.ac).  We default to
56  SCI2 for the console, since SCI1 has some extra features which may be
57  desired for application use.
58  
59 @@ -123,7 +123,7 @@ The BSP console supports three different
60    3. interrupt-driven I/O with termios support.
61       
62  The mode of operation of the serial driver is determined at configure time in
63 -part by the value of the UARTS_IO_MODE variable (see .../ss555/configure.ac).
64 +part by the value of the UARTS_IO_MODE variable (see .../ec555/configure.ac).
65  
66    0 - polled I/O.
67    1 - interrupt-driven I/O.
68 @@ -208,7 +208,7 @@ from the Debian distribution.
69  Test Configuration
70  ------------------
71  
72 -Board:                Intec SS555 v1.1
73 +Board:                Wuerz-elektronik EC555 v1.1
74  CPU:                  Motorola MPC555LFMZP40, mask 1K83H
75  Clock Speed:          Crystal 4.0 MHz, CPU 40.0 MHz
76  RAM:                  512K bytes of 2-1-1-1 Burst SRAM
77 @@ -244,7 +244,7 @@ Timing tests:
78    OPERATION_COUNT=20 at configuration time.
79  
80    To run tm27 (the interrupt latency timer test), short CN5-48 to CN5-50 on
81 -  the SS555 board.
82 +  the EC555 board.
83  
84    All tests run cleanly, except for tm26, which gives a "PANIC 12" after it
85    exits.  This doesn't seem to cause a problem otherwise.
86 Index: rtems/c/src/lib/libbsp/powerpc/ec555/configure.ac
87 ===================================================================
88 --- rtems/c/src/lib/libbsp/powerpc/ec555/configure.ac
89 +++ rtems/c/src/lib/libbsp/powerpc/ec555/configure.ac
90 @@ -3,7 +3,7 @@
91  ## $Id: configure.ac,v 1.7 2006/01/11 04:52:39 ralf Exp $
92  
93  AC_PREREQ(2.59)
94 -AC_INIT([rtems-c-src-lib-libbsp-powerpc-mbx5xx],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
95 +AC_INIT([rtems-c-src-lib-libbsp-powerpc-ec5xx],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
96  AC_CONFIG_SRCDIR([bsp_specs])
97  RTEMS_TOP(../../../../../..)
98  
99 Index: rtems/make/custom/ec555.cfg
100 ===================================================================
101 --- rtems/make/custom/ec555.cfg
102 +++ rtems/make/custom/ec555.cfg
103 @@ -1,5 +1,5 @@
104  #
105 -#  Config file for an Intec Automation SS555 MPC555-based card
106 +#  Config file for an Wuerz-elektronik EC555 MPC555-based card
107  #
108  #  This file is derived from:
109  #
110 @@ -15,7 +15,7 @@ GCC_CPU_MODEL=505
111  RTEMS_CPU_MODEL=mpc555
112  
113  # This is the actual bsp directory used during the build process.
114 -RTEMS_BSP_FAMILY=ss555
115 +RTEMS_BSP_FAMILY=ec555
116  
117  #  This contains the compiler options necessary to select the CPU model
118  #  and (hopefully) optimize for it.
119 @@ -34,7 +34,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-f
120  CXXFLAGS_OPTIMIZE_V=-O4
121  
122  define make-exe
123 -       $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \
124 +       $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(EC555_LDFLAGS) \
125             -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)
126         $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
127         cp $(basename $@)_sym.exe $(basename $@).exe