This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix to ROMRAM applications for EB40a


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]