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

4.104.114.84.9
Last change on this file since a77cd066 was a77cd066, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 2, 2003 at 11:24:16 AM

2003-12-02 Ralf Corsepius <corsepiu@…>

  • bootloader/Makefile.am: Put all files into EXTRA_DIST.
  • vme/Makefile.am: Ditto.
  • console/Makefile.am: Move H_FILES to include_bsp_HEADERS. Add preinstallation dirstamp support.
  • irq/Makefile.am: Ditto.
  • motorola/Makefile.am: Ditto.
  • openpic/Makefile.am: Ditto.
  • pci/Makefile.am: Ditto.
  • residual/Makefile.am: Ditto.
  • vectors/Makefile.am: Ditto.
  • Makefile.am: Remove empty lines.
  • clock/Makefile.am: Ditto.
  • include/Makefile.am: Ditto.
  • startup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 17.5 KB
Line 
12003-12-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2
3        * bootloader/Makefile.am: Put all files into EXTRA_DIST.
4        * vme/Makefile.am: Ditto.
5        * console/Makefile.am: Move H_FILES to include_bsp_HEADERS.
6        Add preinstallation dirstamp support.
7        * irq/Makefile.am: Ditto.
8        * motorola/Makefile.am: Ditto.
9        * openpic/Makefile.am: Ditto.
10        * pci/Makefile.am: Ditto.
11        * residual/Makefile.am: Ditto.
12        * vectors/Makefile.am: Ditto.
13        * Makefile.am: Remove empty lines.
14        * clock/Makefile.am: Ditto.
15        * include/Makefile.am: Ditto.
16        * startup/Makefile.am: Ditto.
17
182003-10-22      Joel Sherrill <joel@OARcorp.com>
19
20        PR 510/bsps
21        * irq/irq.h: Add extern C wrapper.
22
232003-09-29      Till Strauman <strauman@slac.stanford.edu>
24
25        PR 497/bsps
26        * bootloader/head.S: Disable code that returned to the firmware when
27        the loader starts.
28
292003-09-26      Till Strauman <strauman@slac.stanford.edu>
30
31        PR 496/bsps
32        * startup/sbrk.c: New file.
33        * startup/bspstart.c: This patch implements 'sbrk'
34        for the powerpc-shared BSP to work around what's known as the
35        '32Mb problem' in combination with run-time loaded code.
36        GCC normally generates (PowerPC) code doing 'short jumps' which
37        requires all text segments being in the same 32Mb area of memory.
38        However, some run-time loaders use (e.g. heap-) memory violating the
39        stated limitation on hardware with more than 32Mb of memory.
40        (NOTE: portable loaders are probably not even aware of this
41        GCC/CPU specific problem.)
42
43        This patch implements a simple workaround: At boot time, the system is
44        only provided with 32Mb of memory. The user is supposed to load all
45        necessary modules prior to that limit being exhausted. Once that
46        happens, newlib/malloc end up trying to 'sbrk()' for more memory and
47        the implementation provided by this patch will then make the rest of
48        the physical memory available.
49
502003-09-26  Till Straumann <strauman@slac.stanford.edu>
51
52        PR 497/bsps
53        * bootloader/head.S: Let the bootloader shut down the
54        network interface. NOTE: this involves a PPCBug system
55        call and will hence fail if other software is used
56        to boot. Need to #undef USE_PPCBUG in such cases!
57 
582003-09-04      Joel Sherrill <joel@OARcorp.com>
59
60        * bootloader/bootldr.h, bootloader/em86.c, bootloader/em86real.S,
61        bootloader/exception.S, bootloader/head.S, bootloader/lib.c,
62        bootloader/misc.c, bootloader/mm.c, bootloader/pci.c,
63        clock/p_clock.c, console/console.c, console/consoleIo.h,
64        console/inch.c, console/keyboard.h, console/polled_io.c,
65        include/bsp.h, irq/i8259.c, irq/irq.c, irq/irq.h, irq/irq_asm.S,
66        irq/irq_init.c, motorola/motorola.c, motorola/motorola.h,
67        openpic/openpic.c, openpic/openpic.h, pci/pci.c, residual/residual.c,
68        start/start.S, startup/bspstart.c, vectors/vectors.h,
69        vectors/vectors_init.c: URL for license changed.
70
712003-08-21      Till Strauman <strauman@slac.stanford.edu>
72
73        PR 456/bsps
74        * irq/irq.c: Fix race condition when installing an ISR.
75
762003-08-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
77
78        * Makefile.am: Reflect having moved automake/.
79        * bootloader/Makefile.am: Reflect having moved automake/.
80        * clock/Makefile.am: Reflect having moved automake/.
81        * console/Makefile.am: Reflect having moved automake/.
82        * include/Makefile.am: Reflect having moved automake/.
83        * irq/Makefile.am: Reflect having moved automake/.
84        * motorola/Makefile.am: Reflect having moved automake/.
85        * openpic/Makefile.am: Reflect having moved automake/.
86        * pci/Makefile.am: Reflect having moved automake/.
87        * residual/Makefile.am: Reflect having moved automake/.
88        * start/Makefile.am: Reflect having moved automake/.
89        * startup/Makefile.am: Reflect having moved automake/.
90        * vectors/Makefile.am: Reflect having moved automake/.
91        * vme/Makefile.am: Reflect having moved automake/.
92
932003-08-05      Till Strauman <strauman@slac.stanford.edu>
94
95        PR 437/bsps
96        * irq/irc.c: calls to bspIo/printk must not use '%i' format which is
97        apparently not supported
98        * pci/pci.c: calls to bspIo/printk must not use '%i' format which is
99        apparently not supported
100
1012003-07-18      Till Straumann <strauman@slac.stanford.edu>
102
103        PR 288/rtems
104        * irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
105        maintained and any BSP which does not do so will trip a panic in the
106        shared code.
107
1082003-07-18      Till Straumann <strauman@slac.stanford.edu>
109
110        PR 415/bsps
111        * pci/detect_raven_bridge.c, startup/bspstart.c:
112        This patch reverts enabling MCP interrupts for the motorola_powerpc
113        BSPs. REASON: pci config space scanning (as e.g. done by the DEC
114        Ethernet driver) would raise machine check exceptions.
115
1162003-07-16      Greg Menke <gregory.menke@gsfc.nasa.gov>
117
118        PR 428/bsps
119        PR 432/bsps
120        * bootloader/pci.c: Re-instated code that prevents remapping small
121        IO regions, which if remapped would cause i8259 registers to move
122        out from under the #define'd base addresses.
123        * startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
124        megs, I incorrectly had extended it which would cause problems with
125        PCI devices that defined prefetchable memory.
126
1272003-07-16      Greg Menke <gregory.menke@gsfc.nasa.gov>
128        PR 432/bsps
129        * bootloader/pci.c: Re-instated code that prevents remapping small
130        IO regions, which if remapped would cause i8259 registers to move
131        out from under the #define'd base addresses.
132        * startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
133        megs, I incorrectly had extended it which would cause problems with
134        PCI devices that defined prefetchable memory.
135       
1362003-06-13      Greg Menke <gregory.menke@gsfc.nasa.gov>
137
138        PR 405/bsps
139        * bootloader/pci.c: Added support for configuring devices for pci
140        busses > 0
141        * pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
142        INTERRUPT_LINE register of pci devices any # of hops away
143        from the host processor.
144        * motorola/motorola.c, motorola/motorola.h: Added interrupt
145        routing tables in support of FixupPCI.  This is board-specific,
146        each board will have to supply information for FixupPCI() to do
147        anything for it.
148        * startup/bspstart.c: Extended bat2 to cover entire PCI address space.
149        * irq/irq.c, irq/irq.h: Added support for shared interrupts.
150        Existing single hander vectors are undisturbed, a new function
151        added to allow adding/removing handlers from a vector.
152
1532003-06-13  Till Straumann <strauman@slac.stanford.edu>
154
155        PR 415/bsps
156        * include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
157        Support enabling MCP exceptions on the host bridge. This can
158        be used for memory probing on the VME bus.
159
1602003-04-15      Joel Sherrill <joel@OARcorp.com>
161
162        PR 386/bsps
163        * vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.
164
1652003-04-10  Till Straumann <strauman@slac.stanford.edu>
166
167        PR 379/bsps
168        * console/polled_io.c: libcpu provides 'printk' already.
169        Therefore, the implementation in this file was removed (still
170        used for the bootloader, though).  It now provides BSP_output_char()
171        for libcpu's printk().
172        * console/uart.c, console/uart.h: BSP_output_char_via_serial()
173        prototype changed to match the BSP_output_char_function_type.  Note
174        that the motorola BSPs use polled-io for the output_char routine, not
175        the uart.c version. The latter can be used be other BSPs however
176        (e.g. SVGM).
177        * console/console.c, console/consoleIo.h, console/polled_io.c,
178        irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
179        Unfortunately, the supported 'printk' format string subset of the
180        polled-io and libcpu implementations are different - hence, a few
181        format strings in the ppc/shared BSP were changed.
182
1832003-04-10      Joel Sherrill <joel@OARcorp.com>
184
185        PR 383/bsps
186        * irq/irq.c: Fix bug introduced by conflicts in previous patches.
187
1882003-03-25  Till Straumann <strauman@slac.stanford.edu>
189
190        PR 360/bsps
191        * irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
192        BSP code had set the task priority register multiple times of
193        the OpenPIC instead of setting the individual source priorities.
194        This patch adds openpic_get_source_priority() and
195        openpic_set_source_priority() calls and lets IRQ management code
196        use them.
197
1982003-03-25  Till Straumann <strauman@slac.stanford.edu>
199
200        PR 349/bsps
201        * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
202        on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
203        code on non-VME BSPs without triggering linkage of the vmeUniverse
204        driver.
205
2062003-03-25  Till Straumann <strauman@slac.stanford.edu>
207
208        PR 349/bsps
209        * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
210        on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
211        code on non-VME BSPs without triggering linkage of the vmeUniverse
212        driver.
213
2142003-03-18  Till Straumann <strauman@slac.stanford.edu>
215
216        PR 356/bsps
217        This patch makes RTEMS/powerpc/shared EABI compliant.
218        * irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
219        startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
220        zero_bss() should clear not only bss but sbss and sbss2
221        also (this is probably a bugfix, as sbss/sbss2 are
222        probably used even if -msdata=eabi is not specified).
223        * start/rtems_crti.S: New file which must
224        be linked immediately after ecrti.o. rtems_crti.o contains
225        a code snippet who lets __init() return immediately. Also,
226        a new entry point '_init' to the C++ Ctors is generated
227        for use by the RTEMS Thread_Handler.
228
2292003-02-20      Till Straumann <strauman@slac.stanford.edu>
230
231        PR 349/bsps
232        * console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
233        irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
234        vectors/vectors.S, vectors/vectors_init.c:
235          - install the 'openpic.h' and 'pci.h' headers
236          - avoid a name clash by renaming 'vsprintf' & friends
237            to 'k_vsprintf' etc.
238          - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
239          - irq.c:
240             * fix: remove implicit assumption that ISA interrupt vectors start
241                    at 0
242             * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
243               IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
244          - fix: EABI compliance; isr/exception lowlevel handlers must not
245                 clobber R2 or R13
246          - fix: openpic_init was called with the polarity/senses tables
247                 swapped (fixed wrong order of arguments)
248          - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
249
2502003-02-20      Till Straumann <strauman@slac.stanford.edu>
251
252        PR 349/bsps
253        * startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
254        * startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
255        Let the powerpc/shared (+derived) BSPs use pagetable support
256        from libcpu.
257
2582003-02-20      Till Straumann <strauman@slac.stanford.edu>
259
260        PR 349/bsps
261        * vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
262        vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
263        the vmeUniverse VME-PCI bridge driver.
264
2652003-02-20      Till Straumann <strauman@slac.stanford.edu>
266
267        PR 349/bsps
268        * console/console.c, console/uart.c, console/uart.h: implement
269        IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
270        callback.  The callback routine (if installed) is invoked from the
271        UART ISR when a BREAK interrupt is detected.  This can be used
272        e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
273        use the serial line break condition) NOTE: The callback runs in
274        ISR context. 
275
2762003-01-20      Joel Sherrill <joel@OARcorp.com>
277
278        * startup/linkcmds*: Add FreeBSD sysctl() sections.
279
2802002-12-08      Greg Menke <gregory.menke@gsfc.nasa.gov>
281 
282        * bootloader/head.S: Added support for optional debug via PPCbug.
283        Also turn off mmu/caches for the bootstrap phase, which seems to
284        cause trouble with the 603.  The cpu init functions in the bsp
285        get all that stuff going properly.
286
2872002-12-19      Joel Sherrill <joel@OARcorp.com>
288
289        * console/console.c: Removed __assert() which conflicts with newlib.
290
2912002-11-17      Greg Menke <gregory.menke@gsfc.nasa.gov>
292
293        * irq/irq_init.c, motorola/motorola.c: Support for MTX603e.
294
2952002-10-31      Joel Sherrill <joel@OARcorp.com>
296
297        * bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
298        motorola/motorola.c, pci/detect_raven_bridge.c,
299        vectors/vectors_init.c: Removed warnings.
300
3012002-07-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
302
303        * bootloader/em86real.S: Fix syntax error in comment near line 1185.
304
3052001-05-14      Till Straumann <strauman@slac.stanford.edu>
306
307        * bootloader/misc.c, console/Makefile.am, console/console.c,
308        console/consoleIo.h, console/inch.c, console/polled_io.c,
309        console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
310        irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
311        openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
312        residual/Makefile.am, start/start.S, startup/bspstart.c,
313        vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
314        Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
315        with the goal to make it more flexible and reusable by other
316        BSPs. The main strategies were:
317            - eliminate hardcoded base addresses; devices use offsets
318              and a BSP defined base address.
319            - separate functionality into different files (e.g. reboot from
320              inch.c to reboot.c) which can be overridden by a 'derived' BSP.
321            - separate initialization code into separate files (e.g.  PCI
322              bridge detection/initialization was separated from the more
323              generic PCI access routines), also to make it easier for
324              'derived' BSPs to substitute their own initialization code.
325        There are also a couple of enhancements and fixes:
326            - IRQ handling code now has a hook for attaching a VME bridge.
327            - OpenPIC is now explicitely initialized (polarities, senses).
328              Eliminated the implicit assumption on the presence of an ISA PIC.
329            - UART and console driver now supports more than 1 port. The current
330              maximum of 2 can easily be extended by enlarging a table (it
331              would even be easier if the ISR API was not broken by design).
332            - fixed polled_io.c so it correctly supports console on COM2
333            - fixed TLB invalidation code (start.S).
334            - exception handler prints a stack backtrace.
335            - added BSP_pciFindDevice() to scan the pci bus for a particular
336              vendor/device/instance.
337
3382001-05-09      Joel Sherrill <joel@OARcorp.com>
339
340        * startup/linkcmds: In support of gcc 3.1, added one of more
341        of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
342        .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*.  Spacing corrections
343        and direction of segments to memory regions may also have been
344        addressed.  This was a sweep across all BSPs.
345 
3462002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
347
348        * bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>.
349        * bootloader/head.S: Ditto.
350        * bootloader/misc.c: Ditto.
351        * console/polled_io.c: Ditto.
352        * irq/irq.c: Ditto.
353        * irq/irq_asm.S: Ditto.
354        * irq/irq_init.c: Include <rtems/bspIo.h>.
355        * start/start.S: Reflect changes to <rtems/score/cpu.h>.
356        * vectors/vectors.S: Ditto.
357
3582002-04-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
359
360        * startup/bspstart.c: Include <libcpu/cpuIdent.h>.
361
3622001-04-08      Joel Sherrill <joel@OARcorp.com>
363
364        * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame
365 
3662002-04-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
367
368        * residual/residual.c: Include <string.h>.
369        * vectors/vectors_init.c: Include <rtems/bspIo.h> for printk.
370        * bootloader/mm.c: Ditto.
371        * bootloader/pci.c: Ditto.
372        * console/console.c: Ditto.
373        * openpic/openpic.c: Ditto.
374
3752002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
376
377        * bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS.
378        * Makefile.am: Remove AUTOMAKE_OPTIONS.
379        * clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
380        * console/Makefile.am: Remove AUTOMAKE_OPTIONS.
381        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
382        * irq/Makefile.am: Remove AUTOMAKE_OPTIONS.
383        * motorola/Makefile.am: Remove AUTOMAKE_OPTIONS.
384        * openpic/Makefile.am: Remove AUTOMAKE_OPTIONS.
385        * pci/Makefile.am: Remove AUTOMAKE_OPTIONS.
386        * residual/Makefile.am: Remove AUTOMAKE_OPTIONS.
387        * start/Makefile.am: Remove AUTOMAKE_OPTIONS.
388        * startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
389        * vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
390
3912001-11-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
392
393        * include/Makefile.am: Use _HEADER instead of H_FILES.
394        * irq/Makefile.am: Ditto.
395        * openpic/Makefile.am: Ditto.
396        * include/bsp.h: Include <bspopts.h>.
397
3982001-10-25      Joel Sherrill <joel@OARcorp.com>
399
400        * startup/linkcmds: Added _init and _fini.
401
4022001-10-12      Joel Sherrill <joel@OARcorp.com>
403
404        * clock/p_clock.c, startup/bspstart.c: Fixed typo.
405
4062001-09-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
407
408        * console/Makefile.am: Use 'PREINSTALL_FILES ='.
409        * residual/Makefile.am: Use 'PREINSTALL_FILES ='.
410        * irq/Makefile.am: Use 'PREINSTALL_FILES ='.
411        * motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
412        * vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
413        * pci/Makefile.am: Use 'PREINSTALL_FILES ='.
414        * openpic/Makefile.am: Use 'PREINSTALL_FILES ='.
415
4162001-05-14      Tom Armistead <tom_armistead@phx.mcd.mot.com>
417
418        * start/start.S: Increased BAT0 mapping of RAM from 64 meg to
419        256 meg to allow operation on boards with larger RAM sizes.
420        * vectors/vectors_init.c: Modified to call 'generic' powerpc
421        vector function (mpc60x_vector_is_valid) instead of MPC750
422        specific function to allow operation on boards with CPUs other
423        than the MPC750.
424
4252001-03-30      Eric Valette <valette@crf.canon.fr>
426
427        * Makefile.am, console/consoleIo.h, include/bsp.h:
428        These modifications are part of the conversion of the
429        mpc8xx CPU to the "new exception processing model."
430
4312000-11-01      Joel Sherrill <joel@OARcorp.com>
432
433        * startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
434        and libcsupport.h moved from libc to lib/include/rtems and
435        now must be referenced as <rtems/XXX.h>.   Header file order
436        was cleaned up while doing this.
437
4382000-09-29      Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
439
440        * startup/linkcmds: Added lines so DWARF debug information
441        would be available.  Otherwise gdb complains that the offsets
442        for the debug info are incorrect and doesn't load the files.
443
4442000-09-05      Joel Sherrill <joel@OARcorp.com>
445
446        * start/start.S: Include proper files to compile.
447
4482000-08-10      Joel Sherrill <joel@OARcorp.com>
449
450        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.