public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Anders Brogestam <anders.brogestam@avegasystems.com>
Cc: ecos-devel@sources.redhat.com
Subject: Re: Booting a board with Redboot
Date: Wed, 14 Feb 2007 16:02:00 -0000	[thread overview]
Message-ID: <45D33288.7010709@mlbassoc.com> (raw)
In-Reply-To: <1171407217.5481.18.camel@localhost>

Anders Brogestam wrote:
> Hi.
> 
> I'm new to Redboot and are in the process of setting up a new board
> (with a MIPS) that will have Redboot and Linux. 
> I have managed to get a RAMROM version of RedBoot running on the board,
> and can use that with the serial consol (the board has no network
> connection).
> The questions that I have are:
> 
> 1. One I have a Linux image on the board, how will Redboot automagically
> boot that image? All I can see is commands to do it using the CLI. 

Using 'fconfig', you can specify a script of commands to be executed
when RedBoot starts up.  These could include a way to load the Linux
kernel and then execute it.  This also leaves the possibility (via ^C)
to break into RedBoot for maintenance, etc.

> 
> 2. The documentation for the "exec" command specifies that the option -b
> is used to specify the loaded address of the image (ie to me that
> indicates where the image is stored, in flash). The source though gives
> that -b is used as argument address... 
> 
> 3. When a Linux image is booted, is it Redboot that copies the Linux
> image from flash to RAM or is it up to Linux?

Linux is usually started by loading it [from FLASH] into RAM
via a RedBoot command and then using the 'exec' command.  The "-b"
option would be used to tell 'exec' where the image is, although
with recent versions of RedBoot this can mostly be inferred from
the load operation.  For example,

   RedBoot> fi lo linux
   RedBoot> exec



-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

      reply	other threads:[~2007-02-14 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 22:53 Anders Brogestam
2007-02-14 16:02 ` Gary Thomas [this message]

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=45D33288.7010709@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=anders.brogestam@avegasystems.com \
    --cc=ecos-devel@sources.redhat.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).