This is the mail archive of the ecos-discuss@sourceware.org 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: [ixdp425/RedBoot] How to start eCos binary?


On Mon, 8 Aug 2005, Mark Salter wrote:

On Mon, 2005-08-08 at 20:28 +0200, Karel Gardas wrote:
Hello,

I do have linksys NSLU2, which is basically Intel's ixdp425 striped down
platform. I've bought this to experiment with embedded programming and
eCos. Now I have final binary which works great when started from Insight
debugger or directly from arm-elf-gdb connected to NSLU2, but I'm not able
to load and start this binary while using board's RedBoot.

The start in gdb looks:

$ arm-elf-gdb /tftpboot/hello.xs

So hello.xs is and ELF file...

Yes.


RedBoot> load -v -r -b 0x80000 -h 192.168.0.2 hello.xs

But here you are loading hello.xs as if it were a raw binary file. Try loading like this:

RedBoot> load -v -h 192.168.0.2 hello.xs

Thanks! This really work!


Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

--
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]