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

4.104.114.84.95
Last change on this file since 57d673c was 0a4e0a5, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/03 at 11:25:23

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

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