From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Andreas Bürgel Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] redboot (SA1110) RAM + ROM question Date: Tue, 14 Aug 2001 07:56:00 -0000 Message-id: <3B793C0C.284455AF@redhat.com> References: <3B79350F.FA5CA4AB@genologic.de> X-SW-Source: 2001-08/msg00477.html Andreas Bürgel wrote: > > Hi folks, > > I installed redboot on my custom SA1110 board, but get totally wrong > values about the available RAM and FLASH. > Where are the variables "user_ram_start" (redboot/main.c), > "user_ram_end" (redboot/main.c), "blocks" (redboot/flash.c) and > "block_size" (redboot/flash.c) defined? > I'm grepping like mad but can't find them. > I'm using the eCos-CVS version of last week. It's defined in a somewhat eccentric way: in redboot.h they are defined with EXTERN. main.c defines DEFINE_VARS though (see further up redboot.h for the definition of EXTERN). Well, it may _seem_ eccentric, but it is more maintainable as all the configury is in one place, not two. Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine