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 15:52 +0100, Matt Sartori wrote:
> Ok, that was also the command I initially thought I'd need. 
> However, using an elf (or even a binary) of code which I can flash
> directly to the board (using jtag and an ide) and run won't work if I
> load it into Redboot over the serial link and use go on it's initial
> location. I presume this may have something to do with the expected vs.
> actual location of the software? 

Unless your code is position independent (or very smart), this is
most certainly your problem.

> I'm not very experienced with this sort of thing (as you can probably
> tell) which is why I'd hoped that there were some (hello world type)
> examples that didn't involve linking against the ecos libs or loading up
> a linux image.

What's wrong with using eCos to help you build your program?

n.b. this is an eCos list, so we're oriented that way :-)

> 
> m@
> 
> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch] 
> Sent: 26 July 2005 14:29
> To: Matt Sartori
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Simple Redboot Q's
> 
> 
> On Tue, Jul 26, 2005 at 02:19:38PM +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 is Linux specific
> 
> Use the go command for a more generic way of starting an arbitatry bit
> of code.
> 
> http://ecos.sourceware.org/docs-latest/redboot/executing-programs.html
> 
>         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]