From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2437 invoked by alias); 31 May 2007 15:19:26 -0000 Received: (qmail 2429 invoked by uid 22791); 31 May 2007 15:19:25 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 31 May 2007 15:19:23 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1HtmQR-0008PJ-00; Thu, 31 May 2007 17:18:55 +0200 Date: Thu, 31 May 2007 15:21:00 -0000 To: John Mills Cc: ecos-discuss@ecos.sourceware.org, Andrew Lunn Message-ID: <20070531151854.GM32489@lunn.ch> Mail-Followup-To: John Mills , ecos-discuss@ecos.sourceware.org, Andrew Lunn References: <20070530211229.GI32489@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: eCos configuration question (was Re: [ECOS] General Q ...) X-SW-Source: 2007-05/txt/msg00210.txt.bz2 On Thu, May 31, 2007 at 09:50:50AM -0500, John Mills wrote: > Leaving aside my responses to Andrew cut in below: > > 1. How should I set or clear this switch in my *.ecc files? I don't > recognize the entry in 'configtool'. Should I edit the *.ecc and > regenerate the tree? Edit the affected 'hal.h'? You should never need to edit a .h file. I personally never use the gui tool. I find it much easier just to edit the ecos.ecc file and use ecosconfig > > Is CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE true? > Yes: > ../trapeze/ECOSBUILD/dist/install/include/pkgconf/hal.h: > #define CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE 1 I would expect this to be true for your Redboot true, but false for you application tree. Look at your application ecos.ecc. Does it get the value from the default_value statement, or has it been set by the user_value? That will tell you if somebody has deliberately changed it, or it is derived from other configuration settings. > > cdl_option CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE { > > display "Initialize whole of virtual vector table" > > default_value { CYG_HAL_STARTUP != "RAM" || > > !CYGSEM_HAL_USE_ROM_MONITOR } > > > do you have a RAM image? > > Not of RedBoot. Our eCos app is expanded into RAM for execution, but > RedBoot lives in FLASH. So for your RedBoot tree CYG_HAL_STARTUP == ROM and for your application tree CYG_HAL_STARTUP == RAM > > Is CYGSEM_HAL_USE_ROM_MONITOR true? > Apparently not, if I 'grep'ed right. I would expect this to be false for the RedBoot tree, but true for the Application tree. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss