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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [sparclite/] [sleb/] [current/] [ChangeLog] - Blame information for rev 856

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

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

powered by: WebSVN 2.1.0

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