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

4.104.114.84.95
Last change on this file since d4d6c2ca was d4d6c2ca, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/06/05 at 04:54:48

2005-05-06 Ralf Corsepius <ralf.corsepius@…>

  • pci/pci.h: Add pci_bus_count().
  • Property mode set to 100644
File size: 16.3 KB
Line 
12005-05-06      Ralf Corsepius <ralf.corsepius@rtems.org>
2
3        * pci/pci.h: Add pci_bus_count().
4
52005-05-04      Jennifer Averett <jennifer.averett@oarcorp.com>
6
7        * irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c:
8        Name change to support common PCI interface
9
102005-04-26      Joel Sherrill <joel@OARcorp.com>
11
12        * console/uart.h: Eliminate tabs.
13
142005-04-15      Jennifer Averett <jennifer.averett@oarcorp.com>
15
16        PR 779/bsp
17        * clock/p_clock.c, console/console.c, console/uart.c, console/uart.h,
18        irq/irq.c, irq/irq.h, irq/irq_init.c:
19        powerpc: add parameter to new exception interrupt handlers
20
212005-03-14      Joel Sherrill <joel@OARcorp.com>
22
23        * pci/pci.c, pci/pci.h, pci/pcifinddevice.c: Continue PCI API
24        unification. All use pci_find_device(). Also reformat to remove tabs.
25
262005-03-04      Joel Sherrill <joel@OARcorp.com>
27
28        * pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Make PCI
29        initialize function part of the unified PCI API as pci_initialize().
30
312005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
32
33        * startup/bspstart.c: Eliminate rtems_unsigned32.
34
352005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
36
37        * startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
38        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
39        CPU_MINIMUM_STACK_FRAME_SIZE.
40
412005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
42
43        * start/start.S: include <rtems/powerpc/powerpc.h>.
44        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
45        CPU_MINIMUM_STACK_FRAME_SIZE.
46
472005-02-12      Joel Sherrill <joel@OARcorp.com>
48
49        * pci/pci.h: Remove contents that are duplicates of the pci.h in cpukit
50        and include rtems/pci.h for the base set of PCI functionality.
51
522005-01-22      Ralf Corsepius <ralf.corsepius@rtems.org>
53
54        * tod/todcfg.c: size_t RTC_Count.
55
562005-01-04      Joel Sherrill <joel@OARcorp.com>
57
58        * ChangeLog, startup/bspstart.c, tod/todcfg.c: Remove warnings.
59
602004-11-30      Greg Menke <gregory.menke@gsfc.nasa.gov>
61
62        PR 729/bsps
63        * bootloader/pci.c: Removed the r->size=0 and r->base=0
64        assignement which makes too-large regions conflict with onboard
65        hardware, replacing it with sfree which deletes the memory region
66        from the setup code, leaving it disabled.
67
682004-11-30      Greg Menke <gregory.menke@gsfc.nasa.gov>
69
70        PR 728/bsps
71        * bootloader/ppcboot.lds: Modified ppcboot.lds to include new
72        .data and .rodata sections being generated by gcc-3.3.3 and above,
73        the lack of which was causing the bootloader to crash.
74
752004-09-27      Greg Menke <gregory.menke@gsfc.nasa.gov>
76
77        PR 606/bsps
78        * bootloader/pci.c: Fixed IO remapping so buses >= 1 are remapped.
79        Reduced PCI space to match bat2.  Fixed incorrect region size
80        calculation in pci_read_bases.  Set PCI latency timers to known
81        sane values.  Changed bridge PCI settings to minimum sane instead
82        of whatever sounded neat in the PCI spec.  Force pf regions to
83        memory mapped to preserve byte access.
84
85
862004-09-27      Greg Menke <gregory.menke@gsfc.nasa.gov>
87
88        PR 606/bsps
89        * bootloader/pci.c: Fixed IO remapping so buses >= 1 are remapped.
90        Reduced PCI space to match bat2.  Fixed incorrect region size
91        calculation in pci_read_bases.  Set PCI latency timers to known
92        sane values.  Changed bridge PCI settings to minimum sane instead
93        of whatever sounded neat in the PCI spec.  Force pf regions to
94        memory mapped to preserve byte access.
95
962003-07-16      Greg Menke <gregory.menke@gsfc.nasa.gov>
97
98        PR 432/bsps
99        * bootloader/pci.c: Re-instated code that prevents remapping small
100        IO regions, which if remapped would cause i8259 registers to move
101        out from under the #define'd base addresses.
102        * startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
103        megs, I incorrectly had extended it which would cause problems with
104        PCI devices that defined prefetchable memory.
105       
1062003-06-13      Greg Menke <gregory.menke@gsfc.nasa.gov>
107
108        PR 405/bsps
109        * bootloader/pci.c: Added support for configuring devices for pci
110        busses > 0
111        * pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
112        INTERRUPT_LINE register of pci devices any # of hops away
113        from the host processor.
114        * motorola/motorola.c, motorola/motorola.h: Added interrupt
115        routing tables in support of FixupPCI.  This is board-specific,
116        each board will have to supply information for FixupPCI() to do
117        anything for it.
118        * startup/bspstart.c: Extended bat2 to cover entire PCI address space.
119        * irq/irq.c, irq/irq.h: Added support for shared interrupts.
120        Existing single hander vectors are undisturbed, a new function
121        added to allow adding/removing handlers from a vector.
122
1232003-06-13  Till Straumann <strauman@slac.stanford.edu>
124
125        PR 415/bsps
126        * include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
127        Support enabling MCP exceptions on the host bridge. This can
128        be used for memory probing on the VME bus.
129
1302003-04-15      Joel Sherrill <joel@OARcorp.com>
131
132        PR 386/bsps
133        * vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.
134
1352003-04-15      Joel Sherrill <joel@OARcorp.com>
136
137        PR 386/bsps
138        * vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.
139
1402003-04-10  Till Straumann <strauman@slac.stanford.edu>
141
142        PR 379/bsps
143        * console/polled_io.c: libcpu provides 'printk' already.
144        Therefore, the implementation in this file was removed (still
145        used for the bootloader, though).  It now provides BSP_output_char()
146        for libcpu's printk().
147        * console/uart.c, console/uart.h: BSP_output_char_via_serial()
148        prototype changed to match the BSP_output_char_function_type.  Note
149        that the motorola BSPs use polled-io for the output_char routine, not
150        the uart.c version. The latter can be used be other BSPs however
151        (e.g. SVGM).
152        * console/console.c, console/consoleIo.h, console/polled_io.c,
153        irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
154        Unfortunately, the supported 'printk' format string subset of the
155        polled-io and libcpu implementations are different - hence, a few
156        format strings in the ppc/shared BSP were changed.
157
1582003-04-10      Joel Sherrill <joel@OARcorp.com>
159
160        PR 383/bsps
161        * irq/irq.c: Fix bug introduced by conflicts in previous patches.
162
1632003-03-25  Till Straumann <strauman@slac.stanford.edu>
164
165        PR 360/bsps
166        * irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
167        BSP code had set the task priority register multiple times of
168        the OpenPIC instead of setting the individual source priorities.
169        This patch adds openpic_get_source_priority() and
170        openpic_set_source_priority() calls and lets IRQ management code
171        use them.
172
1732003-03-25  Till Straumann <strauman@slac.stanford.edu>
174
175        PR 349/bsps
176        * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
177        on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
178        code on non-VME BSPs without triggering linkage of the vmeUniverse
179        driver.
180
1812003-03-25  Till Straumann <strauman@slac.stanford.edu>
182
183        PR 349/bsps
184        * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
185        on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
186        code on non-VME BSPs without triggering linkage of the vmeUniverse
187        driver.
188
1892003-03-25  Till Straumann <strauman@slac.stanford.edu>
190
191        PR 349/bsps
192        * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
193        on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
194        code on non-VME BSPs without triggering linkage of the vmeUniverse
195        driver.
196
1972003-03-18  Till Straumann <strauman@slac.stanford.edu>
198
199        PR 356/bsps
200        This patch makes RTEMS/powerpc/shared EABI compliant.
201        * irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
202        startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
203        zero_bss() should clear not only bss but sbss and sbss2
204        also (this is probably a bugfix, as sbss/sbss2 are
205        probably used even if -msdata=eabi is not specified).
206        * start/rtems_crti.S: New file which must
207        be linked immediately after ecrti.o. rtems_crti.o contains
208        a code snippet who lets __init() return immediately. Also,
209        a new entry point '_init' to the C++ Ctors is generated
210        for use by the RTEMS Thread_Handler.
211
2122003-02-20      Till Straumann <strauman@slac.stanford.edu>
213
214        PR 349/bsps
215        * console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
216        irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
217        vectors/vectors.S, vectors/vectors_init.c:
218          - install the 'openpic.h' and 'pci.h' headers
219          - avoid a name clash by renaming 'vsprintf' & friends
220            to 'k_vsprintf' etc.
221          - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
222          - irq.c:
223             * fix: remove implicit assumption that ISA interrupt vectors start
224                    at 0
225             * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
226               IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
227          - fix: EABI compliance; isr/exception lowlevel handlers must not
228                 clobber R2 or R13
229          - fix: openpic_init was called with the polarity/senses tables
230                 swapped (fixed wrong order of arguments)
231          - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
232
2332003-02-20      Till Straumann <strauman@slac.stanford.edu>
234
235        PR 349/bsps
236        * startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
237        * startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
238        Let the powerpc/shared (+derived) BSPs use pagetable support
239        from libcpu.
240
2412003-02-20      Till Straumann <strauman@slac.stanford.edu>
242
243        PR 349/bsps
244        * vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
245        vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
246        the vmeUniverse VME-PCI bridge driver.
247
2482003-02-20      Till Straumann <strauman@slac.stanford.edu>
249
250        PR 349/bsps
251        * console/console.c, console/uart.c, console/uart.h: implement
252        IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
253        callback.  The callback routine (if installed) is invoked from the
254        UART ISR when a BREAK interrupt is detected.  This can be used
255        e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
256        use the serial line break condition) NOTE: The callback runs in
257        ISR context. 
258
2592003-01-20      Joel Sherrill <joel@OARcorp.com>
260
261        * startup/linkcmds*: Add FreeBSD sysctl() sections.
262
2632002-12-08      Greg Menke <gregory.menke@gsfc.nasa.gov>
264 
265        * bootloader/head.S: Added support for optional debug via PPCbug.
266        Also turn off mmu/caches for the bootstrap phase, which seems to
267        cause trouble with the 603.  The cpu init functions in the bsp
268        get all that stuff going properly.
269
2702002-12-19      Joel Sherrill <joel@OARcorp.com>
271
272        * console/console.c: Removed __assert() which conflicts with newlib.
273
2742002-11-17      Greg Menke <gregory.menke@gsfc.nasa.gov>
275
276        * irq/irq_init.c, motorola/motorola.c: Support for MTX603e.
277
2782002-10-31      Joel Sherrill <joel@OARcorp.com>
279
280        * bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
281        motorola/motorola.c, pci/detect_raven_bridge.c,
282        vectors/vectors_init.c: Removed warnings.
283
2842002-07-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
285
286        * bootloader/em86real.S: Fix syntax error in comment near line 1185.
287
2882001-05-14      Till Straumann <strauman@slac.stanford.edu>
289
290        * bootloader/misc.c, console/Makefile.am, console/console.c,
291        console/consoleIo.h, console/inch.c, console/polled_io.c,
292        console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
293        irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
294        openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
295        residual/Makefile.am, start/start.S, startup/bspstart.c,
296        vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
297        Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
298        with the goal to make it more flexible and reusable by other
299        BSPs. The main strategies were:
300            - eliminate hardcoded base addresses; devices use offsets
301              and a BSP defined base address.
302            - separate functionality into different files (e.g. reboot from
303              inch.c to reboot.c) which can be overridden by a 'derived' BSP.
304            - separate initialization code into separate files (e.g.  PCI
305              bridge detection/initialization was separated from the more
306              generic PCI access routines), also to make it easier for
307              'derived' BSPs to substitute their own initialization code.
308        There are also a couple of enhancements and fixes:
309            - IRQ handling code now has a hook for attaching a VME bridge.
310            - OpenPIC is now explicitely initialized (polarities, senses).
311              Eliminated the implicit assumption on the presence of an ISA PIC.
312            - UART and console driver now supports more than 1 port. The current
313              maximum of 2 can easily be extended by enlarging a table (it
314              would even be easier if the ISR API was not broken by design).
315            - fixed polled_io.c so it correctly supports console on COM2
316            - fixed TLB invalidation code (start.S).
317            - exception handler prints a stack backtrace.
318            - added BSP_pciFindDevice() to scan the pci bus for a particular
319              vendor/device/instance.
320
3212001-05-09      Joel Sherrill <joel@OARcorp.com>
322
323        * startup/linkcmds: In support of gcc 3.1, added one of more
324        of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
325        .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*.  Spacing corrections
326        and direction of segments to memory regions may also have been
327        addressed.  This was a sweep across all BSPs.
328 
3292002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
330
331        * bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>.
332        * bootloader/head.S: Ditto.
333        * bootloader/misc.c: Ditto.
334        * console/polled_io.c: Ditto.
335        * irq/irq.c: Ditto.
336        * irq/irq_asm.S: Ditto.
337        * irq/irq_init.c: Include <rtems/bspIo.h>.
338        * start/start.S: Reflect changes to <rtems/score/cpu.h>.
339        * vectors/vectors.S: Ditto.
340
3412002-04-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
342
343        * startup/bspstart.c: Include <libcpu/cpuIdent.h>.
344
3452001-04-08      Joel Sherrill <joel@OARcorp.com>
346
347        * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame
348 
3492002-04-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
350
351        * residual/residual.c: Include <string.h>.
352        * vectors/vectors_init.c: Include <rtems/bspIo.h> for printk.
353        * bootloader/mm.c: Ditto.
354        * bootloader/pci.c: Ditto.
355        * console/console.c: Ditto.
356        * openpic/openpic.c: Ditto.
357
3582002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
359
360        * bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS.
361        * Makefile.am: Remove AUTOMAKE_OPTIONS.
362        * clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
363        * console/Makefile.am: Remove AUTOMAKE_OPTIONS.
364        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
365        * irq/Makefile.am: Remove AUTOMAKE_OPTIONS.
366        * motorola/Makefile.am: Remove AUTOMAKE_OPTIONS.
367        * openpic/Makefile.am: Remove AUTOMAKE_OPTIONS.
368        * pci/Makefile.am: Remove AUTOMAKE_OPTIONS.
369        * residual/Makefile.am: Remove AUTOMAKE_OPTIONS.
370        * start/Makefile.am: Remove AUTOMAKE_OPTIONS.
371        * startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
372        * vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
373
3742001-11-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
375
376        * include/Makefile.am: Use _HEADER instead of H_FILES.
377        * irq/Makefile.am: Ditto.
378        * openpic/Makefile.am: Ditto.
379        * include/bsp.h: Include <bspopts.h>.
380
3812001-10-25      Joel Sherrill <joel@OARcorp.com>
382
383        * startup/linkcmds: Added _init and _fini.
384
3852001-10-12      Joel Sherrill <joel@OARcorp.com>
386
387        * clock/p_clock.c, startup/bspstart.c: Fixed typo.
388
3892001-09-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
390
391        * console/Makefile.am: Use 'PREINSTALL_FILES ='.
392        * residual/Makefile.am: Use 'PREINSTALL_FILES ='.
393        * irq/Makefile.am: Use 'PREINSTALL_FILES ='.
394        * motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
395        * vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
396        * pci/Makefile.am: Use 'PREINSTALL_FILES ='.
397        * openpic/Makefile.am: Use 'PREINSTALL_FILES ='.
398
3992001-05-14      Tom Armistead <tom_armistead@phx.mcd.mot.com>
400
401        * start/start.S: Increased BAT0 mapping of RAM from 64 meg to
402        256 meg to allow operation on boards with larger RAM sizes.
403        * vectors/vectors_init.c: Modified to call 'generic' powerpc
404        vector function (mpc60x_vector_is_valid) instead of MPC750
405        specific function to allow operation on boards with CPUs other
406        than the MPC750.
407
4082001-03-30      Eric Valette <valette@crf.canon.fr>
409
410        * Makefile.am, console/consoleIo.h, include/bsp.h:
411        These modifications are part of the conversion of the
412        mpc8xx CPU to the "new exception processing model."
413
4142000-11-01      Joel Sherrill <joel@OARcorp.com>
415
416        * startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
417        and libcsupport.h moved from libc to lib/include/rtems and
418        now must be referenced as <rtems/XXX.h>.   Header file order
419        was cleaned up while doing this.
420
4212000-09-29      Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
422
423        * startup/linkcmds: Added lines so DWARF debug information
424        would be available.  Otherwise gdb complains that the offsets
425        for the debug info are incorrect and doesn't load the files.
426
4272000-09-05      Joel Sherrill <joel@OARcorp.com>
428
429        * start/start.S: Include proper files to compile.
430
4312000-08-10      Joel Sherrill <joel@OARcorp.com>
432
433        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.