From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24896 invoked by alias); 30 Mar 2007 14:51:52 -0000 Received: (qmail 24850 invoked by uid 22791); 30 Mar 2007 14:51:49 -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; Fri, 30 Mar 2007 15:51:38 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 0B7E9195029E; Fri, 30 Mar 2007 08:51:27 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id BA1E1195008F; Fri, 30 Mar 2007 08:51:23 -0600 (MDT) Message-ID: <460D23EB.5050602@mlbassoc.com> Date: Fri, 30 Mar 2007 15:07:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: dorin@gr-303.com CC: ecos-discuss@sources.redhat.com References: <694515.39072.qm@web38210.mail.mud.yahoo.com> In-Reply-To: <694515.39072.qm@web38210.mail.mud.yahoo.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] ecos/redboot arm at91 problems X-SW-Source: 2007-03/txt/msg00188.txt.bz2 Michael Dorin wrote: > Hello, > I am trying to get a basic ecos and reboot built > going. Nothing fancy. Here are the steps I am > taking right from the start. I am running > on fedora core 6 and have installed ecos/redboot > today. I have tried to make the build two ways, > without luck. I can built without redboot, but I > really want redboot too. > Please help. > -Mike > > 1) wget && sh ecos-install.tcl > > 2) Install arm-elf GNU tools > > 3) source ecosenv.sh > > 4) ecosconfig new at91 reboot > > results: > U CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0 > > 5) ecosconfig tree > > 6) results: > cos-2.0/packages/hal/arm/arch/v2_0 > -I/home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src > -I/home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/tests > -I. > -I/home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/ > -mcpu=arm7tdmi -mno-short-load-words -Wall > -Wpointer-arith -Wstrict-prototypes -Winline -Wundef > -Woverloaded-virtual -g -O2 -ffunction-sections > -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc > -finit-priority -Wp,-MD,src/redboot_linux_exec.tmp -o > src/hal_arm_arch_redboot_linux_exec.o > /home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/redboot_linux_exec.c > /home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/redboot_linux_exec.c:76:3: > #error > make[1]: *** [src/redboot_linux_exec.o.d] Error 1 > make[1]: Leaving directory > `/home/mike/ecos/at91-pass3/hal/arm/arch/v2_0' > make: *** [build] Error 2 > > > 7) Attempt #2 > > 7.1) ecosconfig new at91 > 7.2) ecosconfig import ecosconfig import > /home/mike/ecos/ecos-2.0/packages/hal/arm/at91/v2_0/misc/redboot_RAM.ecm > > 7.3) ecosconfig tree > 7.4) make > 7.5) results This should work, but 7.1 needs to be: ecosconfig new at91 redboot Otherwise, you end up with the default configuration and a .ecm file which tries to turn it into a RedBoot one which doesn't work well at all. Hint: you *really* should be using the CVS tree and not the old 2.0 "release" which is now *many* [in truth, nearly 5!] years old. -- ------------------------------------------------------------ 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