From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12290 invoked by alias); 25 Nov 2003 11:00:28 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 12279 invoked from network); 25 Nov 2003 11:00:27 -0000 Received: from unknown (HELO msgdirector3.onetel.net.uk) (212.67.96.159) by sources.redhat.com with SMTP; 25 Nov 2003 11:00:27 -0000 Received: from miso.calivar.com (213-78-87-96.friaco.onetel.net.uk [213.78.87.96]) by msgdirector3.onetel.net.uk (Mirapoint Messaging Server MOS 3.3.6-GR) with ESMTP id BJY78016; Tue, 25 Nov 2003 11:00:18 GMT Received: from miso.calivar.com (miso.calivar.com [127.0.0.2]) by miso.calivar.com (Postfix) with ESMTP id 74BEE28DF45; Tue, 25 Nov 2003 11:00:11 +0000 (GMT) To: xie boyan Cc: ecos-discuss@sources.redhat.com References: <20031125083456.GD21161@lunn.ch> From: Nick Garnett Date: Tue, 25 Nov 2003 11:00:00 -0000 In-Reply-To: <20031125083456.GD21161@lunn.ch> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] Why the application run on redboot uncorrectly? X-SW-Source: 2003-11/txt/msg00367.txt.bz2 Andrew Lunn writes: > > RedBoot> load -v -r -h MyHost -m TFTP -b 0x800040 hello.elf > > the tftp transportation looks like correct because the informations > > displayed on screen is normal. Of course my executable application Hello is > > under the directory /tftpboot on my host PC. > > Read: > > http://ecos.sourceware.org/docs-latest/ref/download-command.html > > -r does not make sense for an elf file. You also don't need -b 0x80040 > with elf files. Also, since you are just starting, use GDB to download and run programs initially. It's much easier and you will get better feedback when things go wrong. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss