source: rtems/c/src/lib/libbsp/powerpc/shared/ChangeLog @ 36e95a87

Last change on this file since 36e95a87 was b997f52, checked in by Joel Sherrill <joel.sherrill@…>, on 07/18/03 at 17:22:33

2003-07-18 Till Straumann <strauman@…>

PR 288/rtems

  • irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly maintained and any BSP which does not do so will trip a panic in the shared code.
  • Property mode set to 100644
File size: 12.8 KB
Line 
12003-07-18      Till Straumann <strauman@slac.stanford.edu>
2
3        PR 288/rtems
4        * irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
5        maintained and any BSP which does not do so will trip a panic in the
6        shared code.
7
82003-07-18      Till Straumann <strauman@slac.stanford.edu>
9
10        PR 415/bsps
11        * pci/detect_raven_bridge.c, startup/bspstart.c:
12        This patch reverts enabling MCP interrupts for the motorola_powerpc
13        BSPs. REASON: pci config space scanning (as e.g. done by the DEC
14        Ethernet driver) would raise machine check exceptions.
15
162003-07-16      Greg Menke <gregory.menke@gsfc.nasa.gov>
17
18        PR 428/bsps
19        PR 432/bsps
20        * bootloader/pci.c: Re-instated code that prevents remapping small
21        IO regions, which if remapped would cause i8259 registers to move
22        out from under the #define'd base addresses.
23        * startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
24        megs, I incorrectly had extended it which would cause problems with
25        PCI devices that defined prefetchable memory.
26       
272003-06-13      Greg Menke <gregory.menke@gsfc.nasa.gov>
28
29        PR 405/bsps
30        * bootloader/pci.c: Added support for configuring devices for pci
31        busses > 0
32        * pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
33        INTERRUPT_LINE register of pci devices any # of hops away
34        from the host processor.
35        * motorola/motorola.c, motorola/motorola.h: Added interrupt
36        routing tables in support of FixupPCI.  This is board-specific,
37        each board will have to supply information for FixupPCI() to do
38        anything for it.
39        * startup/bspstart.c: Extended bat2 to cover entire PCI address space.
40        * irq/irq.c, irq/irq.h: Added support for shared interrupts.
41        Existing single hander vectors are undisturbed, a new function
42        added to allow adding/removing handlers from a vector.
43
442003-06-13  Till Straumann <strauman@slac.stanford.edu>
45
46        PR 415/bsps
47        * include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
48        Support enabling MCP exceptions on the host bridge. This can
49        be used for memory probing on the VME bus.
50
512003-04-10  Till Straumann <strauman@slac.stanford.edu>
52
53        PR 379/bsps
54        * console/polled_io.c: libcpu provides 'printk' already.
55        Therefore, the implementation in this file was removed (still
56        used for the bootloader, though).  It now provides BSP_output_char()
57        for libcpu's printk().
58        * console/uart.c, console/uart.h: BSP_output_char_via_serial()
59        prototype changed to match the BSP_output_char_function_type.  Note
60        that the motorola BSPs use polled-io for the output_char routine, not
61        the uart.c version. The latter can be used be other BSPs however
62        (e.g. SVGM).
63        * console/console.c, console/consoleIo.h, console/polled_io.c,
64        irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
65        Unfortunately, the supported 'printk' format string subset of the
66        polled-io and libcpu implementations are different - hence, a few
67        format strings in the ppc/shared BSP were changed.
68
692003-04-10      Joel Sherrill <joel@OARcorp.com>
70
71        PR 383/bsps
72        * irq/irq.c: Fix bug introduced by conflicts in previous patches.
73
742003-03-25  Till Straumann <strauman@slac.stanford.edu>
75
76        PR 360/bsps
77        * irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
78        BSP code had set the task priority register multiple times of
79        the OpenPIC instead of setting the individual source priorities.
80        This patch adds openpic_get_source_priority() and
81        openpic_set_source_priority() calls and lets IRQ management code
82        use them.
83
842003-03-25  Till Straumann <strauman@slac.stanford.edu>
85
86        PR 349/bsps
87        * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
88        on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
89        code on non-VME BSPs without triggering linkage of the vmeUniverse
90        driver.
91
922003-03-18  Till Straumann <strauman@slac.stanford.edu>
93
94        PR 356/bsps
95        This patch makes RTEMS/powerpc/shared EABI compliant.
96        * irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
97        startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
98        zero_bss() should clear not only bss but sbss and sbss2
99        also (this is probably a bugfix, as sbss/sbss2 are
100        probably used even if -msdata=eabi is not specified).
101        * start/rtems_crti.S: New file which must
102        be linked immediately after ecrti.o. rtems_crti.o contains
103        a code snippet who lets __init() return immediately. Also,
104        a new entry point '_init' to the C++ Ctors is generated
105        for use by the RTEMS Thread_Handler.
106
1072003-02-20      Till Straumann <strauman@slac.stanford.edu>
108
109        PR 349/bsps
110        * console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
111        irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
112        vectors/vectors.S, vectors/vectors_init.c:
113          - install the 'openpic.h' and 'pci.h' headers
114          - avoid a name clash by renaming 'vsprintf' & friends
115            to 'k_vsprintf' etc.
116          - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
117          - irq.c:
118             * fix: remove implicit assumption that ISA interrupt vectors start
119                    at 0
120             * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
121               IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
122          - fix: EABI compliance; isr/exception lowlevel handlers must not
123                 clobber R2 or R13
124          - fix: openpic_init was called with the polarity/senses tables
125                 swapped (fixed wrong order of arguments)
126          - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
127
1282003-02-20      Till Straumann <strauman@slac.stanford.edu>
129
130        PR 349/bsps
131        * startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
132        * startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
133        Let the powerpc/shared (+derived) BSPs use pagetable support
134        from libcpu.
135
1362003-02-20      Till Straumann <strauman@slac.stanford.edu>
137
138        PR 349/bsps
139        * vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
140        vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
141        the vmeUniverse VME-PCI bridge driver.
142
1432003-02-20      Till Straumann <strauman@slac.stanford.edu>
144
145        PR 349/bsps
146        * console/console.c, console/uart.c, console/uart.h: implement
147        IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
148        callback.  The callback routine (if installed) is invoked from the
149        UART ISR when a BREAK interrupt is detected.  This can be used
150        e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
151        use the serial line break condition) NOTE: The callback runs in
152        ISR context. 
153
1542003-01-20      Joel Sherrill <joel@OARcorp.com>
155
156        * startup/linkcmds*: Add FreeBSD sysctl() sections.
157
1582002-12-08      Greg Menke <gregory.menke@gsfc.nasa.gov>
159 
160        * bootloader/head.S: Added support for optional debug via PPCbug.
161        Also turn off mmu/caches for the bootstrap phase, which seems to
162        cause trouble with the 603.  The cpu init functions in the bsp
163        get all that stuff going properly.
164
1652002-12-19      Joel Sherrill <joel@OARcorp.com>
166
167        * console/console.c: Removed __assert() which conflicts with newlib.
168
1692002-11-17      Greg Menke <gregory.menke@gsfc.nasa.gov>
170
171        * irq/irq_init.c, motorola/motorola.c: Support for MTX603e.
172
1732002-10-31      Joel Sherrill <joel@OARcorp.com>
174
175        * bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
176        motorola/motorola.c, pci/detect_raven_bridge.c,
177        vectors/vectors_init.c: Removed warnings.
178
1792002-07-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
180
181        * bootloader/em86real.S: Fix syntax error in comment near line 1185.
182
1832001-05-14      Till Straumann <strauman@slac.stanford.edu>
184
185        * bootloader/misc.c, console/Makefile.am, console/console.c,
186        console/consoleIo.h, console/inch.c, console/polled_io.c,
187        console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
188        irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
189        openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
190        residual/Makefile.am, start/start.S, startup/bspstart.c,
191        vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
192        Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
193        with the goal to make it more flexible and reusable by other
194        BSPs. The main strategies were:
195            - eliminate hardcoded base addresses; devices use offsets
196              and a BSP defined base address.
197            - separate functionality into different files (e.g. reboot from
198              inch.c to reboot.c) which can be overridden by a 'derived' BSP.
199            - separate initialization code into separate files (e.g.  PCI
200              bridge detection/initialization was separated from the more
201              generic PCI access routines), also to make it easier for
202              'derived' BSPs to substitute their own initialization code.
203        There are also a couple of enhancements and fixes:
204            - IRQ handling code now has a hook for attaching a VME bridge.
205            - OpenPIC is now explicitely initialized (polarities, senses).
206              Eliminated the implicit assumption on the presence of an ISA PIC.
207            - UART and console driver now supports more than 1 port. The current
208              maximum of 2 can easily be extended by enlarging a table (it
209              would even be easier if the ISR API was not broken by design).
210            - fixed polled_io.c so it correctly supports console on COM2
211            - fixed TLB invalidation code (start.S).
212            - exception handler prints a stack backtrace.
213            - added BSP_pciFindDevice() to scan the pci bus for a particular
214              vendor/device/instance.
215
2162001-05-09      Joel Sherrill <joel@OARcorp.com>
217
218        * startup/linkcmds: In support of gcc 3.1, added one of more
219        of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
220        .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*.  Spacing corrections
221        and direction of segments to memory regions may also have been
222        addressed.  This was a sweep across all BSPs.
223 
2242002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
225
226        * bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>.
227        * bootloader/head.S: Ditto.
228        * bootloader/misc.c: Ditto.
229        * console/polled_io.c: Ditto.
230        * irq/irq.c: Ditto.
231        * irq/irq_asm.S: Ditto.
232        * irq/irq_init.c: Include <rtems/bspIo.h>.
233        * start/start.S: Reflect changes to <rtems/score/cpu.h>.
234        * vectors/vectors.S: Ditto.
235
2362002-04-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
237
238        * startup/bspstart.c: Include <libcpu/cpuIdent.h>.
239
2402001-04-08      Joel Sherrill <joel@OARcorp.com>
241
242        * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame
243 
2442002-04-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
245
246        * residual/residual.c: Include <string.h>.
247        * vectors/vectors_init.c: Include <rtems/bspIo.h> for printk.
248        * bootloader/mm.c: Ditto.
249        * bootloader/pci.c: Ditto.
250        * console/console.c: Ditto.
251        * openpic/openpic.c: Ditto.
252
2532002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
254
255        * bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS.
256        * Makefile.am: Remove AUTOMAKE_OPTIONS.
257        * clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
258        * console/Makefile.am: Remove AUTOMAKE_OPTIONS.
259        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
260        * irq/Makefile.am: Remove AUTOMAKE_OPTIONS.
261        * motorola/Makefile.am: Remove AUTOMAKE_OPTIONS.
262        * openpic/Makefile.am: Remove AUTOMAKE_OPTIONS.
263        * pci/Makefile.am: Remove AUTOMAKE_OPTIONS.
264        * residual/Makefile.am: Remove AUTOMAKE_OPTIONS.
265        * start/Makefile.am: Remove AUTOMAKE_OPTIONS.
266        * startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
267        * vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
268
2692001-11-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
270
271        * include/Makefile.am: Use _HEADER instead of H_FILES.
272        * irq/Makefile.am: Ditto.
273        * openpic/Makefile.am: Ditto.
274        * include/bsp.h: Include <bspopts.h>.
275
2762001-10-25      Joel Sherrill <joel@OARcorp.com>
277
278        * startup/linkcmds: Added _init and _fini.
279
2802001-10-12      Joel Sherrill <joel@OARcorp.com>
281
282        * clock/p_clock.c, startup/bspstart.c: Fixed typo.
283
2842001-09-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
285
286        * console/Makefile.am: Use 'PREINSTALL_FILES ='.
287        * residual/Makefile.am: Use 'PREINSTALL_FILES ='.
288        * irq/Makefile.am: Use 'PREINSTALL_FILES ='.
289        * motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
290        * vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
291        * pci/Makefile.am: Use 'PREINSTALL_FILES ='.
292        * openpic/Makefile.am: Use 'PREINSTALL_FILES ='.
293
2942001-05-14      Tom Armistead <tom_armistead@phx.mcd.mot.com>
295
296        * start/start.S: Increased BAT0 mapping of RAM from 64 meg to
297        256 meg to allow operation on boards with larger RAM sizes.
298        * vectors/vectors_init.c: Modified to call 'generic' powerpc
299        vector function (mpc60x_vector_is_valid) instead of MPC750
300        specific function to allow operation on boards with CPUs other
301        than the MPC750.
302
3032001-03-30      Eric Valette <valette@crf.canon.fr>
304
305        * Makefile.am, console/consoleIo.h, include/bsp.h:
306        These modifications are part of the conversion of the
307        mpc8xx CPU to the "new exception processing model."
308
3092000-11-01      Joel Sherrill <joel@OARcorp.com>
310
311        * startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
312        and libcsupport.h moved from libc to lib/include/rtems and
313        now must be referenced as <rtems/XXX.h>.   Header file order
314        was cleaned up while doing this.
315
3162000-09-29      Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
317
318        * startup/linkcmds: Added lines so DWARF debug information
319        would be available.  Otherwise gdb complains that the offsets
320        for the debug info are incorrect and doesn't load the files.
321
3222000-09-05      Joel Sherrill <joel@OARcorp.com>
323
324        * start/start.S: Include proper files to compile.
325
3262000-08-10      Joel Sherrill <joel@OARcorp.com>
327
328        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.