From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29297 invoked by alias); 3 Jun 2006 15:12:25 -0000 Received: (qmail 29278 invoked by uid 22791); 3 Jun 2006 15:12:21 -0000 X-Spam-Check-By: sourceware.org Received: from embedded-zone.com (HELO embedded-zone.com) (70.91.86.210) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 Jun 2006 15:12:05 +0000 Received: from [192.168.0.5] (c-68-48-223-67.hsd1.md.comcast.net [68.48.223.67]) by embedded-zone.com (8.12.5/8.12.5) with ESMTP id k53FC6fk013139; Sat, 3 Jun 2006 11:12:07 -0400 Message-ID: <4481A6C1.3010807@embedded-zone.com> Date: Sat, 03 Jun 2006 15:12:00 -0000 From: Moussa Ba User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060530) MIME-Version: 1.0 To: Andrew Lunn , ecos-discuss@ecos.sourceware.org References: <447F629F.9040205@embedded-zone.com> <1149202357.7288.144.camel@hermes> <44809B5D.1030202@embedded-zone.com> <20060603080920.GE15114@lunn.ch> In-Reply-To: <20060603080920.GE15114@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Build Error when Compiling redboot X-SW-Source: 2006-06/txt/msg00032.txt.bz2 Thank you I had went back and figured it out from the RedBoot manual. Thank you for the help. I have recompiled the mcb2100 version of ecos, and to save RAM I decreased the stack size allocated to the main from 8192 to 2048 is this reasonable, I don't expect to be going too deep in the stack but I am not sure if ecos related functions needed this much. Moussa Andrew Lunn wrote: > On Fri, Jun 02, 2006 at 04:11:09PM -0400, Moussa Ba wrote: > >> I was able to successfully do the following >> ecosconfig new at91sam7s >> ecosconfig tree >> ecosconfig check >> make >> make tests >> >> After this I launched the configtool, I did a Build->Packages->Redboot... >> >> I am probably doing this wrong, I am simply trying to compile Redboot >> for the at91 and look a memory usage to confirm or infirm that I am able >> to run Redboot on aa 128K/16KRAM Oki ARM processor. >> >> Moussa >> > > The correct way to build redboot is: > > ~/eCos/work$ rm -fr * > ~/eCos/work$ ecosconfig new at91sam7sek redboot > U CYGHWR_HAL_ARM_AT91, new inferred value AT91SAM7S > U CYGHWR_HAL_ARM_AT91_FIQ, new inferred value 1 > U CYGSEM_HAL_ROM_MONITOR, new inferred value 1 > U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0 > ~/eCos/work$ ecosconfig import ../anoncvs-clean/packages/hal/arm/at91/at91sam7s/current/misc/redboot_ROM.ecm > ~/eCos/work$ ecosconfig tree > ~/eCos/work$ make -s > headers finished > build finished > ~/eCos/work$ ls -l install/bin/ > total 740 > -rwxr-xr-x 1 lunn lunn 65572 Jun 3 10:06 redboot.bin* > -rwxr-xr-x 1 lunn lunn 410942 Jun 3 10:06 redboot.elf* > -rwxr-xr-x 1 lunn lunn 120656 Jun 3 10:06 redboot.img* > -rwxr-xr-x 1 lunn lunn 188648 Jun 3 10:06 redboot.srec* > > The redboot user guide contains a section about rebuilding Redboot: > http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html > > Andrew > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss