This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Simple Redboot Q's


On Tue, 2005-07-26 at 14:19 +0100, Matt Sartori wrote:
> Exec seems quite closely tied to linux (eg. When I enable the
> CYGBLD_BUILD_REDBOOT_WITH_EXEC it actually fails with some error in
> redboot_linux_exec.c). Can I run anything with Redboot using exec or is
> it looking for some kind of linux kernel image etc. ? 
> 

exec could be used to run most any image, but it is really designed
to run Linux.  In most cases (remember 'exec' is platform/architecture
specific), the command assumes certain operations before starting the
code: turning off the MMU, moving the program to a specific location
(on some architectures only), setting up some data structures to pass
to Linux, etc.  These are typically only useful if what you are running
is Linux (possibly other operating systems as well, e.g. FreeBSD)

> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch] 
> Sent: 26 July 2005 12:05
> To: Matt Sartori
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Simple Redboot Q's
> 
> 
> On Tue, Jul 26, 2005 at 11:16:15AM +0100, Matt Sartori wrote:
> > Does an application that is loaded and run by Redboot have to be 
> > linked against the eCos libraries?
> 
> No. eg your application could be Linux, which will simply take complete
> control of the hardware.
> 
> > What provisions would be necessary to make this work (e.g.. you 
> > obviously don't want your app to overwrite the rom area Redboot sits 
> > in) and are there any examples of this out there?
> 
> Look at how Linux is booted using RedBoot.
> 
>         Andrew
> 
> --------------------------------------------------------------------------------
> 
> 
> The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.
> 
> If you received this in error, please contact the sender or postmaster (postmaster@hanoverdisplays.com) and delete the material from any computer.
> 
> Although we routinely screen for viruses, addressees should check this e-mail and any attachment for viruses. We make no warranty as to absence of viruses in this e-mail or any attachments.
> 
> Our Company's email policy is to permit incidental personal use. If this email is of a personal nature, it must not be relied upon as expressing the views or opinions of the company.
> 
> Visit out website at www.hanoverdisplays.com
> 
> 

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]