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

4.104.114.84.95
Last change on this file since bc76099 was bc76099, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/14/04 at 07:11:04

2004-01-14 Ralf Corsepius <corsepiu@…>

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