public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: Ho Shui Choy Stanley  PS03B  NCS <scho@ncs.com.sg>,
	"Ecos-Discuss (E-mail)" <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] Use of internal and external ram
Date: Mon, 23 Apr 2001 08:27:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20010423111513.02d81dd0@mail.larwe.com> (raw)
In-Reply-To: <19C34CD863B1D4118E2800508BAF663A0112F613@STONE>

Hi Stanley,

>I am building eCos for AT91EB40

Question: Where did you get the sources for this? Is this the old archived 
port mentioned on ecos-discuss some weeks ago, or are you collaborating 
with Daniel Andersson, or are you developing an independent port?

>In my platform there is internal ram(addr 0x00100000) and external ram(addr
>0x02000000) how do I make use of both available ram?
>Is it possible to specify that the stack space resides in the internal ram
>while data in external ram?

It's certainly possible (I do something very similar on the EP7212 - user, 
FIQ, IRQ, SVC stacks are in on-chip SRAM and heap is in off-chip DRAM). 
It's just a matter of tinkering with the startup code and linker script. 
For elegant integration into eCos, especially given that most people who 
use it are going to port it to "real" hardware sometime, I would suggest 
that you expose this stuff to configtool if possible.

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"... a man who is endowed with real qualities of leadership will be tempted 
to refrain from taking part in political life; because [...] the situation 
does not call for a man who has a capacity for constructive statesmanship 
but rather for a man who is capable of bargaining for the favour of the 
majority. Thus the situation will appeal to small minds and will attract 
them accordingly."

  reply	other threads:[~2001-04-23  8:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-22 23:36 Ho Shui Choy Stanley PS03B NCS
2001-04-23  8:27 ` Lewin A.R.W. Edwards [this message]
2001-04-23  9:48   ` [ECOS] IO Streams Andy Simpkins
2001-04-23 19:30 [ECOS] Use of internal and external ram Ho Shui Choy Stanley PS03B NCS
2001-04-24 18:01 Ho Shui Choy Stanley PS03B NCS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.2.7.2.20010423111513.02d81dd0@mail.larwe.com \
    --to=larwe@larwe.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=scho@ncs.com.sg \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).