]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/hal/mips/vrc437x/v2_0/ChangeLog
Initial revision
[karo-tx-redboot.git] / packages / hal / mips / vrc437x / v2_0 / ChangeLog
1 2002-08-06  Gary Thomas  <gary@chez-thomas.org>
2 2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>       
3
4         * src/plf_serial.c: I/O channel data can't be constant - contains
5         timeout information which can be changed.
6
7 2001-10-31  Jonathan Larmour  <jlarmour@redhat.com>
8
9         * cdl/hal_mips_vr4300_vrc437x.cdl: Indicate support of variable baud
10         rates.
11
12 2001-10-30  Nick Garnett  <nickg@redhat.com>
13
14         * include/platform.inc:
15         Added local version of hal_intc_decode to make chaining work
16         correctly.
17         
18         * include/plf_intr.h:
19         Added local version of HAL_TRANSLATE_VECTOR() to make chaining
20         work correctly.
21
22 2001-10-24  Nick Garnett  <nickg@redhat.com>
23
24         * include/hal_diag.h: Fixed problem with support for virtual
25         vector diagnostics.
26
27         * include/platform.inc:
28         Modify the ROM and ROMRAM version of hal_mon_copy_trampoline to
29         copy the utlb trampoline to 0xa0000080 as well as 0xa0000000. This
30         is necessary on 64 bit machines to catch 64 bit TLB exceptions.
31
32 2001-09-17  Nick Garnett  <nickg@redhat.com>
33
34         * src/plf_misc.c:
35         Added ISR for dealing with spurious interrupts from the VRC437X.
36         Added PCI initialization routine.
37
38         * src/platform.S: Change PCI IO base address setup to a more
39         explicit value.
40
41         * include/plf_io.h: Adjust PCI IO and memory base addresses to
42         match the actual hardware setup.
43         Add explicit PCI initialization routine.
44
45         * include/platform.inc: Install bus error VSR in non-stub
46         configurations too.
47
48 2001-09-07  Nick Garnett  <nickg@redhat.com>
49
50         This package is newly created to contain code that is common to
51         all VRC437X platforms. Most of the contents is derived from the
52         original VRC4373 package. All ChangeLog entries other than this
53         one were made when the files were in that package.  This ChangeLog
54         entry describes any major changes that have occured to the files
55         during the move.
56
57         * include/platform.inc:
58         Converted INITIAL_SR to INITIAL_SR_PLF to work with architecture
59         and variant HALs.
60
61         * src/platform.S: Added VRC4375 setup.
62         
63         * src/plf_serial.c: File added to implement serial IO in a vector
64         compatible manner.
65                 
66         * cdl/hal_mips_vr4300_vrc437x.cdl: Generic configuration for all
67         targets added. Platform specific configuration moved out to
68         specific packages.
69         
70         * include/hal_diag.h:
71         * include/plf_cache.h:
72         * include/plf_intr.h:
73         * include/plf_io.h:
74         * include/plf_stub.h:
75         * include/plf_z8530.h:
76         * misc/stubrom.perm:
77         * src/hal_diag.c:
78         * src/plf_misc.c:
79         * src/plf_stub.c:
80         * src/pmon.S:
81         Files move with minor changes only from original VRC4373 package.
82         
83
84 2001-02-26  Jonathan Larmour  <jlarmour@redhat.com>
85
86         * include/platform.inc: Always do unsigned arithmetic on addresses
87         * src/platform.S: Ditto
88         Reported by Chris Morrow <cmorrow@YottaYotta.com>
89
90 2001-02-05  Jesper Skov  <jskov@redhat.com>
91
92         * include/plf_io.h: Ignore devices not on bus 0.
93
94 2001-01-31  Nick Garnett  <nickg@cygnus.co.uk>
95
96         * src/platform.S: Added *va* (see mips/arch/.../arch.inc) macros
97         when manipulating values that are potentially 64 bits.
98
99 2001-01-26  Jesper Skov  <jskov@redhat.com>
100
101         * include/plf_stub.h: Reset macros moved
102         * include/plf_intr.h: to this file.
103
104 2000-10-20  Jonathan Larmour  <jlarmour@redhat.com>
105
106         * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.mlt:
107         * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.mlt:
108         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt:
109         Add heap1 section
110
111         * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.h:
112         * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.h:
113         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.h:
114         * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.ldi:
115         * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.ldi:
116         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi:
117         Regenerated
118
119 2000-09-15  Nick Garnett  <nickg@cygnus.co.uk>
120
121         * include/platform.inc: Added some extra ifdefs and code to try
122         and get ROM startup working.
123
124         * cdl/hal_mips_vr4300_vrc4373.cdl:
125         Building GDB stubs was requiring ROM startup when it should have
126         ROMRAM startup.
127
128 2000-08-31  Jonathan Larmour  <jlarmour@redhat.com>
129
130         * src/platform.S (hal_pci_config_read): Prevent assembler reordering,
131         the address is important
132
133 2000-08-16  Nick Garnett  <nickg@cygnus.co.uk>
134
135         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt: 
136         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi: 
137         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.h: 
138         Fixed typo in last change. Forgot that the RAM base address
139         appears twice in these files. Also fixed .h file to match.
140         
141 2000-08-15  Nick Garnett  <nickg@cygnus.co.uk>
142
143         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt: 
144         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi:
145         RAM start on these configurations should be 0x80000000 not
146         0x80100000.
147
148 2000-05-22  Jesper Skov  <jskov@redhat.com>
149
150         * src/hal_diag.c: Removed CTRLC init hacks.
151
152         * src/plf_misc.c (hal_ctrlc_isr_init): Made public.
153
154 2000-05-17  Jesper Skov  <jskov@redhat.com>
155
156         * src/plf_misc.c: Let arch call ctrlc_init.
157
158 2000-02-18  Jonathan Larmour  <jlarmour@redhat.co.uk>
159
160         * cdl/hal_mips_vr4300_vrc4373.cdl (CYGBLD_BUILD_GDB_STUBS): When
161         building stubs, define every dependency required here rather than
162         in the template
163
164 2000-02-10  Jesper Skov  <jskov@redhat.com>
165
166         * include/plf_stub.h: 
167         Removed HAL_STUB_PLATFORM_STUBS_INIT.
168
169         * include/pkgconf/hal_mips_vr4300_vrc4373.h: Removed stubs as a
170         legal startup type.
171
172 2000-02-07  Jesper Skov  <jskov@redhat.com>
173
174         * cdl/hal_mips_vr4300_vrc4373.cdl: use cpu options when linking.
175
176 2000-02-03  Jesper Skov  <jskov@redhat.com>
177
178         * cdl/hal_mips_vr4300_vrc4373.cdl: Implements stubs.
179
180 2000-01-27  Jesper Skov  <jskov@redhat.com>
181
182         * cdl/hal_mips_vr4300_vrc4373.cdl: Moved part of stubs build rule to
183         common HAL. Changed description.
184
185 2000-01-24  Jesper Skov  <jskov@cygnus.co.uk>
186
187         * cdl/hal_mips_vr4300_vrc4373.cdl: Add stubs build rule.
188
189 2000-01-24  John Dallaway  <jld@cygnus.co.uk>
190
191         * cdl/*.cdl:
192
193         Remove obsolete option CYGTST_TESTING_IDENTIFIER.
194
195 2000-01-19  Hugo Tyson  <hmt@cygnus.co.uk>
196
197         * cdl/*.cdl: Add descriptions to a number of options &c which were
198         lacking same, also tidied up other typos as noticed en passant.
199
200 1999-12-21  Jonathan Larmour  <jlarmour@cygnus.co.uk>
201
202         * misc/stubrom.perm: Rename CYG_HAL_ROM_MONITOR ->
203         CYGSEM_HAL_ROM_MONITOR
204
205         * include/platform.inc: Rename CYG_HAL_USE_ROM_MONITOR_PMON ->
206         CYGSEM_HAL_USE_ROM_MONITOR_PMON throughout
207         Rename CYG_HAL_USE_ROM_MONITOR_GDB_STUBS ->
208         CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs throughout
209
210         * src/hal_diag.c: Likewise
211
212         * src/plf_misc.c: Likewise. Similarly CYG_HAL_USE_ROM_MONITOR_CYGMON
213         -> CYGSEM_HAL_USE_ROM_MONITOR_CygMon
214
215         * cdl/hal_mips_vr4300_vrc4373.cdl: Add new platform-specific
216         CYGSEM_HAL_USE_ROM_MONITOR and CYGSEM_HAL_ROM_MONITOR options to
217         control ROM monitor support
218
219 1999-12-20  Gary Thomas  <gthomas@cygnus.co.uk>
220
221         * cdl/hal_mips_vr4300_vrc4373.cdl: Add -Wl for linker options.
222
223 1999-11-25  Jonathan Larmour  <jlarmour@cygnus.co.uk>
224
225         * include/pkgconf/hal_mips_vr4300_vrc4373.h: 
226         Reparent under HAL MIPS variants as for other MIPS targets
227
228 1999-11-25  John Dallaway  <jld@cygnus.co.uk>
229
230         * cdl/hal_mips_vr4300_vrc4373.cdl:
231
232         Remove references to obsolete 'STUBS' memory layout.
233
234 1999-11-25  Gary Thomas  <gthomas@cygnus.co.uk>
235
236         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.h: New file.
237
238         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi: 
239         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt: Real file.
240
241         * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.h: 
242         * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.h: New file(s).
243
244 1999-11-02  Jesper Skov  <jskov@cygnus.co.uk>
245
246         * cdl/hal_mips_vr4300_vrc4373.cdl: Added.
247
248 1999-10-29  Nick Garnett  <nickg@cygnus.co.uk>
249
250         * include/plf_intr.h: 
251         * src/plf_misc.c: 
252         * src/hal_diag.c:
253         Changed CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT to
254         CYGDBG_HAL_MIPS_DEBUG_GDB_CTRLC_SUPPORT.
255
256 1999-10-05  Nick Garnett  <nickg@cygnus.co.uk>
257
258         * src/platform.S: Swapped around the IOPROF registers for
259         big-endian mode. These 16 bit registers end up in opposite halves
260         of the 32 bit word in big endian mode.
261
262         * include/plf_z8530.h: In big-endian mode the Z8530 registers are
263         at the other end of the word. This is easily fixed by redefining
264         the DUART_BASE only.
265
266 1999-09-14  Jonathan Larmour  <jlarmour@cygnus.co.uk>
267
268         * src/hal_diag.c (hal_diag_write_char): Ack VRC4373 interrupt to
269         prevent spurious interrupts
270         * include/pkgconf/hal_mips_vr4300_vrc4373.h: 
271         Add new CYGSEM_HAL_MIPS_VR4300_VRC4373_DIAG_ACKS_INT_0 option to
272         control the above behaviour
273
274 1999-09-08  Jonathan Larmour  <jlarmour@cygnus.co.uk>
275
276         * include/plf_intr.h (HAL_INTERRUPT_UNMASK): Rephrase to silence warnings
277         about left-shifting negative numbers. Equivalent when optimized.
278         (HAL_INTERRUPT_ACKNOWLEDGE): Likewise
279         (HAL_INTERRUPT_MASK): Likewise
280
281 1999-09-09  Nick Garnett  <nickg@cygnus.co.uk>
282
283         * include/platform.inc: Changed end address for copy from
284         __bss_end to __ram_data_end.
285
286 1999-09-08  Jonathan Larmour  <jlarmour@cygnus.co.uk>
287
288         * src/platform.S (NTLBENTRIES): Fix typo: 0x32 -> 32
289
290         * include/platform.inc (hal_mon_copy_trampoline): Use branch delay slot
291         when copying - both for ROMRAM startup and CYG_HAL_USE_ROM_MONITOR_PMON
292         (hal_mon_init_vsr_table): Don't init debug vector - not used on
293         vr4300 CPUs
294
295 1999-09-02  Nick Garnett  <nickg@cygnus.co.uk>
296
297         * include/platform.inc: Added code to monitor setup to copy
298         other_vector in to correct RAM location.
299
300 1999-08-19  Nick Garnett  <nickg@cygnus.co.uk>
301
302         * include/plf_io.h: Added this file to contain PCI access support.
303
304         * include/platform.inc:
305         * src/platform.S: 
306         Added function to read data from the PCI data register together
307         with a data load/store VSR which catches any exceptions and fixes
308         them up so that the program can continue.
309
310 1999-07-15  Jonathan Larmour  <jlarmour@cygnus.co.uk>
311
312         * src/hal_diag.c: Add prototypes for cyg_hal_is_break and
313         cyg_hal_user_break to silence warning
314
315 1999-06-21  Nick Garnett  <nickg@cygnus.co.uk>
316
317         * src/plf_misc.c (hal_ctrlc_isr): Changed all return codes to 2 so
318         that the interrupt is reported as handled.
319
320 1999-06-17  Nick Garnett  <nickg@cygnus.co.uk>
321
322         * include/platform.inc: Added code to initialize VSR slots for
323         debug, utlb and nmi vectors.
324
325         * misc/stubrom.perm: Added disable of
326         CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT when building ROM monitor.
327
328 1999-06-10  Jesper Skov  <jskov@cygnus.co.uk>
329
330         * src/plf_stub.c (hal_plf_stub_init): Fix config problem.
331
332 1999-06-10  Nick Garnett  <nickg@cygnus.co.uk>
333
334         * src/plf_stub.c: Added interrupt acknowledge calls to character
335         IO routines to prevent spurious interrupts.
336
337 1999-06-08  Nick Garnett  <nickg@cygnus.co.uk>
338
339         * src/hal_diag.c: Ensure that reads and writes do not provoke
340         spurious interrupts.
341
342         * include/platform.inc: Tidied up debug version of
343         hal_diag_intr_start a little.
344
345 1999-05-28  Nick Garnett  <nickg@cygnus.co.uk>
346
347         * misc/stubrom.perm: Added this file to contain a permutation for
348         building a stub ROM for the VRC4373 board.
349
350         * include/pkgconf/hal_mips_vr4300_vrc4373.h: Removed redfinitions
351         triggered by CYG_HAL_STARTUP_STUBS.
352
353         * include/plf_stub.h: Added HAL_STUB_PLATFORM_INIT and voided
354         HAL_STUB_PLATFORM_INIT_BREAK_IRQ and HAL_STUB_PLATFORM_STUBS_INIT.
355
356         * src/plf_stub.c: 
357         Moved all setup into hal_plf_stub_init(). Deleted
358         hal_plf_init_break_irq().
359         
360 1999-05-27  Nick Garnett  <nickg@cygnus.co.uk>
361
362         * src/plf_stub.c: 
363         Moved Z8530 definitions out to plf_z8530.h.
364         Added setup of install_async_breakpoint() function is vector
365         table.
366         
367         * src/platform.S: Some minor tidies to the code.
368
369         * src/hal_diag.c:
370         Moved Z8530 definitions out to plf_z8530.h.
371         Added modifications for Control-C support - mostly removing some
372         defunct code.
373
374         * include/plf_z8530.h
375         Added this file to contain definitions and access macros to the
376         Z8530 DUART for use in the HAL.
377         
378         * include/pkgconf/hal_mips_vr4300_vrc4373.h: Removed some
379         unnecessary defines.
380
381         * include/plf_intr.h:
382         * src/plf_misc.c: 
383         Added Control-C support.
384
385         * include/platform.inc: Some minor changes to diagnostic macros.
386
387 1999-05-21  Nick Garnett  <nickg@cygnus.co.uk>
388
389         * src/plf_stub.c (hal_plf_init_serial): Tidied away some unused
390         code.
391
392         * src/platform.S:
393         Made use of ROMRAM startup option where relevant.
394         Modified code to be position independent since under ROMRAM
395         startup it is linked to run in RAM but must actually run in ROM
396         prior to the copy.
397         Added some delay loops to try and get the hardware to settle on
398         startup. Without these the machine sometimes wedges after
399         power-on.
400
401         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi: 
402         * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt: 
403         * include/pkgconf/mlt_mips_vr4300_vrc4373_stubs.ldi: 
404         * include/pkgconf/mlt_mips_vr4300_vrc4373_stubs.mlt:
405         Added these files to support the new startup types.
406         Note: at present the .mlt files do not match the .ldi files.
407
408         * include/pkgconf/hal_mips_vr4300_vrc4373.h:
409         Added ROMRAM and STUBS startup options to CDL. Moved default ports
410         for DIAG and GDB to 0 at 38400 baud.
411         Added an ifdef to modify the configuration for STUBS startup.
412
413         * include/plf_stub.h: Removed spurious include.
414
415         * include/platform.inc:
416         Added version of INITIAL_SR for use with GDB stubs.
417         Added implementation of "lar" macro and converted the relevant
418         instances of "la" to use it.
419         Made use of ROMRAM startup option where relevant.
420         Implemented copy of ROM image to RAM and transfer of control to
421         it.
422         Tidied up trampoline copy and VSR table init in monitor init
423         macros.
424         Added code to generate messages to the GrammerEngine PromIce AI
425         interface during initialization.
426
427 1999-05-20  Gary Thomas  <gthomas@cygnus.co.uk>
428
429         * include/pkgconf/hal_mips_vr4300_vrc4373.h: Move RTC setup here.
430
431 1999-05-13  Nick Garnett  <nickg@cygnus.co.uk>
432
433         Imported whole directory tree into main trunk of repository.
434         
435 1999-05-11  Nick Garnett  <nickg@cygnus.co.uk>
436
437         [VR4300 branch] 
438         * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.ldi:
439         Moved RAM and ROM back to their correct addresses.
440
441         * include/pkgconf/hal_vr4300_vrc4373.h: 
442         * include/pkgconf/hal_mips_vr4300_vrc4373.h:
443         Renamed hal_vr4300_vrc4373.h to match file name synthesized by
444         pkgconf.tcl.
445
446         * src/hal_diag.c:
447         * src/plf_stub.c: 
448         Removed explicit include of vrc4372 pkgconf file.
449
450 1999-05-06  Nick Garnett  <nickg@cygnus.co.uk>
451
452         [VR4300 branch]
453         * include/pkgconf/hal_vr4300_vrc4373.h: Switched initial DIAG and
454         GDB baud rates to 38400.
455
456         * include/plf_stub.h:
457         * src/plf_stub.c:
458         Added hal_plf_stub_init() to initialize the virtual vector table
459         for thread-aware debugging.
460
461 1999-05-05  Nick Garnett  <nickg@cygnus.co.uk>
462
463         [VR4300 branch] 
464         * include/platform.inc: Added code to plant interrupt VSR in table
465         when using PMON.
466
467 1999-04-29  Nick Garnett  <nickg@cygnus.co.uk>
468
469         [VR4300 branch] 
470         * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.ldi:
471         * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.mlt: 
472         Load address moved to 0x80100000, which is the cacheable area (kseg0).
473
474         * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.ldi: For testing
475         purposes ROM loaded code is put at 0x80680000 and its working RAM
476         at 0x80600800. These will be moved back to the real addresses when
477         we can build real ROMs.
478         The corresponding .mlt file has NOT been changed.
479
480         * src/plf_stub.c (hal_plf_init_serial): Re-enabled initialization
481         of serial port.
482         Temporarily made calls to PMON close function unconditional.
483
484         * src/plf_misc.c (hal_platform_init): Added call to
485         patch_dbg_syscalls().
486
487         * src/platform.S: Lots of code, tables and definitions added to
488         initialize the MMU and memory/bus controllers.
489
490         * src/hal_diag.c: Added support for GDB protocol messages.
491
492         * include/platform.inc: Added hal_mmu_init and hal_memc_init
493         macros. Added code to initialize the VSR table in various
494         configurations. 
495
496 1999-04-26  Gary Thomas  <gthomas@cygnus.co.uk>
497
498         [VR4300 branch] 
499         * include/pkgconf/hal_vr4300_vrc4373.h: Default diagnostics on port B.
500
501         * src/hal_diag.c (hal_diag_init): Port initialization was incorrect.
502
503 1999-04-23  Nick Garnett  <nickg@cygnus.co.uk>
504
505         [VR4300 branch]
506         * include/platform.inc: Added some extra vsr table redirects for
507         most other exceptions while we are running under PMON.
508
509 1999-04-22  Nick Garnett  <nickg@cygnus.co.uk>
510
511         [VR4300 branch]         
512         * include/plf_stub.h: 
513         * src/plf_stub.c:
514         * src/PKGconf.mak (COMPILE): 
515         Files added to start work on GDB stub support.
516
517 1999-04-22  Gary Thomas  <gthomas@cygnus.co.uk>
518
519         [VR4300 branch] 
520         * src/hal_diag.c: 
521         * include/pkgconf/hal_vr4300_vrc4373.h: Add diag/gdb serial
522         port configury.
523
524 1999-04-22  Nick Garnett  <nickg@cygnus.co.uk>
525
526         [VR4300 branch] 
527         * include/platform.inc: Modified hal_intc_init to always enable
528         IPL0..2 bits in CP0 status register.
529
530 1999-04-21  Nick Garnett  <nickg@cygnus.co.uk>
531
532         [VR4300 branch]
533         * src/plf_misc.c: Added this file to contain hal_platform_init().
534
535         * src/pmon.S: Renamed pmon entry functions to avoid clashes with
536         the C library. Removed unused code.
537
538         * src/platform.S: Added this file. It contains an ISR springboard
539         routine to decode interrupts via the vrc4372, a breakpoint
540         springboard to allow breakpoints to continue being handled by
541         PMON, and board specific versions of the ISR tables.
542         [later] Fixed a bug in the ISR springboard, added a few comments
543         too.
544         
545         * src/hal_diag.c: Implemented direct-to-hardware diagnostic
546         output.
547
548         * src/PKGconf.mak (COMPILE): Added platform.S.
549         Added plf_misc.c.
550
551         * include/plf_intr.h: Added extensive support for vr4372 interrupt
552         controller.
553
554         * include/platform.inc: Added an initial status register value to
555         avoid upsetting PMON. Added plant of hal_breakpoint_springboard in
556         VSR table. Added some diagnostic code to wiggle a led.
557         Added an implementation of hal_intc_init. Changed initial status
558         register value. Moved VRC4372 register definitions here.
559