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