This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: redboot (SA1110) RAM + ROM question


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


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