This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: [ixdp425/RedBoot] How to start eCos binary?
- From: Mark Salter <msalter at redhat dot com>
- To: Karel Gardas <kgardas at objectsecurity dot com>
- Cc: eCos Mailing List <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 08 Aug 2005 14:37:56 -0400
- Subject: Re: [ECOS] [ixdp425/RedBoot] How to start eCos binary?
- References: <Pine.LNX.4.63.0508081646330.28436@silence.gardas.net>
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...
>
> When I try to do as I think the same in RedBoot, it does nothing:
>
> # telnet 192.168.0.1 9000
> Trying 192.168.0.1...
> Connected to 192.168.0.1.
> Escape character is '^]'.
> 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
--Mark
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss