[046506c0] | 1 | 2003-04-15 Joel Sherrill <joel@OARcorp.com> |
---|
| 2 | |
---|
| 3 | PR 386/bsps |
---|
| 4 | * vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq. |
---|
| 5 | |
---|
[0d6849e7] | 6 | 2003-04-10 Till Straumann <strauman@slac.stanford.edu> |
---|
| 7 | |
---|
| 8 | PR 379/bsps |
---|
| 9 | * console/polled_io.c: libcpu provides 'printk' already. |
---|
| 10 | Therefore, the implementation in this file was removed (still |
---|
| 11 | used for the bootloader, though). It now provides BSP_output_char() |
---|
| 12 | for libcpu's printk(). |
---|
| 13 | * console/uart.c, console/uart.h: BSP_output_char_via_serial() |
---|
| 14 | prototype changed to match the BSP_output_char_function_type. Note |
---|
| 15 | that the motorola BSPs use polled-io for the output_char routine, not |
---|
| 16 | the uart.c version. The latter can be used be other BSPs however |
---|
| 17 | (e.g. SVGM). |
---|
| 18 | * console/console.c, console/consoleIo.h, console/polled_io.c, |
---|
| 19 | irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c: |
---|
| 20 | Unfortunately, the supported 'printk' format string subset of the |
---|
| 21 | polled-io and libcpu implementations are different - hence, a few |
---|
| 22 | format strings in the ppc/shared BSP were changed. |
---|
| 23 | |
---|
[bbd88004] | 24 | 2003-04-10 Joel Sherrill <joel@OARcorp.com> |
---|
| 25 | |
---|
| 26 | PR 383/bsps |
---|
| 27 | * irq/irq.c: Fix bug introduced by conflicts in previous patches. |
---|
| 28 | |
---|
[ec6422e] | 29 | 2003-03-25 Till Straumann <strauman@slac.stanford.edu> |
---|
| 30 | |
---|
| 31 | PR 360/bsps |
---|
| 32 | * irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h: |
---|
| 33 | BSP code had set the task priority register multiple times of |
---|
| 34 | the OpenPIC instead of setting the individual source priorities. |
---|
| 35 | This patch adds openpic_get_source_priority() and |
---|
| 36 | openpic_set_source_priority() calls and lets IRQ management code |
---|
| 37 | use them. |
---|
| 38 | |
---|
[de22321] | 39 | 2003-03-25 Till Straumann <strauman@slac.stanford.edu> |
---|
| 40 | |
---|
| 41 | PR 349/bsps |
---|
| 42 | * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency |
---|
| 43 | on the vmeUniverse driver. It is now possible to use the ppc/shared/irq |
---|
| 44 | code on non-VME BSPs without triggering linkage of the vmeUniverse |
---|
| 45 | driver. |
---|
| 46 | |
---|
| 47 | 2003-03-25 Till Straumann <strauman@slac.stanford.edu> |
---|
| 48 | |
---|
| 49 | PR 349/bsps |
---|
| 50 | * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency |
---|
| 51 | on the vmeUniverse driver. It is now possible to use the ppc/shared/irq |
---|
| 52 | code on non-VME BSPs without triggering linkage of the vmeUniverse |
---|
| 53 | driver. |
---|
| 54 | |
---|
[64f8ae4] | 55 | 2003-03-18 Till Straumann <strauman@slac.stanford.edu> |
---|
| 56 | |
---|
| 57 | PR 356/bsps |
---|
| 58 | This patch makes RTEMS/powerpc/shared EABI compliant. |
---|
| 59 | * irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c, |
---|
| 60 | startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c: |
---|
| 61 | zero_bss() should clear not only bss but sbss and sbss2 |
---|
| 62 | also (this is probably a bugfix, as sbss/sbss2 are |
---|
| 63 | probably used even if -msdata=eabi is not specified). |
---|
| 64 | * start/rtems_crti.S: New file which must |
---|
| 65 | be linked immediately after ecrti.o. rtems_crti.o contains |
---|
| 66 | a code snippet who lets __init() return immediately. Also, |
---|
| 67 | a new entry point '_init' to the C++ Ctors is generated |
---|
| 68 | for use by the RTEMS Thread_Handler. |
---|
| 69 | |
---|
[6600424d] | 70 | 2003-02-20 Till Straumann <strauman@slac.stanford.edu> |
---|
| 71 | |
---|
| 72 | PR 349/bsps |
---|
| 73 | * console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S, |
---|
| 74 | irq/irq_init.c, openpic/Makefile.am, startup/linkcmds, |
---|
| 75 | vectors/vectors.S, vectors/vectors_init.c: |
---|
| 76 | - install the 'openpic.h' and 'pci.h' headers |
---|
| 77 | - avoid a name clash by renaming 'vsprintf' & friends |
---|
| 78 | to 'k_vsprintf' etc. |
---|
| 79 | - let 'rtemsReboot' print a stack trace (in case an 'assert' failed) |
---|
| 80 | - irq.c: |
---|
| 81 | * fix: remove implicit assumption that ISA interrupt vectors start |
---|
| 82 | at 0 |
---|
| 83 | * add BSP hook to let a VME interrupt acknowledge the PCI/openpic |
---|
| 84 | IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch) |
---|
| 85 | - fix: EABI compliance; isr/exception lowlevel handlers must not |
---|
| 86 | clobber R2 or R13 |
---|
| 87 | - fix: openpic_init was called with the polarity/senses tables |
---|
| 88 | swapped (fixed wrong order of arguments) |
---|
| 89 | - cosmetics: use new _read_SPRXX() _write_SPRXX() macros |
---|
| 90 | |
---|
[ea29ba6] | 91 | 2003-02-20 Till Straumann <strauman@slac.stanford.edu> |
---|
| 92 | |
---|
| 93 | PR 349/bsps |
---|
| 94 | * startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files |
---|
| 95 | * startup/Makefile.am, startup/bspstart.c, startup/linkcmds: |
---|
| 96 | Let the powerpc/shared (+derived) BSPs use pagetable support |
---|
| 97 | from libcpu. |
---|
| 98 | |
---|
[b95aedf] | 99 | 2003-02-20 Till Straumann <strauman@slac.stanford.edu> |
---|
| 100 | |
---|
| 101 | PR 349/bsps |
---|
| 102 | * vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h, |
---|
| 103 | vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use |
---|
| 104 | the vmeUniverse VME-PCI bridge driver. |
---|
| 105 | |
---|
[4f3e4f33] | 106 | 2003-02-20 Till Straumann <strauman@slac.stanford.edu> |
---|
| 107 | |
---|
| 108 | PR 349/bsps |
---|
| 109 | * console/console.c, console/uart.c, console/uart.h: implement |
---|
| 110 | IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ |
---|
| 111 | callback. The callback routine (if installed) is invoked from the |
---|
| 112 | UART ISR when a BREAK interrupt is detected. This can be used |
---|
| 113 | e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we |
---|
| 114 | use the serial line break condition) NOTE: The callback runs in |
---|
| 115 | ISR context. |
---|
| 116 | |
---|
[1d36d2af] | 117 | 2003-01-20 Joel Sherrill <joel@OARcorp.com> |
---|
| 118 | |
---|
| 119 | * startup/linkcmds*: Add FreeBSD sysctl() sections. |
---|
| 120 | |
---|
[9cd4a6e8] | 121 | 2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov> |
---|
| 122 | |
---|
| 123 | * bootloader/head.S: Added support for optional debug via PPCbug. |
---|
| 124 | Also turn off mmu/caches for the bootstrap phase, which seems to |
---|
| 125 | cause trouble with the 603. The cpu init functions in the bsp |
---|
| 126 | get all that stuff going properly. |
---|
| 127 | |
---|
[c4e9f68] | 128 | 2002-12-19 Joel Sherrill <joel@OARcorp.com> |
---|
| 129 | |
---|
| 130 | * console/console.c: Removed __assert() which conflicts with newlib. |
---|
| 131 | |
---|
[5d740bb] | 132 | 2002-11-17 Greg Menke <gregory.menke@gsfc.nasa.gov> |
---|
| 133 | |
---|
| 134 | * irq/irq_init.c, motorola/motorola.c: Support for MTX603e. |
---|
| 135 | |
---|
[7657233d] | 136 | 2002-10-31 Joel Sherrill <joel@OARcorp.com> |
---|
| 137 | |
---|
| 138 | * bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c, |
---|
| 139 | motorola/motorola.c, pci/detect_raven_bridge.c, |
---|
| 140 | vectors/vectors_init.c: Removed warnings. |
---|
| 141 | |
---|
[c654ac53] | 142 | 2002-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 143 | |
---|
| 144 | * bootloader/em86real.S: Fix syntax error in comment near line 1185. |
---|
| 145 | |
---|
[69ed59f] | 146 | 2001-05-14 Till Straumann <strauman@slac.stanford.edu> |
---|
| 147 | |
---|
| 148 | * bootloader/misc.c, console/Makefile.am, console/console.c, |
---|
| 149 | console/consoleIo.h, console/inch.c, console/polled_io.c, |
---|
| 150 | console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am, |
---|
| 151 | irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c, |
---|
| 152 | openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h, |
---|
| 153 | residual/Makefile.am, start/start.S, startup/bspstart.c, |
---|
| 154 | vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c: |
---|
| 155 | Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably |
---|
| 156 | with the goal to make it more flexible and reusable by other |
---|
| 157 | BSPs. The main strategies were: |
---|
| 158 | - eliminate hardcoded base addresses; devices use offsets |
---|
| 159 | and a BSP defined base address. |
---|
| 160 | - separate functionality into different files (e.g. reboot from |
---|
| 161 | inch.c to reboot.c) which can be overridden by a 'derived' BSP. |
---|
| 162 | - separate initialization code into separate files (e.g. PCI |
---|
| 163 | bridge detection/initialization was separated from the more |
---|
| 164 | generic PCI access routines), also to make it easier for |
---|
| 165 | 'derived' BSPs to substitute their own initialization code. |
---|
| 166 | There are also a couple of enhancements and fixes: |
---|
| 167 | - IRQ handling code now has a hook for attaching a VME bridge. |
---|
| 168 | - OpenPIC is now explicitely initialized (polarities, senses). |
---|
[85c92574] | 169 | Eliminated the implicit assumption on the presence of an ISA PIC. |
---|
| 170 | - UART and console driver now supports more than 1 port. The current |
---|
| 171 | maximum of 2 can easily be extended by enlarging a table (it |
---|
| 172 | would even be easier if the ISR API was not broken by design). |
---|
| 173 | - fixed polled_io.c so it correctly supports console on COM2 |
---|
| 174 | - fixed TLB invalidation code (start.S). |
---|
| 175 | - exception handler prints a stack backtrace. |
---|
| 176 | - added BSP_pciFindDevice() to scan the pci bus for a particular |
---|
[cd35cf9] | 177 | vendor/device/instance. |
---|
| 178 | |
---|
| 179 | 2001-05-09 Joel Sherrill <joel@OARcorp.com> |
---|
| 180 | |
---|
| 181 | * startup/linkcmds: In support of gcc 3.1, added one of more |
---|
| 182 | of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*, |
---|
| 183 | .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections |
---|
| 184 | and direction of segments to memory regions may also have been |
---|
| 185 | addressed. This was a sweep across all BSPs. |
---|
| 186 | |
---|
| 187 | 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 188 | |
---|
[70f1268d] | 189 | * bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>. |
---|
| 190 | * bootloader/head.S: Ditto. |
---|
| 191 | * bootloader/misc.c: Ditto. |
---|
| 192 | * console/polled_io.c: Ditto. |
---|
[238f450] | 193 | * irq/irq.c: Ditto. |
---|
| 194 | * irq/irq_asm.S: Ditto. |
---|
| 195 | * irq/irq_init.c: Include <rtems/bspIo.h>. |
---|
| 196 | * start/start.S: Reflect changes to <rtems/score/cpu.h>. |
---|
[20603d1] | 197 | * vectors/vectors.S: Ditto. |
---|
| 198 | |
---|
| 199 | 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 200 | |
---|
| 201 | * startup/bspstart.c: Include <libcpu/cpuIdent.h>. |
---|
| 202 | |
---|
| 203 | 2001-04-08 Joel Sherrill <joel@OARcorp.com> |
---|
| 204 | |
---|
| 205 | * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame |
---|
[b23a1721] | 206 | |
---|
| 207 | 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 208 | |
---|
| 209 | * residual/residual.c: Include <string.h>. |
---|
| 210 | * vectors/vectors_init.c: Include <rtems/bspIo.h> for printk. |
---|
| 211 | * bootloader/mm.c: Ditto. |
---|
| 212 | * bootloader/pci.c: Ditto. |
---|
| 213 | * console/console.c: Ditto. |
---|
| 214 | * openpic/openpic.c: Ditto. |
---|
| 215 | |
---|
| 216 | 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 217 | |
---|
| 218 | * bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 219 | * Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 220 | * clock/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 221 | * console/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
[825b119] | 222 | * include/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 223 | * irq/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 224 | * motorola/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 225 | * openpic/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 226 | * pci/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 227 | * residual/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 228 | * start/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
[ac9253e] | 229 | * startup/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 230 | * vectors/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 231 | |
---|
| 232 | 2001-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
[8807eac] | 233 | |
---|
| 234 | * include/Makefile.am: Use _HEADER instead of H_FILES. |
---|
| 235 | * irq/Makefile.am: Ditto. |
---|
| 236 | * openpic/Makefile.am: Ditto. |
---|
[b0f80e1b] | 237 | * include/bsp.h: Include <bspopts.h>. |
---|
| 238 | |
---|
| 239 | 2001-10-25 Joel Sherrill <joel@OARcorp.com> |
---|
| 240 | |
---|
| 241 | * startup/linkcmds: Added _init and _fini. |
---|
| 242 | |
---|
| 243 | 2001-10-12 Joel Sherrill <joel@OARcorp.com> |
---|
| 244 | |
---|
| 245 | * clock/p_clock.c, startup/bspstart.c: Fixed typo. |
---|
| 246 | |
---|
[9a23bf64] | 247 | 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 248 | |
---|
| 249 | * console/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 250 | * residual/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 251 | * irq/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 252 | * motorola/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 253 | * vectors/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 254 | * pci/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 255 | * openpic/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
[bde9bb5] | 256 | |
---|
| 257 | 2001-05-14 Tom Armistead <tom_armistead@phx.mcd.mot.com> |
---|
| 258 | |
---|
| 259 | * start/start.S: Increased BAT0 mapping of RAM from 64 meg to |
---|
| 260 | 256 meg to allow operation on boards with larger RAM sizes. |
---|
| 261 | * vectors/vectors_init.c: Modified to call 'generic' powerpc |
---|
[eba2e4f] | 262 | vector function (mpc60x_vector_is_valid) instead of MPC750 |
---|
| 263 | specific function to allow operation on boards with CPUs other |
---|
| 264 | than the MPC750. |
---|
| 265 | |
---|
| 266 | 2001-03-30 Eric Valette <valette@crf.canon.fr> |
---|
| 267 | |
---|
| 268 | * Makefile.am, console/consoleIo.h, include/bsp.h: |
---|
[4cb5d29] | 269 | These modifications are part of the conversion of the |
---|
| 270 | mpc8xx CPU to the "new exception processing model." |
---|
| 271 | |
---|
| 272 | 2000-11-01 Joel Sherrill <joel@OARcorp.com> |
---|
| 273 | |
---|
| 274 | * startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, |
---|
[443c35c1] | 275 | and libcsupport.h moved from libc to lib/include/rtems and |
---|
| 276 | now must be referenced as <rtems/XXX.h>. Header file order |
---|
| 277 | was cleaned up while doing this. |
---|
| 278 | |
---|
[e94ad1fe] | 279 | 2000-09-29 Charles-Antoine Gauthier <charles.gauthier@nrc.ca> |
---|
| 280 | |
---|
| 281 | * startup/linkcmds: Added lines so DWARF debug information |
---|
| 282 | would be available. Otherwise gdb complains that the offsets |
---|
| 283 | for the debug info are incorrect and doesn't load the files. |
---|
| 284 | |
---|
| 285 | 2000-09-05 Joel Sherrill <joel@OARcorp.com> |
---|
| 286 | |
---|
| 287 | * start/start.S: Include proper files to compile. |
---|
| 288 | |
---|
| 289 | 2000-08-10 Joel Sherrill <joel@OARcorp.com> |
---|
| 290 | |
---|
| 291 | * ChangeLog: New file. |
---|