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