This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Fix to ROMRAM applications for EB40a
- From: Andrew Lunn <andrew at lunn dot ch>
- To: oyvind dot harboe at zylin dot com
- Cc: 'eCos patches' <ecos-patches at sources dot redhat dot com>
- Date: Sun, 14 Sep 2003 14:55:12 +0200
- Subject: Re: Fix to ROMRAM applications for EB40a
- References: <000001c37930$03d7c7d0$73dea8c0@lair>
On Fri, Sep 12, 2003 at 03:16:01PM +0200, ?yvind Harboe wrote:
> With these changes, ROMRAM application works when
> written to 0x1000000.
>
>
> Øyvind
> Index: ecos/packages/hal/arm/at91/eb40a/current/ChangeLog
> ===================================================================
> RCS file: /cvs/ecos/ecos/packages/hal/arm/at91/eb40a/current/ChangeLog,v
> retrieving revision 1.3
> diff -a -w -u -r1.3 ChangeLog
> --- ecos/packages/hal/arm/at91/eb40a/current/ChangeLog 15 Jul 2003 01:54:44 -0000 1.3
> +++ ecos/packages/hal/arm/at91/eb40a/current/ChangeLog 12 Sep 2003 13:11:42 -0000
> @@ -1,3 +1,17 @@
> +2003-09-13 Oyvind Harboe <oyvind.harboe@zylin.com>
> +
> + * include/hal_platform_setup.h:
> + Use PC relative addressing to find pointer to InitMemory
> + making debugging with e.g. Abatron ICE smoother for ROMRAM
> + applications since the Abatron ICE can in some cases perform
> + the remap command.
OK.
> +
> + ROMRAM now copies to internal SRAM instead of the external
> + RAM board @ 0x2000000.
This changes the current behaviour in an unconditional way. Could you
change this so its controlled by CDL and by default uses the old
behaviour.
> + * include/pkgconf/mlt_arm_at91_eb40a_romram.ldi:
> + Changed start address to be address 0x0.
Any idea why it used to be 0x4000. I know some targets have a
translation look aside table in low memory. You don't want to write
over the top of that.
Andrew