From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32179 invoked by alias); 27 Jun 2002 20:28:59 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 32158 invoked from network); 27 Jun 2002 20:28:57 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 27 Jun 2002 20:28:57 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 7FBD77D2; Thu, 27 Jun 2002 14:28:56 -0600 (MDT) From: Gary Thomas To: Wolfgang Heppner Cc: eCos Discussion In-Reply-To: <3D1B31E9.B52965CA@iis.fhg.de> References: <3D1B31E9.B52965CA@iis.fhg.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 27 Jun 2002 18:43:00 -0000 Message-Id: <1025209736.20492.222.camel@hermes.chez-thomas.org> Mime-Version: 1.0 Subject: Re: [ECOS] IMM base for MPC8xx based Targets X-SW-Source: 2002-06/txt/msg00511.txt.bz2 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