From: Andrew Lunn <andrew@lunn.ch>
To: Wang Cui <iucgnaw@msn.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] How to build a executed-in-flash application?
Date: Thu, 07 Sep 2006 07:38:00 -0000 [thread overview]
Message-ID: <20060907073820.GF20668@lunn.ch> (raw)
In-Reply-To: <BAY110-DAV692BAABA03EFA898D54FEA5360@phx.gbl>
On Thu, Sep 07, 2006 at 01:42:07PM +0800, Wang Cui wrote:
> As I know, normally RedBoot use startup type "ROM", and application use
> startup type "RAM", then we can use RedBoot "load" application into ram and
> "go" it.
>
> On my target board, this method works pretty well now. But since the ram
> size is only 512K, I want the application image executed-in-place in the
> flash to save ram for usage.
>
> Could anyone give me some advices for it? Thanks in advance.
You need to make a custom set of .ldi and .h files in the
$HAL/current/include/pkgconf directory. This should be set so that the
image is linked for the location it will be in FLASH.
To execute it, just do
go <address_in_flash>
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2006-09-07 7:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-04 10:34 [ECOS] Re: Re: unable to execute linux kernel with Redboot Claudio Scordino
2006-09-04 11:14 ` [ECOS] " Amitesh Singh
[not found] ` <200609051509.40563.cloud.of.andor@gmail.com>
2006-09-05 13:51 ` Amitesh Singh
2006-09-05 13:58 ` Claudio Scordino
2006-09-06 6:58 ` [ECOS] little mistake in redboot.cdl? Wang Cui
2006-09-07 5:42 ` [ECOS] How to build a executed-in-flash application? Wang Cui
2006-09-07 7:38 ` Andrew Lunn [this message]
2006-09-07 9:35 ` wang cui
2006-09-07 9:43 ` Andrew Lunn
2006-09-08 2:53 ` wang cui
2006-09-07 13:38 ` Bart Veer
2006-09-08 1:22 ` wang cui
2006-09-04 15:08 ` [ECOS] Re: Re: unable to execute linux kernel with Redboot Mark Salter
2006-09-05 0:53 ` [ECOS] Multiple code images in flash Laurie Gellatly
2006-09-05 7:37 ` Bart Veer
2006-09-05 8:48 ` Ilija Koco
2006-09-05 9:31 ` Bart Veer
2006-09-05 11:25 ` Laurie Gellatly
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=20060907073820.GF20668@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@sources.redhat.com \
--cc=iucgnaw@msn.com \
/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).