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: Load arbitrary code on iPaq using RedBoot?


On Wed, 2002-10-23 at 06:43, Jon Read wrote:
> Hi All,
> 
> Please forgive what is probably a stupid question from a newbie.  I'm 
> wanting to run some arbitrary code on the "bare metal" of an iPaq 3600 
> series, and would like to use RedBoot to load and execute it.
> 
> How easy is this likely to be?  Could I load the code on the device via 
> serial (xmodem), and execute it using the exec command?  Can I write C 
> code using arm-elf-gcc so the entry point works with this method?
> 
> I've already got RedBoot flashed on the iPaq, and have tried compiling, 
> loading and executing simple programs to no avail.
> 
> I may have to give up and write the code on top of eCos. :-)
> 

We do this all the time :-)

First of all, use "go", not "exec" since the "exec" command is
highly tailored to running Linux and does some "special" stuff.
Secondly, if you don't use eCos as your base, you'll have to do
_everything_ [in general], which includes writing all of your
own device drivers, interrupt/exception handlers, etc.

Why don't you want to use eCos to help out?

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


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


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