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

4.104.114.84.95
Last change on this file since ec821af was ec821af, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 18, 2003 at 5:24:48 PM

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