This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a question about anoncvs


I take a look on file plf_misc.c, on this snippet quote :
---------------------------------------------------------
#ifdef CYGPKG_HAL_I386_PC_MEMSIZE_BIOS
    cyg_uint8 lo,hi;
    
    HAL_READ_CMOS( 0x15, lo );
    HAL_READ_CMOS( 0x16, hi );

    cyg_hal_pc_memsize_base = ((hi<<8)+lo)*1024;
---------------------------------------------------------

And then, I try to find "CYGPKG_HAL_I386_PC_MEMSIZE_BIOS"
 in my ecos.ecc , and added my user_value :
-------------------------------------------------------------------
cdl_component CYGPKG_HAL_I386_PC_MEMSIZE {
# Added by Simalango
user_value BIOS    
};

But still, I face the same error messages.

Or should I comment CYGPKG_HAL_I386_PC_MEMSIZE_BIOS? Is 
CYGPKG_HAL_I386_PC_MEMSIZE_BIOS a valid parameter? Because I don't find 
any word match with it in my ecos.ecc. The closing match is only 
CYGPKG_HAL_I386_PC_MEMSIZE, not CYGPKG_HAL_I386_PC_MEMSIZE_BIOS.

Please share your experinces.

Thank you.

> On Wed, 24 Aug 2005, Gary Thomas wrote:
> 
> > On Thu, 2005-08-25 at 04:01 +0700, Indra Antonius Simalango wrote:
> > > 
> > > Dear all,
> > > 
> > > I'd like to use fat filesystem for my target i386pc. In order to do that, 
> > > I do anoncvs to update my repository. Here're my steps work :
> > > 
> > > #cd ~/anoncvs
> > > #cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P ecos
> > > #cvs -z3 update -d -P
> > > #mkdir ~/tests
> > > #cd ~/tests
> > > #export ECOS_REPOSITORY=~/anoncvs/ecos/packages
> > > #/opt/ecos-2.0/tools/bin/ecosconfig new pc all
> > > #vi ecos.ecc
> > > ... editing ecos.ecc ...
> > > #/opt/ecos-2.0/tools/bin/ecosconfig tree
> > > #make -s
> > > headers finished
> > > /home/indra/anoncvs/ecos/packages/hal/i386/pc/current/src/plf_misc.c: 
> > > In function `hal_platform_init':
> > > /home/indra/anoncvs/ecos/packages/hal/i386/pc/current/src/plf_misc.c:129: 
> > > parse error before `lo'
> > > /home/indra/anoncvs/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: 
> > > `lo' undeclared (first use in this function)
> > > /home/indra/anoncvs/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: 
> > > (Each undeclared identifier is reported only once
> > > /home/indra/anoncvs/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: 
> > > for each function it appears in.)
> > > /home/indra/anoncvs/ecos/packages/hal/i386/pc/current/src/plf_misc.c:132: 
> > > `hi' undeclared (first use in this function)
> > > make[1]: *** [src/plf_misc.o.d] Error 1
> > > make: *** [build] Error 2
> > > 
> > > I've tried repeated my anoncvs update in another new directory, and build 
> > > it with the same way. But still, it gives the same error message.
> > > 
> > > Please share your experiences, should I use another anoncvs site? Which 
> > > site? Or it's something wrong in my steps work.
> > > 
> > 
> > This worked just fine for me.
> > 
> > Exactly what did you change during your "vi ecos.ecc" step?
> > 
> > 
> 
> 

-- 
	regards, 	

	IndrA on 11:37, Aug 25

	http://ic.ee.itb.ac.id/~antonius	


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]