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

Last change on this file since 1620d02 was 1620d02, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/10/04 at 08:00:51

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

PR 575/bsps

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