This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Load arbitrary code on iPaq using RedBoot?
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Jon Read <redboot at epoczone dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 23 Oct 2002 06:51:27 -0600
- Subject: Re: [ECOS] Load arbitrary code on iPaq using RedBoot?
- References: <3DB69965.3050005@epoczone.com>
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