public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Ross Younger <ecos@impropriety.org.uk>
To: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Dependency between eCos and RedBoot
Date: Mon, 08 Apr 2013 07:28:00 -0000	[thread overview]
Message-ID: <51627194.70801@impropriety.org.uk> (raw)
In-Reply-To: <trinity-66c4e736-1abb-4c7c-afdd-dee3758b9298-1365371708219@3capp-gmx-bs37>

Hi Lukas,

It would be true to say that you don't need to get RedBoot running as 
part of the porting process. However it is a simple interactive platform 
for confirming that you've got the basics running along with a serial 
port, a sort of "hello world", and it can be useful for manipulating flash.

You don't burn eCos alone into flash. The process is more like:
1. configure eCos
2. build eCos (libtarget.a)
3. write your application
4. compile your application and link it with ecos (output is usually an 
ELF file)
5. Run your application. This might mean burning it into flash, having 
RedBoot run it, or even loading it directly into RAM via JTAG or similar.

Section III of the eCos user guide walks you through this process. I 
particularly recommend chapter 13 which gives the compilation rune you 
will need to get that ELF file.

It's typical, during application development, to program RedBoot into 
flash on your board so that it runs on boot. (This can be fiddly.) You 
then have the ability to load and debug ELF files easily via serial or 
ethernet (depends on the board). When your application is finished you 
might keep RedBoot as a boot loader, or just switch to ROM startup and 
have your application boot directly.

Ross

-- 
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:[~2013-04-08  7:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 21:55 Lukas Riezler
2013-04-08  7:28 ` Ross Younger [this message]
2013-04-08  9:07 ` Ilija Kocho
2013-04-10  7:06 ` AW: " Richard Rauch

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=51627194.70801@impropriety.org.uk \
    --to=ecos@impropriety.org.uk \
    --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).