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

Last change on this file since 0bedb7ec was 0bedb7ec, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/04 at 15:44:50

2004-11-23 Richard Campbell <richard.campbell@…>

  • startup/bspstart.c: Removed mpc824x conditionals around call to L1_caches_enables, conditionals are now in mmuAsm.S.
    • vme/VMEConfig.h: Set up VME A16, A24 and A32 windows at different

locations for mvme2100.

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