From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24596 invoked by alias); 8 Aug 2005 18:53:27 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 24570 invoked by uid 22791); 8 Aug 2005 18:53:24 -0000 Received: from smtp-out3.iol.cz (HELO smtp-out3.iol.cz) (194.228.2.91) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 08 Aug 2005 18:53:24 +0000 Received: from antivir3.iol.cz (unknown [192.168.30.206]) by smtp-out3.iol.cz (Internet on Line ESMTP server) with ESMTP id 75ABE31838C; Mon, 8 Aug 2005 20:53:23 +0200 (CEST) Received: from localhost (antivir3.iol.cz [127.0.0.1]) by antivir3.iol.cz (Postfix) with ESMTP id 67CBD6DC003; Mon, 8 Aug 2005 20:53:23 +0200 (CEST) Received: from smtp-out3.iol.cz (unknown [192.168.30.28]) by antivir3.iol.cz (Postfix) with ESMTP id 563A06DC002; Mon, 8 Aug 2005 20:53:23 +0200 (CEST) Received: from silence.gardas.net (34.122.broadband3.iol.cz [85.70.122.34]) by smtp-out3.iol.cz (Internet on Line ESMTP server) with ESMTP id 02DE53BEF5; Mon, 8 Aug 2005 20:53:18 +0200 (CEST) Received: from karel (helo=localhost) by silence.gardas.net with local-esmtp (Exim 4.50) id 1E2CkL-0001Uh-Sh; Mon, 08 Aug 2005 20:53:13 +0200 Date: Mon, 08 Aug 2005 18:53:00 -0000 From: Karel Gardas X-X-Sender: karel@silence.gardas.net To: Mark Salter Cc: eCos Mailing List In-Reply-To: <1123526276.18336.12.camel@gienah.localdomain> Message-ID: References: <1123526276.18336.12.camel@gienah.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [ECOS] [ixdp425/RedBoot] How to start eCos binary? X-SW-Source: 2005-08/txt/msg00076.txt.bz2 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