public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] redboot (SA1110) RAM + ROM question
@ 2001-08-14  7:26 Andreas Bürgel
  2001-08-14  7:56 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Bürgel @ 2001-08-14  7:26 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

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.

-- 
-----------------------------------------------------
i.A. Andreas Bürgel     GenoLogic GmbH
     Software Engineer  Joseph-von-Fraunhofer-Str. 13
                        D-44227 DORTMUND
                        Germany               
                        
     ab@genologic.de    phone  +49 (0) 231/477349-0
                        fax    +49 (0) 231/4761234

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] redboot (SA1110) RAM + ROM question
  2001-08-14  7:26 [ECOS] redboot (SA1110) RAM + ROM question Andreas Bürgel
@ 2001-08-14  7:56 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-08-14  7:56 UTC (permalink / raw)
  To: Andreas Bürgel; +Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-14  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-14  7:26 [ECOS] redboot (SA1110) RAM + ROM question Andreas Bürgel
2001-08-14  7:56 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).