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