[ECOS] IMM base for MPC8xx based Targets

Gary Thomas gary@chez-thomas.org
Thu Jun 27 18:43:00 GMT 2002


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



More information about the Ecos-discuss mailing list