From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13386 invoked by alias); 31 May 2007 14:50:58 -0000 Received: (qmail 13370 invoked from network); 31 May 2007 14:50:49 -0000 Received: from unknown (69.17.117.10) by sourceware.org with QMTP; 31 May 2007 14:50:49 -0000 Received: (qmail 9833 invoked from network); 31 May 2007 14:50:49 -0000 Received: from dsl027-162-100.atl1.dsl.speakeasy.net (HELO otter.localdomain) ([216.27.162.100]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 May 2007 14:50:49 -0000 Received: from localhost (jmills@localhost) by otter.localdomain (8.11.6/8.11.6) with ESMTP id l4VEooq28835; Thu, 31 May 2007 14:50:50 GMT Date: Thu, 31 May 2007 15:01:00 -0000 From: John Mills Reply-To: John Mills To: ecos-discuss@ecos.sourceware.org cc: Andrew Lunn In-Reply-To: <20070530211229.GI32489@lunn.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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] eCos configuration question (was Re: [ECOS] General Q ...) X-SW-Source: 2007-05/txt/msg00208.txt.bz2 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'? 2. In general, is there a listing in eCos or RedBoot docs about these [fairly obscure] switches? Thanks for any guidance. - Mills On Wed, 30 May 2007, Andrew Lunn wrote: > > On Wed, 30 May 2007, Andrew Lunn wrote: > > > What is the value of CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_VERSION in you > > > application? See hal/common/current/src/hal_if.c > > I find in my package configuration: >/home/jmills/depot/trapeze/ECOSBUILD/dist/install/include/pkgconf/hal.h: > #define CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_VERSION 1 > ... So the next question is why is it set to 1? If it was a clear decision, the reasons are lost in the mists of time! > cdl_option CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_VERSION { > display "Claim version virtual vectors" > default_value { CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE } > description " > This option will cause the version > virtual vectors to be claimed." > } > 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 > 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. > Is CYGSEM_HAL_USE_ROM_MONITOR true? Apparently not, if I 'grep'ed right. - John Mills -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss