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

Last change on this file since 81cc5b2 was 81cc5b2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/01/04 at 00:14:59

2004-02-10 Ralf Corsepius <corsepiu@…>

PR 575/bsps

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