summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/ChangeLog
blob: 03784d0e4be5c5d9a522f11f2bc123d46bc986de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
2005-02-17	Ralf Corsepius <ralf.corsepius@rtems.org>

	* startup/bspstart.c: Eliminate rtems_unsigned32.

2005-02-17	Ralf Corsepius <ralf.corsepius@rtems.org>

	* startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
	Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
	CPU_MINIMUM_STACK_FRAME_SIZE.

2005-02-17	Ralf Corsepius <ralf.corsepius@rtems.org>

	* start/start.S: include <rtems/powerpc/powerpc.h>.
	Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
	CPU_MINIMUM_STACK_FRAME_SIZE.

2005-02-12	Joel Sherrill <joel@OARcorp.com>

	* pci/pci.h: Remove contents that are duplicates of the pci.h in cpukit
	and include rtems/pci.h for the base set of PCI functionality.

2005-01-22	Ralf Corsepius <ralf.corsepius@rtems.org>

	* tod/todcfg.c: size_t RTC_Count.

2005-01-04	Joel Sherrill <joel@OARcorp.com>

	* ChangeLog, startup/bspstart.c, tod/todcfg.c: Remove warnings.

2004-11-30	Greg Menke <gregory.menke@gsfc.nasa.gov>

	PR 729/bsps
	* bootloader/pci.c: Removed the r->size=0 and r->base=0
	assignement which makes too-large regions conflict with onboard
	hardware, replacing it with sfree which deletes the memory region
	from the setup code, leaving it disabled.

2004-11-30	Greg Menke <gregory.menke@gsfc.nasa.gov>

        PR 728/bsps 
	* bootloader/ppcboot.lds: Modified ppcboot.lds to include new
	.data and .rodata sections being generated by gcc-3.3.3 and above,
	the lack of which was causing the bootloader to crash.

2004-09-27      Greg Menke <gregory.menke@gsfc.nasa.gov>

	PR 606/bsps
	* bootloader/pci.c: Fixed IO remapping so buses >= 1 are remapped.
	Reduced PCI space to match bat2.  Fixed incorrect region size
	calculation in pci_read_bases.  Set PCI latency timers to known
	sane values.  Changed bridge PCI settings to minimum sane instead
	of whatever sounded neat in the PCI spec.  Force pf regions to
	memory mapped to preserve byte access.


2004-09-27      Greg Menke <gregory.menke@gsfc.nasa.gov>

	PR 606/bsps
	* bootloader/pci.c: Fixed IO remapping so buses >= 1 are remapped.
	Reduced PCI space to match bat2.  Fixed incorrect region size
	calculation in pci_read_bases.  Set PCI latency timers to known
	sane values.  Changed bridge PCI settings to minimum sane instead
	of whatever sounded neat in the PCI spec.  Force pf regions to
	memory mapped to preserve byte access.

2003-07-16      Greg Menke <gregory.menke@gsfc.nasa.gov>

	PR 432/bsps
	* bootloader/pci.c: Re-instated code that prevents remapping small
	IO regions, which if remapped would cause i8259 registers to move
	out from under the #define'd base addresses.
	* startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
	megs, I incorrectly had extended it which would cause problems with
	PCI devices that defined prefetchable memory.
	
2003-06-13	Greg Menke <gregory.menke@gsfc.nasa.gov>

	PR 405/bsps
	* bootloader/pci.c: Added support for configuring devices for pci
	busses > 0
	* pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
	INTERRUPT_LINE register of pci devices any # of hops away
	from the host processor.
	* motorola/motorola.c, motorola/motorola.h: Added interrupt
	routing tables in support of FixupPCI.  This is board-specific,
	each board will have to supply information for FixupPCI() to do
	anything for it.
	* startup/bspstart.c: Extended bat2 to cover entire PCI address space.
	* irq/irq.c, irq/irq.h: Added support for shared interrupts.
	Existing single hander vectors are undisturbed, a new function
	added to allow adding/removing handlers from a vector.

2003-06-13  Till Straumann <strauman@slac.stanford.edu>

	PR 415/bsps
	* include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
	Support enabling MCP exceptions on the host bridge. This can
	be used for memory probing on the VME bus.

2003-04-15	Joel Sherrill <joel@OARcorp.com>

	PR 386/bsps
	* vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.

2003-04-15	Joel Sherrill <joel@OARcorp.com>

	PR 386/bsps
	* vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.

2003-04-10  Till Straumann <strauman@slac.stanford.edu>

	PR 379/bsps
	* console/polled_io.c: libcpu provides 'printk' already.
	Therefore, the implementation in this file was removed (still
	used for the bootloader, though).  It now provides BSP_output_char()
	for libcpu's printk().
	* console/uart.c, console/uart.h: BSP_output_char_via_serial()
	prototype changed to match the BSP_output_char_function_type.  Note
	that the motorola BSPs use polled-io for the output_char routine, not
	the uart.c version. The latter can be used be other BSPs however
	(e.g. SVGM).
	* console/console.c, console/consoleIo.h, console/polled_io.c,
	irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
	Unfortunately, the supported 'printk' format string subset of the
	polled-io and libcpu implementations are different - hence, a few
	format strings in the ppc/shared BSP were changed.

2003-04-10	Joel Sherrill <joel@OARcorp.com>

	PR 383/bsps
	* irq/irq.c: Fix bug introduced by conflicts in previous patches.

2003-03-25  Till Straumann <strauman@slac.stanford.edu>

	PR 360/bsps
	* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
	BSP code had set the task priority register multiple times of
	the OpenPIC instead of setting the individual source priorities.
	This patch adds openpic_get_source_priority() and
	openpic_set_source_priority() calls and lets IRQ management code
	use them.

2003-03-25  Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
	on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
	code on non-VME BSPs without triggering linkage of the vmeUniverse
	driver.

2003-03-25  Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
	on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
	code on non-VME BSPs without triggering linkage of the vmeUniverse
	driver.

2003-03-25  Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
	on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
	code on non-VME BSPs without triggering linkage of the vmeUniverse
	driver.

2003-03-18  Till Straumann <strauman@slac.stanford.edu>

	PR 356/bsps
	This patch makes RTEMS/powerpc/shared EABI compliant.
	* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
	startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
	zero_bss() should clear not only bss but sbss and sbss2
	also (this is probably a bugfix, as sbss/sbss2 are
	probably used even if -msdata=eabi is not specified).
	* start/rtems_crti.S: New file which must
	be linked immediately after ecrti.o. rtems_crti.o contains
	a code snippet who lets __init() return immediately. Also,
	a new entry point '_init' to the C++ Ctors is generated
	for use by the RTEMS Thread_Handler.

2003-02-20	Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
	irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
	vectors/vectors.S, vectors/vectors_init.c:
	  - install the 'openpic.h' and 'pci.h' headers 
	  - avoid a name clash by renaming 'vsprintf' & friends
	    to 'k_vsprintf' etc.
	  - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
	  - irq.c:
	     * fix: remove implicit assumption that ISA interrupt vectors start
	            at 0
	     * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
	       IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
	  - fix: EABI compliance; isr/exception lowlevel handlers must not
	         clobber R2 or R13
	  - fix: openpic_init was called with the polarity/senses tables
	         swapped (fixed wrong order of arguments)
	  - cosmetics: use new _read_SPRXX() _write_SPRXX() macros

2003-02-20	Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
	* startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
	Let the powerpc/shared (+derived) BSPs use pagetable support
   	from libcpu.

2003-02-20	Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
	vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
	the vmeUniverse VME-PCI bridge driver.

2003-02-20	Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* console/console.c, console/uart.c, console/uart.h: implement
	IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
	callback.  The callback routine (if installed) is invoked from the
	UART ISR when a BREAK interrupt is detected.  This can be used
	e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
	use the serial line break condition) NOTE: The callback runs in
	ISR context.  

2003-01-20	Joel Sherrill <joel@OARcorp.com>

	* startup/linkcmds*: Add FreeBSD sysctl() sections.

2002-12-08	Greg Menke <gregory.menke@gsfc.nasa.gov>
  
	* bootloader/head.S: Added support for optional debug via PPCbug.
	Also turn off mmu/caches for the bootstrap phase, which seems to
	cause trouble with the 603.  The cpu init functions in the bsp
	get all that stuff going properly.

2002-12-19	Joel Sherrill <joel@OARcorp.com>

	* console/console.c: Removed __assert() which conflicts with newlib.

2002-11-17	Greg Menke <gregory.menke@gsfc.nasa.gov>

	* irq/irq_init.c, motorola/motorola.c: Support for MTX603e.

2002-10-31	Joel Sherrill <joel@OARcorp.com>

	* bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
	motorola/motorola.c, pci/detect_raven_bridge.c,
	vectors/vectors_init.c: Removed warnings.

2002-07-25	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* bootloader/em86real.S: Fix syntax error in comment near line 1185.

2001-05-14	Till Straumann <strauman@slac.stanford.edu>

	* bootloader/misc.c, console/Makefile.am, console/console.c,
	console/consoleIo.h, console/inch.c, console/polled_io.c,
	console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
	irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
	openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
	residual/Makefile.am, start/start.S, startup/bspstart.c,
	vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
	Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
	with the goal to make it more flexible and reusable by other
	BSPs. The main strategies were:
	    - eliminate hardcoded base addresses; devices use offsets
	      and a BSP defined base address.
	    - separate functionality into different files (e.g. reboot from
	      inch.c to reboot.c) which can be overridden by a 'derived' BSP.
	    - separate initialization code into separate files (e.g.  PCI
	      bridge detection/initialization was separated from the more
	      generic PCI access routines), also to make it easier for
	      'derived' BSPs to substitute their own initialization code.
	There are also a couple of enhancements and fixes:
	    - IRQ handling code now has a hook for attaching a VME bridge.
	    - OpenPIC is now explicitely initialized (polarities, senses).
	      Eliminated the implicit assumption on the presence of an ISA PIC.
	    - UART and console driver now supports more than 1 port. The current
	      maximum of 2 can easily be extended by enlarging a table (it
	      would even be easier if the ISR API was not broken by design).
	    - fixed polled_io.c so it correctly supports console on COM2
	    - fixed TLB invalidation code (start.S).
	    - exception handler prints a stack backtrace.
	    - added BSP_pciFindDevice() to scan the pci bus for a particular
	      vendor/device/instance.

2001-05-09	Joel Sherrill <joel@OARcorp.com>

	* startup/linkcmds: In support of gcc 3.1, added one of more
	of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
	.gnu.linkonce.sb2.*, and .gnu.linkonce.s.*.  Spacing corrections
	and direction of segments to memory regions may also have been
	addressed.  This was a sweep across all BSPs.
 
2002-04-18	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>.
	* bootloader/head.S: Ditto.
	* bootloader/misc.c: Ditto.
	* console/polled_io.c: Ditto.
	* irq/irq.c: Ditto.
	* irq/irq_asm.S: Ditto.
	* irq/irq_init.c: Include <rtems/bspIo.h>.
	* start/start.S: Reflect changes to <rtems/score/cpu.h>.
	* vectors/vectors.S: Ditto.

2002-04-16	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* startup/bspstart.c: Include <libcpu/cpuIdent.h>.

2001-04-08	Joel Sherrill <joel@OARcorp.com>

	* startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame 
 
2002-04-02	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* residual/residual.c: Include <string.h>.
	* vectors/vectors_init.c: Include <rtems/bspIo.h> for printk.
	* bootloader/mm.c: Ditto.
	* bootloader/pci.c: Ditto.
	* console/console.c: Ditto.
	* openpic/openpic.c: Ditto.

2002-03-27	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* console/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* irq/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* motorola/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* openpic/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* pci/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* residual/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* start/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.

2001-11-28	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* include/Makefile.am: Use _HEADER instead of H_FILES.
	* irq/Makefile.am: Ditto.
	* openpic/Makefile.am: Ditto.
	* include/bsp.h: Include <bspopts.h>.

2001-10-25	Joel Sherrill <joel@OARcorp.com>

	* startup/linkcmds: Added _init and _fini.

2001-10-12	Joel Sherrill <joel@OARcorp.com>

	* clock/p_clock.c, startup/bspstart.c: Fixed typo.

2001-09-27	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* console/Makefile.am: Use 'PREINSTALL_FILES ='.
	* residual/Makefile.am: Use 'PREINSTALL_FILES ='.
	* irq/Makefile.am: Use 'PREINSTALL_FILES ='.
	* motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
	* vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
	* pci/Makefile.am: Use 'PREINSTALL_FILES ='.
	* openpic/Makefile.am: Use 'PREINSTALL_FILES ='.

2001-05-14	Tom Armistead <tom_armistead@phx.mcd.mot.com>

 	* start/start.S: Increased BAT0 mapping of RAM from 64 meg to
	256 meg to allow operation on boards with larger RAM sizes.
	* vectors/vectors_init.c: Modified to call 'generic' powerpc
	vector function (mpc60x_vector_is_valid) instead of MPC750 
	specific function to allow operation on boards with CPUs other
	than the MPC750.

2001-03-30	Eric Valette <valette@crf.canon.fr>

	* Makefile.am, console/consoleIo.h, include/bsp.h:
	These modifications are part of the conversion of the
	mpc8xx CPU to the "new exception processing model."

2000-11-01	Joel Sherrill <joel@OARcorp.com>

	* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
	and libcsupport.h moved from libc to lib/include/rtems and
	now must be referenced as <rtems/XXX.h>.   Header file order
	was cleaned up while doing this.

2000-09-29	Charles-Antoine Gauthier <charles.gauthier@nrc.ca>

	* startup/linkcmds: Added lines so DWARF debug information
	would be available.  Otherwise gdb complains that the offsets
	for the debug info are incorrect and doesn't load the files.

2000-09-05	Joel Sherrill <joel@OARcorp.com>

	* start/start.S: Include proper files to compile.

2000-08-10	Joel Sherrill <joel@OARcorp.com>

	* ChangeLog: New file.