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

Last change on this file since d49e8f8 was d49e8f8, checked in by Joel Sherrill <joel.sherrill@…>, on 09/27/04 at 21:57:50

2004-09-27 Greg Menke <gregory.menke@…>

PR 606/bsps

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