From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8323 invoked by alias); 2 May 2007 15:10:39 -0000 Received: (qmail 8315 invoked by uid 22791); 2 May 2007 15:10:39 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 May 2007 15:10:36 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 2BEC7195012E; Wed, 2 May 2007 09:10:35 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 4C32C19500C8; Wed, 2 May 2007 09:10:25 -0600 (MDT) Message-ID: <4638A9E0.2000909@mlbassoc.com> Date: Wed, 02 May 2007 15:10:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: alysson brito CC: ecos-discuss@ecos.sourceware.org References: <876437dd0705020801t68d84716s9a8c1c8be3dfa2a3@mail.gmail.com> <876437dd0705020802p3aa1463dud27d963ed09fa5eb@mail.gmail.com> In-Reply-To: <876437dd0705020802p3aa1463dud27d963ed09fa5eb@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: Trash when running RAM image X-SW-Source: 2007-05/txt/msg00013.txt.bz2 alysson brito wrote: > Hi > I am newbie on RedBoot. I am using redboot on an intel board. > I am [trying] to load and run a RAM image, since I do not want to mess > up the currently [runnable] image that is on the rom memory and is > working. > But the image I got from intel and the image I built from the sources > are showing up some trash on the console when i execute them > [for instance: $T0a0f:0c002000;0d:ec0ffd03;#39]. This pattern goes on > an on for each key I press. > I am loading the file redboot_RAM.srec [load -v -r -m xmodem -b > 0x00200000 redboot_RAM.srec] [I also tried via tftp, same result...] > and shooting "go" ro make it run, but all the time I get this output. > Would any know what might be wrong ? I'd guess I am executing a some > memory position that has nothing there ... But I do not know how to go > on. Any help would be really appreciated. > > I also tryed "go redboot_RAM.srec" but it did not work either... The options you are using for the download is causing the problem. Try this: RedBoot> lo -m xm redboot_RAM.srec RedBoot> go Your options do two things wrong: -r: downloads the image raw, which means you've loaded ASCII S-records into memory - these are not executable instructions -b: eCos programs are not relocatable, hence they must be loaded at their native address. 0x200000 is probably not the correct address. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss