From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20671 invoked by alias); 27 Nov 2003 01:53:57 -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 20656 invoked from network); 27 Nov 2003 01:53:55 -0000 Received: from unknown (HELO hotmail.com) (65.54.245.41) by sources.redhat.com with SMTP; 27 Nov 2003 01:53:55 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 26 Nov 2003 17:53:54 -0800 Received: from 218.2.150.210 by by1fd.bay1.hotmail.msn.com with HTTP; Thu, 27 Nov 2003 01:53:54 GMT X-Originating-IP: [218.2.150.210] X-Originating-Email: [xieboyan@hotmail.com] From: "xie boyan" To: ecos-discuss@sources.redhat.com Bcc: Date: Thu, 27 Nov 2003 01:53:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 27 Nov 2003 01:53:54.0990 (UTC) FILETIME=[507574E0:01C3B489] Subject: Re: [ECOS] Why the application run on redboot uncorrectly? X-SW-Source: 2003-11/txt/msg00409.txt.bz2 > > > I download the hello elf file by using command: > > > load -v -h MyHost -m tftp /tftpboot/hello > > > and it failed by displaying "Abort! Attempt to load ELF data to address: > > > 0x00020000 which > > > is not in RAM." > > > > A little logical thinking is required. "is not in RAM" probably means > > its trying to load it into ROM. So you have probably built a ROM > > app. Try building a RAM application. > > > > Andrew > >But for the snds platform if nothing is changed 0x20000 is RAM. It should >be right. > >Maybe RedBoot is a RAM version? > >Roland Hi, Roland My RedBoot is exactly the ROM version and my application is definitely the RAM version. I have read some earlier archives in mailing list, the same issue occured but it seems not have a final answer. This especially seems to be a problem of snds eval board, mybe you can find out some bugs in the redboot source in the package? I've tried to enforce the base=0x300000 in the entry of function load_elf_image() whithin the source file load.c in the redboot source directory, and the command RedBoot> load -v -h MyHost_IP -m tftp /tftpboot/hello works out. It looks all right because of the screen messages are OK, especially the memory size which contain the downloaded elf codes exactly equal to the original elf file size in host. I think this means that the source of redboot has at least a load base address bug. The first problem, i.e. the elf load, has been resolved by temporarily enforcing base=0x300000, but another problem comes up. When I do "GO" command, the application hello still does not say "Hello !". --Xie Boyan _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss