OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [hal/] [sparclite/] [sleb/] [v2_0/] [ChangeLog] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
2002-04-29  Jonathan Larmour  
2
 
3
        * src/hal_cygm.S:
4
        Don't use .file as it can confuse debugging since the .file
5
        doesn't contain the path and therefore the debugger will never
6
        know where it lives! This conflicts with using -Wa,--gstabs.
7
 
8
2000-10-20  Jonathan Larmour  
9
 
10
        * tests/slebtime.cxx: Ensure default priority constructors
11
        are called.
12
 
13
2000-10-20  Jonathan Larmour  
14
 
15
        * include/pkgconf/mlt_sparclite_sleb_ram.mlt:
16
        * include/pkgconf/mlt_sparclite_sleb_rom.mlt:
17
        Add heap1 section
18
 
19
        * include/pkgconf/mlt_sparclite_sleb_ram.h:
20
        * include/pkgconf/mlt_sparclite_sleb_rom.h:
21
        * include/pkgconf/mlt_sparclite_sleb_ram.ldi:
22
        * include/pkgconf/mlt_sparclite_sleb_rom.ldi:
23
        Regenerated
24
 
25
2000-02-16  Jesper Skov  
26
 
27
        * cdl/hal_sparclite_sleb.cdl: removed fix me
28
 
29
2000-02-07  Jesper Skov  
30
 
31
        * cdl/hal_sparclite_sleb.cdl: use cpu options when linking.
32
 
33
2000-02-04  Hugo Tyson  
34
 
35
        * cdl/hal_sparclite_sleb.cdl (define_proc): Add output of a
36
        #define for CYGHWR_HAL_SPARCLITE_HAS_ASR17 - because a Fujitsu
37
        SPARClite does.
38
 
39
2000-01-24  John Dallaway  
40
 
41
        * cdl/*.cdl:
42
 
43
        Remove obsolete option CYGTST_TESTING_IDENTIFIER.
44
 
45
2000-01-19  Hugo Tyson  
46
 
47
        * cdl/*.cdl: Add descriptions to a number of options &c which were
48
        lacking same, also tidied up other typos as noticed en passant.
49
 
50
1999-12-20  Gary Thomas  
51
 
52
        * cdl/hal_sparclite_sleb.cdl: Add -Wl for linker options.
53
 
54
1999-11-25  Gary Thomas  
55
 
56
        * include/pkgconf/mlt_sparclite_sleb_rom.h:
57
        * include/pkgconf/mlt_sparclite_sleb_ram.h: New file(s).
58
 
59
1999-11-03  John Dallaway  
60
 
61
        * cdl/hal_sparclite_sleb.cdl: Define build options.
62
 
63
1999-11-01  Jesper Skov  
64
 
65
        * cdl/hal_sparclite_sleb.cdl: Added.
66
         Use define_proc for const header defs.
67
 
68
1999-10-14  John Dallaway  
69
 
70
        * include/pkgconf/mlt_sparclite_sleb_ram.mlt,
71
          include/pkgconf/mlt_sparclite_sleb_rom.mlt:
72
 
73
        Fix .mlt files to match the latest .ldi files. ROM startup
74
        requires latest config tool which contains fix for PR 19799.
75
 
76
1999-10-13  Hugo Tyson  
77
 
78
        * include/pkgconf/hal_sparclite_sleb.h: Add CDL and
79
        [un]definitions for handling optional Multiple Vector Trapping and
80
        optional copy of vectors into RAM - when it is optional.  Also
81
        define CYGHWR_HAL_SPARCLITE_HAS_ASR17 so that the arch HAL
82
        self-configures correctly.
83
 
84
        * include/halboot.si: Copy trampoline code into section
85
        .ram_vectors at __ram_vectors_start if so configured.
86
 
87
        * include/pkgconf/mlt_sparclite_sleb_ram.ldi:
88
        * include/pkgconf/mlt_sparclite_sleb_ram.mlt:
89
        * include/pkgconf/mlt_sparclite_sleb_rom.ldi:
90
        * include/pkgconf/mlt_sparclite_sleb_rom.mlt:
91
        Link in new variable size, sometimes 0 size, ram_vectors section;
92
        this does away with the need to fib about the size of RAM, it was
93
        previously defined to start at 0x4000200 to reserve a bit for
94
        trampoline code.
95
        (comment from the example .ldi files...)
96
        The ram_vectors section is to allow some free space to copy
97
        vectors into from the ROM.  This is required to be variable size
98
        to accomodate SVT or MVT; 80 bytes vs 4kB.  Copying is not
99
        necessary with MVT, but it is optional because it may offer
100
        performance gains.  Copying is required for SVT because the
101
        (aligned) start of ROM contains initialization instructions.  RAM
102
        copy is used rather than leave a big gap in the ROM to get an
103
        aligned address for the trampoline code.  For RAM startup,
104
        ram_vectors will usually be of size zero, unless MVT and copying
105
        are enabled for memory estimation reasons.
106
 
107
1999-06-14  Hugo Tyson  
108
 
109
        * tests/slebtime.cxx (entry2): Fix a dumb fencepost prob in some
110
        string poking code for output without printf...
111
 
112
1999-04-23  Jesper Skov  
113
 
114
        * src/hal_diag.c (hal_bsp_console_write): Added a workaround for PR
115
        19926.
116
 
117
1999-04-09  Hugo Tyson  
118
 
119
        * include/hal_cache.h (HAL_[DI]CACHE_IS_ENABLED):
120
        Implement these macros.
121
 
122
1999-04-09  Hugo Tyson  
123
 
124
        * include/halboot.si: Use 10 wait states for access to the 86940
125
        on CS1; it seems to make the Reliability Difference(tm).
126
 
127
1999-04-08  Hugo Tyson  
128
 
129
        * tests/slebtime.cxx: Add CYG_INIT_PRIORITY( APPLICATION ) to the
130
        two static thread objects so that the test works even when libc
131
        steals away the default constructors.  Unfortunately this also
132
        means switching to an assignment constructor instead of a call.
133
 
134
1999-04-08  John Dallaway  
135
 
136
        * include/pkgconf/*.ldi: Revised SECTION_* macro arguments to
137
        avoid padded output sections (PR 19787)
138
 
139
1999-04-07  Hugo Tyson  
140
 
141
        * include/hal_hwio.h: New file: define accessors for 86940 via
142
        alternate address space 4, register names and all that... just a
143
        paste out of previous hal_diag.h - it was the wrong place, but
144
        that's how it evolved.
145
 
146
        * include/hal_diag.h: Include hal_hwio.h to get accessors for
147
        86940 et al.  Do not define them here, it was the wrong place.
148
 
149
        * include/hal_clock.h:
150
        * include/hal_xpic.h:
151
        Include hal_hwio.h instead of hal_diag.h
152
 
153
1999-04-07  Hugo Tyson  
154
 
155
        * tests/slebintr.c (checkallbut): This is a more informative
156
        version of the test when it fails: this is still under
157
        investigation somewhat, and running the more verbose version
158
        nightly will be useful.
159
 
160
1999-03-30  Hugo Tyson  
161
 
162
        * tests/slebintr.c (start): After some thought, the timing code in
163
        here could cause the test to take arbitrarily long; so some safety
164
        features added.  Normally the test loop is very fast, but with
165
        cache effects and instrumentation and -O0 it could take ages; this
166
        could explain the occasional timeouts we have seen for this test.
167
 
168
1999-03-26  Hugo Tyson  
169
 
170
        * include/hal_cache.h:
171
        Implement the cache control macros: at least
172
        for x in ( D I )
173
            HAL_xCACHE_ENABLE/DISABLE
174
            HAL_xCACHE_INVALIDATE_ALL, HAL_xCACHE_SYNC
175
        in the first instance.  kcache1 reports sensible numbers too!
176
 
177
1999-03-26  Hugo Tyson  
178
 
179
        * tests/slebintr.c (HAL_CLOCK_READ): If there is no kernel, the
180
        clock is not initialized, so looking at it is useless for a clue.
181
        So provide a dummy so we perform a "few" loops when there's no
182
        kernel. If there is no kernel, cyg_user_start() is never called,
183
        main gets in and steals the CPU.  So we hang.  So if there is no
184
        kernel, define cyg_start() instead to wrest control.  Also very
185
        much weaken the looping count check; kernel instrumentation, for
186
        example, is more than enough to slow the world down too much.
187
 
188
        * tests/slebstak.c (cyg_[user_]start):
189
        If there is no kernel, cyg_user_start() is never called, main gets
190
        in and steals the CPU.  So we hang.  So if there is no kernel,
191
        define cyg_start() instead to wrest control.
192
 
193
        * tests/slebtime.cxx:
194
        Make this build when no kernel present; include of testcase &c
195
        was the wrong side of the ifdef.  Doh!
196
 
197
1999-03-25  Hugo Tyson  
198
 
199
        * src/hal_priv.c (hal_clock_initialize): Oh dear, the clock was
200
        only running half the speed it should have; this will make the
201
        tm_basic figures look bad, maybe.  It _appeared_ right because of
202
        spurious interrupts, making two ISRs per tick, which covered the
203
        error beautifully.  So, the initialization is now corrected, now
204
        that the interrupt management is better dealt with.
205
 
206
        * include/hal_xpic.h (HAL_INTERRUPT_ACKNOWLEDGE): Loop until
207
        either the interrupt has stopped being asserted by the
208
        prioritization latch (CLIRL) or the source has actually re-flagged
209
        the interrupt, so that repeated, fast interrupts will re-interrupt
210
        rather than causing a loop here.  This is to prevent spurious
211
        double interrupts caused by HAL_INTERRUPT_ACKNOWLEDGE() not taking
212
        effect before the CPU re-enabled interrupts; this had been
213
        covering the clock bug as well as confusing the serial system.
214
 
215
        Also placed a HAL_INTERRUPT_ACKNOWLEDGE() in
216
        HAL_INTERRUPT_CONFIGURE() since the doc implies it is necessary
217
        when changing that stuff; a spurious interrupt may be latched.
218
 
219
1999-03-24  Hugo Tyson  
220
 
221
        * include/hal_xpic.h (HAL_INTERRUPT_CONFIGURE):
222
        Implement this functionality, since Gary wanted to experiment with
223
        it.  Also add HAL_INTERRUPT_QUERY_INFO (platform specific) to read
224
        back the settings of a particular interrupt source.
225
 
226
        * tests/slebintr.c: NEW FILE: test case for the above new macros.
227
        * tests/slebstak.c: NEW FILE: tests the register save/restore code
228
                by carrying out lots of factorial calculations.
229
        * tests/slebtime.c: NEW FILE: tests HAL clocks for sanity; prints
230
                useful diagnostics.  Most useful when a human observes, if
231
                it goes wrong this test is more likely to report a timeout
232
                than a failure.
233
 
234
        * tests/sleb.c: FILE DELETED - moved to slebstak.c
235
 
236
        * tests/PKGconf.mak (TESTS): Reflect above changes.
237
 
238
1999-03-23  John Dallaway  
239
 
240
        * include/pkgconf/hal_sparclite_sleb.h: Modify display string
241
        for consistency.
242
 
243
1999-03-23  Hugo Tyson  
244
 
245
        * src/hal_diag.c (hal_diag_write_char): Precisely undo the
246
        previous change: we disable interrupts to prevent the clock
247
        advancing during the time taken to output to GDB.
248
 
249
1999-03-18  Hugo Tyson  
250
 
251
        * src/hal_diag.c (hal_diag_write_char_serial): Do not disable
252
        interrupts while calling the CygMon write-line routine; CygMon is
253
        better now and can cope with interrupts there.
254
 
255
1999-03-17  John Dallaway  
256
 
257
        * include/pkgconf/mlt_sparclite_sleb_rom.mlt: Regenerate using
258
        the eCos configuration tool to resolve errors.
259
 
260
1999-03-17  Hugo Tyson  
261
 
262
        * include/pkgconf/mlt_sparclite_sleb_rom.mlt:
263
        * include/pkgconf/mlt_sparclite_sleb_rom.ldi:
264
        Move the start of RAM up 512 bytes; it is now at 0x04000200.  This
265
        is to leave space for the trampoline code ie. RAM trap vector
266
        handler to live in RAM as is required.  NB the vector must be on a
267
        4k boundary; its location is determined by rounding down the start
268
        of "normal" RAM ie. the symbol ".data".  So if the start of RAM
269
        isn't on a 4k boundary, or the trampoline code gets > 4k, there
270
        will be trouble.
271
 
272
        * include/halboot.si: Copy trampoline code into RAM base during
273
        startup, and deal with associated caching issues.
274
 
275
        * src/hal_priv.c (LED): Add this tidier macro and some extra LED
276
        debug during start for help with ROM start.
277
 
278
        * include/pkgconf/hal_sparclite_sleb.h
279
        (CYGHWR_HAL_SPARCLITE_SLEB_STARTUP): Add this define and its
280
        associated notCDL for the GUI Config tool.
281
 
282
1999-03-16  Hugo Tyson  
283
 
284
        * include/pkgconf/mlt_sparclite_sleb_rom.ldi:
285
        * include/pkgconf/mlt_sparclite_sleb_rom.mlt:
286
        New files, linker script fragment and MLT doc for ROM startup.
287
 
288
        * include/halboot.si: Only copy real instructions into the vector
289
        if RAM startup.  Delete lots of obsolete debugging "printout".
290
        Size RAM dynamically.  Set up chip selects, wait states, refresh
291
        timing, system services, caches, buffers, burst mode access, ...
292
        In other words complete hardware initialization.
293
 
294
        * include/hal_cpu.h: new file, taken directly from CygMon sources,
295
        which defines various MB8683x internal registers which are used in
296
        the initialization in halboot.si.
297
 
298
        * include/hal_diag.h (HAL_SPARC_86940_PRS_ODIV2): Add lots more
299
        definition of the MB86940 companion I/O chip, editted from CygMon
300
        sources.  This should move into a proper IO file later.
301
        Also, in the non-CYG_KERNEL_DIAG_GDB case where we write output to
302
        the serial line in clear, do perform initialization.
303
 
304
        * src/hal_diag.c (hal_diag_init): Properly initialize the serial
305
        line when not using GDB encoding (if GDB coding is in use, then we
306
        have CygMon).
307
 
308
        * include/hal_clock.h (HAL_CLOCK_INITIALIZE): Initialize the clock
309
        more cleanly and correctly, as CygMon does: so ticks are actually
310
        centiSeconds, pretty much.  Actual init routine is in hal_priv.c.
311
 
312
        * src/hal_priv.c (hal_clock_initialize): Properly initialize the
313
        system clock to centiSeconds.
314
 
315
1999-03-11  Hugo Tyson  
316
 
317
        * src/hal_priv.c (hal_board_prestart):
318
        Link in the multi-thread aware debugging routine if
319
        CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT.
320
 
321
1999-03-09  Hugo Tyson  
322
 
323
        * src/hal_priv.c (hal_board_prestart): If playing nice with
324
        CygMon, unmask and pass through interrupt 14 (Ethernet
325
        controller).  Install and unmask interrupt 15 (NMI button)
326
        likewise.
327
 
328
        * src/hal_cygm.S (hal_nmi_handler): Add new handler for the NMI
329
        interrupt (like a PIN number) INT15, the button near the serial
330
        connector on the board.  The handler must wait for the interrupt
331
        to go away, then acknowledge it to prevent CygMon getting in a
332
        loop.
333
 
334
        * include/halboot.si: Set IRC channel 14 (Ethernet controller)
335
        interrupt to active low so that we can pass such events on to
336
        CygMon.  Tidy up comments and ifdefs.
337
 
338
        * include/hal_cygm.h (BSP_NOTVEC_BSP_COMM_PROCS): Define the
339
        CygMon vector table entry that isn't a vector, but is a pointer to
340
        struct tree with IO functions therein.
341
 
342
        * src/hal_diag.c (hal_diag_write_char et al): Add variants of
343
        these routines to use IO functions provided by CygMon if thus
344
        configured.  Also tidied up direct GDB-ized serial output, which
345
        is selected by CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT within
346
        CYG_KERNEL_DIAG_GDB now.
347
 
348
        * include/pkgconf/hal_sparclite_sleb.h: Add definition for
349
        CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT, disabled by default.  More
350
        comments too.
351
 
352
1999-03-04  John Dallaway  
353
 
354
        * include/pkgconf/*.ldi: give all LDI files unique names so
355
        that they can co-exist in an eCos build tree (PR 19184)
356
        * include/pkgconf/*.mlt: give all MLT files unique names so
357
        that they can co-exist in an eCos build tree (PR 19184)
358
 
359
1999-02-25  Hugo Tyson  
360
 
361
        These log entries from 1999-02-22 to 1999-02-24 were executed in
362
        a branch; this change is a merge of that branch into the trunk.
363
 
364
1999-02-25  Hugo Tyson  
365
 
366
        * src/hal_diag.c (hal_diag_write_char):
367
        Wait for the GDB protocol ack character '+' after sending a line
368
        of output as a $O packet; this prevents mismatches of the GDB
369
        protocol when a breakpoint is hit temporally near such output.
370
        This has the side effect that we must deal with seeing a ^C
371
        character instead of the '+', whence we must bounce into CygMon's
372
        BREAK vector using a trap.  Hence the next change...
373
 
374
        * src/hal_cygm.S (hal_user_trap_to_cygmon_vsr):
375
        Add additional "bounce to cygmon" capability such that user trap
376
        2, "ta 2" trap type 130, does the same as "ta 1" ie. a breakpoint,
377
        but first it advances the PC and NPC so that you can continue at
378
        the instruction after.  This is so that a voluntary inline
379
        breakpoint can be implemented as "ta 2; nop; nop; nop" (nops just
380
        for paranoia).
381
 
382
1999-02-24  Jonathan Larmour  
383
 
384
        * include/hal_diag.h:
385
        Make hal_diag_init() and hal_diag_write_char() prototypes be extern "C"
386
        for C++ files so they don't get name mangled
387
 
388
1999-02-24  John Dallaway  
389
 
390
        * include/pkgconf/hal_sparclite_sleb.h: Add MB8683x board
391
        designation to description field.
392
 
393
1999-02-24  Hugo Tyson  
394
 
395
        * include/pkgconf/hal_sparclite_sleb.h:
396
        Non-CDLoptions, but #defines nontheless,
397
        CYG_HAL_USE_ROM_MONITOR_CYGMON and CYG_KERNEL_DIAG_GDB are defined
398
        here to control whether we cooperate with CygMon, and if so, do we
399
        encapsulate out output in GDB $O packets, respectively.
400
 
401
        * include/hal_cygm.h:
402
        New file to describe the CygMon vectors we call to cooperate with
403
        CygMon and GDB.  When cooperating, we install VSRs in some slots
404
        that demux into CygMon's vector table, and in most slots we just
405
        patch in the appropriate value from CygMon's vector table so that
406
        CygMon is called directly.
407
 
408
        * include/hal_xpic.h:
409
        Document the interrupt sources on the SLEB.
410
 
411
        * include/hal_diag.h (HAL_DIAG_WRITE_CHAR):
412
        Call routines in hal_diag.c to perform encapsulation, or not,
413
        depending on CYG_KERNEL_DIAG_GDB.
414
 
415
        * src/hal_cygm.S: New file, demuxer trampolines for user trap and
416
        no-fp/no-cp VSRs to bounce into CygMon.
417
 
418
        * src/hal_diag.c: New file, routines to perform encapsulation of
419
        output in GDB $O packets if required by CYG_KERNEL_DIAG.
420
 
421
        * src/hal_priv.c (hal_board_prestart):
422
        If CYG_HAL_USE_ROM_MONITOR_CYGMON, install either CygMon's vectors
423
        or demuxer trampolines into our VSRs during startup.
424
 
425
        * src/PKGconf.mak (COMPILE): Add new files hal_cygm.S hal_diag.c
426
 
427
1999-02-23  John Dallaway  
428
 
429
        * include/pkgconf/hal_sparclite_sleb.h: Revise capitalization
430
        of CDL strings.
431
 
432
1999-02-23  John Dallaway  
433
 
434
        * include/pkgconf/hal_sparclite_sleb.h: Specify correct platform
435
        for cdl_package CYGPKG_HAL_SPARCLITE_SLEB.
436
 
437
1999-02-22  Hugo Tyson  
438
 
439
        * include/pkgconf/ram.mlt:
440
        * include/pkgconf/ram.ldi:
441
        All a lot more constraints on alignment: sections must be
442
        word-aligned at least for the network loader to accept them.
443
        I hope I have correctly modified the .mlt file; it's not exactly
444
        self documenting.
445
 
446
1999-02-22  Hugo Tyson  
447
 
448
        * include/hal_cache.h: New file
449
        * include/hal_clock.h: New file
450
        * include/hal_diag.h: New file
451
        * include/hal_xpic.h: New file
452
        * include/halboot.si: New file
453
        * include/pkgconf/hal_sparclite_sleb.h: New file
454
        * include/pkgconf/ram.ldi: New file
455
        * include/pkgconf/ram.mlt: New file
456
        * src/PKGconf.mak: New file
457
        * src/hal_priv.c: New file
458
        * tests/PKGconf.mak: New file
459
        * tests/sleb.c: New file
460
 
461
        Initial checkin of the hardware platform port for SPARClite:
462
        platform is sleb: SPARClite Evaluation Board.
463
 
464
        The structure here mirrors that in the sim directory, and in fact
465
        was cloned from it after the change of 1999-02-08 for MLT
466
        compliance.
467
 
468
//===========================================================================
469
//####ECOSGPLCOPYRIGHTBEGIN####
470
// -------------------------------------------
471
// This file is part of eCos, the Embedded Configurable Operating System.
472
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
473
//
474
// eCos is free software; you can redistribute it and/or modify it under
475
// the terms of the GNU General Public License as published by the Free
476
// Software Foundation; either version 2 or (at your option) any later version.
477
//
478
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
479
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
480
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
481
// for more details.
482
//
483
// You should have received a copy of the GNU General Public License along
484
// with eCos; if not, write to the Free Software Foundation, Inc.,
485
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
486
//
487
// As a special exception, if other files instantiate templates or use macros
488
// or inline functions from this file, or you compile this file and link it
489
// with other works to produce a work based on this file, this file does not
490
// by itself cause the resulting work to be covered by the GNU General Public
491
// License. However the source code for this file must still be made available
492
// in accordance with section (3) of the GNU General Public License.
493
//
494
// This exception does not invalidate any other reasons why a work based on
495
// this file might be covered by the GNU General Public License.
496
//
497
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
498
// at http://sources.redhat.com/ecos/ecos-license/
499
// -------------------------------------------
500
//####ECOSGPLCOPYRIGHTEND####
501
//===========================================================================
502
 
503
//EOF ChangeLog

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.