public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "David Ho" <davidkwho@gmail.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Re: loading and executing an ELF image from flash.
Date: Fri, 07 Jul 2006 16:23:00 -0000	[thread overview]
Message-ID: <4dd15d180607070923h2a0f7f07u40cb8c35efd583a3@mail.gmail.com> (raw)
In-Reply-To: <4dd15d180607070754j5fa372c2vddee756f45e70dd4@mail.gmail.com>

These are the commands I used.  I don't have ethernet btw, transfer
done over xmodem.

load -r -b 0xc000 -m xmodem -c 0
fis create RedBoot[RAM] -e 0xc040
fis load RedBoot[RAM]

David

On 7/7/06, David Ho <davidkwho@gmail.com> wrote:
> The reason I need to load an ELF image is because we have both
> internal RAM and external RAM in our system and we would like to place
> code in the critical path in internal RAM for faster access and leave
> the non-critical code in external RAM.
>
> Because the two regions cannot be made contiguous, I cannot load it as
> one binary image.
>
> Thanks, David
>
> On 7/7/06, David Ho <davidkwho@gmail.com> wrote:
> > Hi,
> >
> > Thanks so much for all the help, I now have redboot running on my
> > custom board with flash support.
> >
> > The next step, which is one of my main objective is to be able to load
> > an ELF image from flash   to the corresponding RAM regions and have
> > redboot jump to the right entry point specified in the ELF header.
> >
> > I tried a simple _fis create_ of the ELF image to flash, but when I
> > did _fis load_ all it did was load the ELF image as is to RAM _Mem
> > addr_.  Is there currently a way to load an ELF image correctly?
> >
> > Thanks, David
> >
>

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

  reply	other threads:[~2006-07-07 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 14:35 [ECOS] " David Ho
2006-07-07 14:54 ` [ECOS] " David Ho
2006-07-07 16:23   ` David Ho [this message]
2006-07-09 22:41   ` Gary Thomas
2006-07-24 14:53     ` David Ho

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=4dd15d180607070923h2a0f7f07u40cb8c35efd583a3@mail.gmail.com \
    --to=davidkwho@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /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).