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

Last change on this file since 12838559 was 12838559, checked in by Joel Sherrill <joel.sherrill@…>, on 06/13/03 at 17:40:41

2003-06-13 Greg Menke <gregory.menke@…>

PR 405/bsps

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