1 |
27 |
unneback |
2003-02-13 Patrick Doyle
|
2 |
|
|
* src/excalibur_misc.c: Replaced explicit prototype of memset with
|
3 |
|
|
#include .
|
4 |
|
|
|
5 |
|
|
2002-08-12 Mark Salter
|
6 |
|
|
|
7 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Remove CYGSEM_REDBOOT_ARM_LINUX_BOOT
|
8 |
|
|
requirement.
|
9 |
|
|
|
10 |
|
|
2002-05-14 Jesper Skov
|
11 |
|
|
|
12 |
|
|
* src/excalibur_misc.c: Fixed warning.
|
13 |
|
|
|
14 |
|
|
2002-05-07 Gary Thomas
|
15 |
|
|
|
16 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl:
|
17 |
|
|
Standardize CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_DEFAULT usage.
|
18 |
|
|
|
19 |
|
|
2002-04-18 Jonathan Larmour
|
20 |
|
|
|
21 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Use --no-target-default-spec to
|
22 |
|
|
avoid problems with newer tools.
|
23 |
|
|
|
24 |
|
|
2002-04-02 Jesper Skov
|
25 |
|
|
|
26 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_redboot.h: Added new
|
27 |
|
|
REDBOOT startup mode that is similar in function to the ROMRAM
|
28 |
|
|
starup mode, with the exception that (RedBoot) application memory
|
29 |
|
|
is linked at 0x07f80000 instead of 0x00008000, thus freeing up
|
30 |
|
|
memory at 0x8000 to applications linked without the correct linker
|
31 |
|
|
map.
|
32 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_redboot.mlt: Same.
|
33 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_redboot.ldi: Same.
|
34 |
|
|
|
35 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Added REDBOOT startup mode
|
36 |
|
|
handling.
|
37 |
|
|
|
38 |
|
|
* include/hal_platform_setup.h: Handle REDBOOT startup mode like
|
39 |
|
|
ROMRAM mode.
|
40 |
|
|
|
41 |
|
|
* misc/redboot_REDBOOT.ecm: Configuration for use of the REDBOOT
|
42 |
|
|
startup mode.
|
43 |
|
|
|
44 |
|
|
2002-01-29 Jesper Skov
|
45 |
|
|
|
46 |
|
|
* include/plf_io.h (CYGARC_PHYSICAL_ADDRESS): Added.
|
47 |
|
|
|
48 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Use generic linux exec command.
|
49 |
|
|
* src/redboot_linux_exec.c: Removed.
|
50 |
|
|
|
51 |
|
|
2002-01-28 Jesper Skov
|
52 |
|
|
|
53 |
|
|
* include/plf_io.h: Added.
|
54 |
|
|
|
55 |
|
|
2001-12-21 Jesper Skov
|
56 |
|
|
|
57 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.ldi: Increase RAM
|
58 |
|
|
size to 128MB.
|
59 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.mlt: Same.
|
60 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.h: Same.
|
61 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.ldi: Same.
|
62 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.mlt: Same.
|
63 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.h: Same.
|
64 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.ldi: Same.
|
65 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.mlt: Same.
|
66 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.h: Same.
|
67 |
|
|
|
68 |
|
|
* include/hal_platform_setup.h: Make Altera's init code the
|
69 |
|
|
default after finding the buglet that made it fail.
|
70 |
|
|
|
71 |
|
|
* include/excalibur.h: Added some registers, cut out some unused
|
72 |
|
|
definitions.
|
73 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Increased clocks to 150/75MHz.
|
74 |
|
|
|
75 |
|
|
2001-12-20 Jesper Skov
|
76 |
|
|
|
77 |
|
|
* include/hal_platform_setup.h: Added SDRAM configuration code
|
78 |
|
|
from Altera. Clean up code. Added printhex8 function.
|
79 |
|
|
|
80 |
|
|
2001-12-18 Jesper Skov
|
81 |
|
|
|
82 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Added some clock comments.
|
83 |
|
|
* include/excalibur.h: Added CLK definitions.
|
84 |
|
|
* include/hal_platform_setup.h: Added code (from Altera) to change
|
85 |
|
|
clocking to 150/75/75MHz. They don't work though.
|
86 |
|
|
Oops, get the math right.
|
87 |
|
|
|
88 |
|
|
2001-12-17 Jesper Skov
|
89 |
|
|
|
90 |
|
|
* include/excalibur.h (_MMAP_PLD1_INIT): Changed to 0x0f000000.
|
91 |
|
|
* src/excalibur_misc.c (hal_mmu_init): Added mapping for
|
92 |
|
|
PLD1. Still causes access error though...
|
93 |
|
|
|
94 |
|
|
2001-12-14 Jesper Skov
|
95 |
|
|
|
96 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.h: Changed ROM
|
97 |
|
|
location.
|
98 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.ldi: Same.
|
99 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.mlt: Same.
|
100 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.h: Same.
|
101 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.ldi: Same.
|
102 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.mlt: Same.
|
103 |
|
|
|
104 |
|
|
* include/excalibur.h: Change memory mapping to match that
|
105 |
|
|
expected by Linux.
|
106 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Relocate .hex file accordingly.
|
107 |
|
|
Also suppress reservation of space for RedBoot[backup] image.
|
108 |
|
|
Finally, increase default baud rate to 57600.
|
109 |
|
|
* src/excalibur_misc.c (hal_mmu_init): Change memory mapping.
|
110 |
|
|
|
111 |
|
|
2001-12-06 Jesper Skov
|
112 |
|
|
|
113 |
|
|
* src/redboot_linux_exec.c: Added.
|
114 |
|
|
|
115 |
|
|
* misc/redboot_ROMRAM.ecm: Don't disable dcache.
|
116 |
|
|
* misc/redboot_RAM.ecm: Same.
|
117 |
|
|
|
118 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Added Linux platform
|
119 |
|
|
identifier [for Camelot platform - may have to change]. Build file
|
120 |
|
|
with exec command.
|
121 |
|
|
|
122 |
|
|
2001-12-03 Jesper Skov
|
123 |
|
|
|
124 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Cache should be safe to use
|
125 |
|
|
now. Bug in variant HAL macro.
|
126 |
|
|
|
127 |
|
|
2001-08-17 Jesper Skov
|
128 |
|
|
|
129 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Point to
|
130 |
|
|
excalibur_program_new_stack.
|
131 |
|
|
* src/excalibur_misc.c (excalibur_program_new_stack): Added.
|
132 |
|
|
|
133 |
|
|
* misc/redboot_ROMRAM.ecm: Clean up inferred/user_values.
|
134 |
|
|
|
135 |
|
|
2001-08-16 Jesper Skov
|
136 |
|
|
|
137 |
|
|
* misc/redboot_ROMRAM.ecm: Added threads. [made it inferred]
|
138 |
|
|
Enable syscall support.
|
139 |
|
|
|
140 |
|
|
* include/hal_platform_setup.h: Enable flash parts 1-3 on
|
141 |
|
|
expansion bus.
|
142 |
|
|
|
143 |
|
|
* include/excalibur.h: Added expansion bus config defs.
|
144 |
|
|
|
145 |
|
|
2001-08-15 Jesper Skov
|
146 |
|
|
|
147 |
|
|
* src/excalibur_misc.c (hal_clock_initialize): Be a little more
|
148 |
|
|
careful initializing the timer.
|
149 |
|
|
|
150 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Fix RTC period calculation.
|
151 |
|
|
|
152 |
|
|
* misc/redboot_ROMRAM.ecm: Added flash and compression.
|
153 |
|
|
* misc/redboot_RAM.ecm: Added.
|
154 |
|
|
|
155 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.mlt: More space to
|
156 |
|
|
RedBoot.
|
157 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.ldi: Same.
|
158 |
|
|
|
159 |
|
|
* src/hal_diag.c (cyg_hal_plf_serial_isr): Also use RX int
|
160 |
|
|
workaround here.
|
161 |
|
|
|
162 |
|
|
* src/excalibur_misc.c (hal_IRQ_handler): INT_ID doesn't do the
|
163 |
|
|
helpful thing, so decode by steam.
|
164 |
|
|
|
165 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Disable D-cache again.
|
166 |
|
|
|
167 |
|
|
2001-08-14 Jesper Skov
|
168 |
|
|
|
169 |
|
|
* src/excalibur_misc.c (hal_mmu_init): Don't let flash be cached:
|
170 |
|
|
appears to cause a bus lock when accessed from RAM.
|
171 |
|
|
|
172 |
|
|
* include/hal_platform_setup.h: Only copy code when in ROMRAM
|
173 |
|
|
startup configuration.
|
174 |
|
|
|
175 |
|
|
* src/excalibur_misc.c (hal_delay_us): Use timer.
|
176 |
|
|
|
177 |
|
|
* include/hal_platform_setup.h: Better ROMRAM startup.
|
178 |
|
|
|
179 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Allow caches again. Up baud rate.
|
180 |
|
|
|
181 |
|
|
* src/hal_diag.c (cyg_hal_plf_serial_putc): Work around HW bug in
|
182 |
|
|
transmitter.
|
183 |
|
|
|
184 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Added ROMRAM startup mode.
|
185 |
|
|
|
186 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.ldi: Added.
|
187 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.mlt: Added.
|
188 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_romram.h: Added.
|
189 |
|
|
|
190 |
|
|
* src/hal_diag.c: Use RI flag in ISR instead of polling the FIFO
|
191 |
|
|
count register. Appears that FIFO jams on overruns somehow, and
|
192 |
|
|
messes up the ISR state in the process. Try to work around that by
|
193 |
|
|
checking both FIFO count and ISR RI flag. It works. Sort of.
|
194 |
|
|
|
195 |
|
|
* src/excalibur_misc.c (hal_delay_us): Do nothing for now. Real
|
196 |
|
|
code changed a bit too.
|
197 |
|
|
|
198 |
|
|
* include/excalibur.h: Fixed typo in FIFO register defs.
|
199 |
|
|
|
200 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Changed baud rate to 9600 until
|
201 |
|
|
cache issue is resolved.
|
202 |
|
|
|
203 |
|
|
2001-08-13 Jesper Skov
|
204 |
|
|
|
205 |
|
|
* src/excalibur_misc.c (hal_mmu_init): Fix comment error.
|
206 |
|
|
|
207 |
|
|
* include/hal_platform_setup.h: Clear instruction cache on startup.
|
208 |
|
|
|
209 |
|
|
* include/excalibur.h: Minor reorg, comment question resolved.
|
210 |
|
|
|
211 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Require ARM922T support.
|
212 |
|
|
|
213 |
|
|
* include/hal_platform_setup.h: Write buffer cannot be disabled.
|
214 |
|
|
|
215 |
|
|
2001-08-10 Jesper Skov
|
216 |
|
|
|
217 |
|
|
* src/excalibur_misc.c (hal_delay_us): Don't use prescaling.
|
218 |
|
|
|
219 |
|
|
* include/hal_platform_setup.h: Set up EBI1-3 (flash parts 1-3) -
|
220 |
|
|
doesn't work though.
|
221 |
|
|
|
222 |
|
|
* include/hal_platform_ints.h: Added reset code.
|
223 |
|
|
|
224 |
|
|
* include/excalibur.h: Added watchdog defs. Updated EBI regions.
|
225 |
|
|
|
226 |
|
|
2001-08-09 Jesper Skov
|
227 |
|
|
|
228 |
|
|
* include/hal_platform_setup.h: Remove SRAM hack.
|
229 |
|
|
* include/excalibur.h: Same.
|
230 |
|
|
|
231 |
|
|
* include/hal_platform_setup.h: Cleanup.
|
232 |
|
|
Missing LED cleanup. Move PLD init.
|
233 |
|
|
|
234 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Disable caches for now.
|
235 |
|
|
|
236 |
|
|
* src/excalibur_misc.c: Added debug code, disable PLD interrupts.
|
237 |
|
|
|
238 |
|
|
* include/hal_platform_setup.h: Added some (overkill) delays,
|
239 |
|
|
moved PLD mmap init, do SDRAM init, don't touch unused mmap
|
240 |
|
|
entries. Do DPSRAM init (not that it should make a difference).
|
241 |
|
|
|
242 |
|
|
* include/excalibur.h: Fixed mmap sizes. Fixed SDRAM map
|
243 |
|
|
size. Added some debug code. Added DPSRAM defs.
|
244 |
|
|
|
245 |
|
|
2001-08-08 Jesper Skov
|
246 |
|
|
|
247 |
|
|
* include/hal_platform_setup.h: Jump to ROM, disable ROM
|
248 |
|
|
mapping. Wait after SDRAM refresh operations.
|
249 |
|
|
Output debug via LED macro.
|
250 |
|
|
|
251 |
|
|
* include/excalibur.h: Altera SDRAM settings.
|
252 |
|
|
|
253 |
|
|
* include/hal_platform_setup.h: Adding more initialization and
|
254 |
|
|
(temporary) UART debug code. Fixing instruction addressing modes.
|
255 |
|
|
|
256 |
|
|
* include/excalibur.h: Adding more definitions.
|
257 |
|
|
|
258 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Added ihex build rule for
|
259 |
|
|
RedBoot.
|
260 |
|
|
|
261 |
|
|
2001-08-07 Jesper Skov
|
262 |
|
|
|
263 |
|
|
* include/excalibur.h: Added SDRAM controller details.
|
264 |
|
|
|
265 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Added SDRAM clock.
|
266 |
|
|
|
267 |
|
|
* include/hal_platform_setup.h: Added hardwired SDRAM init.
|
268 |
|
|
|
269 |
|
|
* src/hal_diag.c: Use peripheral clock. Fix compiler error.
|
270 |
|
|
|
271 |
|
|
* src/excalibur_misc.c: Updated memory mapping. Fix compiler
|
272 |
|
|
errors and warnings.
|
273 |
|
|
|
274 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.ldi: Updated.
|
275 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.mlt: Same.
|
276 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_ram.h: Same.
|
277 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.ldi: Updated.
|
278 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.mlt: Same.
|
279 |
|
|
* include/pkgconf/mlt_arm_arm9_excalibur_rom.h: Same.
|
280 |
|
|
|
281 |
|
|
* include/hal_platform_setup.h: Set up memory map.
|
282 |
|
|
|
283 |
|
|
* include/excalibur.h: Added memory mapping registers and memory
|
284 |
|
|
map layout.
|
285 |
|
|
|
286 |
|
|
* cdl/hal_arm_arm9_excalibur.cdl: Package display changed to match
|
287 |
|
|
top-level. Added clock definitions (must add configury eventually).
|
288 |
|
|
|
289 |
|
|
2001-08-06 Jesper Skov
|
290 |
|
|
|
291 |
|
|
* src/excalibur_misc.c: Clock, irq and MMU code.
|
292 |
|
|
|
293 |
|
|
* include/excalibur.h: Register definitions.
|
294 |
|
|
|
295 |
|
|
* src/hal_diag.c: Serial driver added.
|
296 |
|
|
|
297 |
|
|
* Created HAL for Altera Excalibur.
|
298 |
|
|
|
299 |
|
|
//===========================================================================
|
300 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
301 |
|
|
// -------------------------------------------
|
302 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
303 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
304 |
|
|
//
|
305 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
306 |
|
|
// the terms of the GNU General Public License as published by the Free
|
307 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
308 |
|
|
//
|
309 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
310 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
311 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
312 |
|
|
// for more details.
|
313 |
|
|
//
|
314 |
|
|
// You should have received a copy of the GNU General Public License along
|
315 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
316 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
317 |
|
|
//
|
318 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
319 |
|
|
// or inline functions from this file, or you compile this file and link it
|
320 |
|
|
// with other works to produce a work based on this file, this file does not
|
321 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
322 |
|
|
// License. However the source code for this file must still be made available
|
323 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
324 |
|
|
//
|
325 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
326 |
|
|
// this file might be covered by the GNU General Public License.
|
327 |
|
|
//
|
328 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
329 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
330 |
|
|
// -------------------------------------------
|
331 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
332 |
|
|
//===========================================================================
|