From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17291 invoked by alias); 24 Dec 2003 17:49:35 -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 17284 invoked from network); 24 Dec 2003 17:49:34 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 24 Dec 2003 17:49:34 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id A1A111003FE; Wed, 24 Dec 2003 10:49:33 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 76C511003FD; Wed, 24 Dec 2003 10:49:32 -0700 (MST) From: Gary Thomas To: Ricardo Andrino Cc: ecos-discuss@sources.redhat.com, Nick Garnett In-Reply-To: <200312241214.hBOCE8Q11654@mailgate5.cinetic.de> References: <200312241214.hBOCE8Q11654@mailgate5.cinetic.de> Content-Type: text/plain Organization: MLB Associates Message-Id: <1072288171.3296.447.camel@hermes> Mime-Version: 1.0 Date: Thu, 25 Dec 2003 13:43:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] Run Redboot from flash X-SW-Source: 2003-12/txt/msg00307.txt.bz2 On Wed, 2003-12-24 at 05:14, Ricardo Andrino wrote: > Hello, > i have sent this mail to you a week ago with the .elf generated, > which you wanted to examine . I told you too that i am using the gcc 5.3. > Did you receive it? Yes. I don't see anything obvious, other than the order of the sections. I asked if you were running a RedBoot built after October 17. I believe that you said yes, but I need to know for sure that the sources were updated from *CVS* after that date. There was a minor change in RedBoot's ELF loader that could affect your problem. Also, what happens if you try to download a stripped binary? For example, run 'arm-elf-strip .elf' and then try to load it. > > Thanks a lot > Mery Christmas > > NOT FOUND schrieb am 16.12.03 14:26:48: > > Gary Thomas schrieb am 16.12.03 14:01:27: > > > > > > On Tue, 2003-12-16 at 05:37, Ricardo Andrino wrote: > > > > Hello, > > > > > > > > I think that there is a problem with the generated .elf file. > > > > I have run the applications with .bin and .srec and all work > > > > fine but if i try to do it with the .elf files an error comes > > > > ( 0x08054 not a RAM address, see please in the mails).I have > > > > done what all you me suggested, arm-elf-strip, and the problem > > > > comes again. Only to know why is happend. I can use .bin and > > > > .srec file to run my applications. > > > > > > What tools are you using (GCC, BINUTILS)? > > > Can you send me (or make available) the ELF image? I'd like > > > to examine it here. > > > > I use GCC with -g option. Here is the .elf file. > > Thanks > > > > > > > > > > > > Thanks a lot > > > > > > > > Nick Garnett schrieb am 12.12.03 16:09:03: > > > > > > > > > > "Ricardo Andrino" writes: > > > > > > > > > > > Ok i can see now the famous ecos world!!! > > > > > > > > > > > What i have done is to convert the hello.elf file into hello.bin, > > > > > > because the .elf file needs more memory that is available. Then > > > > > > Redbbot> load -r -m xmodem -b 0x0000c000, send the hello.bin and > > > > > > then Redboot>go 0x0000c000 or 0x0000c040, i can't remember now, and > > > > > > Hello Ecos world!! > > > > > > > > > > > > Thats problem is that if you use load -m xmodem without -b option > > > > > > the program is downloaded anywhere.Then a RAM application desnt't > > > > > > run from 0x00020000 does it? > > > > > > > > > > > > Ok thank you all of you for all, i will have a good weekend!!! > > > > > > > > > > If you converted it to an SRecord file rather than a straight binary, > > > > > you should be able to load that using "load -m x". > > > > > > > > > > I suspect that the problem may be in the .debug sections which have to > > > > > be loaded and disposed of before loading the actual code. Try running > > > > > arm-elf-strip on the ELF file and then load the stripped executable. > > > > > That ought to work. > > > > > > > > > > > > > > > -- > > > > > 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 > > > > > > > > > > > > > > > > > ______________________________________________________________________________ > > > > Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2 > > > > Kostenlos downloaden: http://screensaver.web.de/?mc=021110 > > > -- > > > Gary Thomas > > > MLB Associates > > > > > > > > > > ______________________________________________________________________________ > UNICEF bringt Kriegskinder in die Schule - helfen Sie mit! > https://www.unicef.de/spe/spe_03.php -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss