From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28377 invoked by alias); 3 Aug 2011 07:38:20 -0000 Received: (qmail 28156 invoked by uid 22791); 3 Aug 2011 07:38:19 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from tetra.codeconfidence.com (HELO tetra.codeconfidence.com) (94.229.66.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Aug 2011 07:38:04 +0000 Received: from cog.dallaway.org.uk (cpc1-cmbg14-0-0-cust47.5-4.cable.virginmedia.com [213.106.80.48]) by tetra.codeconfidence.com (Postfix) with ESMTP id DAB83234C6FE; Wed, 3 Aug 2011 08:38:01 +0100 (BST) Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id p737c19E027086; Wed, 3 Aug 2011 08:38:01 +0100 Message-ID: <4E38FAD9.40901@dallaway.org.uk> Date: Wed, 03 Aug 2011 07:38:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.24 (X11/20110622) MIME-Version: 1.0 To: gmail CC: ecos-discuss@ecos.sourceware.org References: <4E372A70.2090705@gmail.com> <4E372FA0.7090608@mlbassoc.com> <4E373C1B.7050408@gmail.com> <4E37A1CC.3010702@dallaway.org.uk> <4E38879E.9020200@gmail.com> In-Reply-To: <4E38879E.9020200@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 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: [ECOS] Re: eCos 3.0 and TS2750 X-SW-Source: 2011-08/txt/msg00008.txt.bz2 JJ gmail wrote: > I think that I am making progress as at least I've been able to build > the library and the tests. > > Though I am not able to load the tests either via the 'Run Tests' or the > Redboot 'load' command. > > The 'load' command appears to indicate that the file is not linked > correctly as I get the error message: > > Abort! Attempt to load ELF data to address: 0x00008000 which is not > in RAM. > > I've tried configuring the Startup type: to RAM but I get a build error > that the mlt_arm_arm9_ts7250_ram.ldi does not exist. > > I am trying build and load via the Redboot monitor, is this the right > method for building for that scenario? I have not looked at the sources, but you would generally build eCos for RAM startup if you wish to download to RAM via the RedBoot "load" command or RedBoot's GDB stub. It would appear that the TS7250 RedBoot port does not include a linker script for RAM startup, hence the build error. Perhaps the TS7250 RedBoot port was developed primarily for launching non-eCos executables? Compare your TS7250 platform HAL package with other platform HAL packages to see how mlt_arm_arm9_ts7250_ram.ldi and mlt_arm_arm9_ts7250_ram.h could be implemented. These files are usually located in the include/pkgconf/ directory of the various eCos platform HAL packages. I hope this helps. John Dallaway eCos maintainer http://www.dallaway.org.uk/john -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss