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

Last change on this file since 38c7e481 was 843805f7, checked in by Joel Sherrill <joel.sherrill@…>, on 10/22/03 at 16:24:29

2003-10-22 Joel Sherrill <joel@…>

PR 510/bsps

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