This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: IMM base for MPC8xx based Targets
- From: Gary Thomas <gary at chez-thomas dot org>
- To: Wolfgang Heppner <hep at iis dot fhg dot de>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 27 Jun 2002 14:28:56 -0600
- Subject: Re: [ECOS] IMM base for MPC8xx based Targets
- References: <3D1B31E9.B52965CA@iis.fhg.de>
On Thu, 2002-06-27 at 09:40, Wolfgang Heppner wrote:
> Hi,
>
> i am porting my application from eCos 1.3.1 to the current CVS-Version.
> I am using a MPC8xx based board and derived my platform hal from the
> mbx-hal.
>
> I noticed that some init-functions failed, because the definition of the
> IMM baseaddress (CYGARC_REG_IMM_BASE in
> packages/hal/powerpc/mpc8xx/current/include/var_regs.h) has changed (my
> platform still uses 0xff000000 as IMM base)! As a workaround i had to
> change the variant hal.
>
> The location of the internal memorymap is platform dependend (it can be
> configured in hardware during power-up).
> Therefore there should be a way to set the IMM baseaddress in the
> platform hal (not in the variant hal) or even better - it should be
> configurable. Or did i miss anything?
>
Note: I've just applied a patch to the 8xx (variant & platforms) for
this. You can get it by updating from CVS.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss