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

4.104.114.84.95
Last change on this file since 3120019 was 3120019, checked in by Joel Sherrill <joel.sherrill@…>, on 03/04/05 at 21:48:49

2005-03-04 Joel Sherrill <joel@…>

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