From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9552 invoked by alias); 28 Jun 2012 23:33:14 -0000 Received: (qmail 9543 invoked by uid 22791); 28 Jun 2012 23:33:13 -0000 X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com) (209.85.212.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Jun 2012 23:33:00 +0000 Received: by wibhq4 with SMTP id hq4so461617wib.12 for ; Thu, 28 Jun 2012 16:32:59 -0700 (PDT) Received: by 10.181.13.142 with SMTP id ey14mr363112wid.19.1340926379100; Thu, 28 Jun 2012 16:32:59 -0700 (PDT) Received: from localhost.localdomain (host-2-96-99-49.as13285.net. [2.96.99.49]) by mx.google.com with ESMTPS id q6sm3465006wiy.0.2012.06.28.16.32.57 (version=SSLv3 cipher=OTHER); Thu, 28 Jun 2012 16:32:58 -0700 (PDT) Message-ID: <4FECE9A9.7080402@googlemail.com> Date: Thu, 28 Jun 2012 23:33:00 -0000 From: David Fernandez User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: David Fernandez CC: ecos-discuss@ecos.sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit 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: Target ek-lm3s811 with template redboot does not build X-SW-Source: 2012-06/txt/msg00062.txt.bz2 On 25/06/12 17:28, David Fernandez wrote: > Hi There, > > May be that this is known to be incomplete (at least for redboot), but > when building for ecosconfig ek-lm3s811 redboot, I get the following > errors: > ... > arm-eabi-gcc -c -I/home/wifi/eCos/install/include > -I/home/wifi/ecos/packages/redboot/current > -I/home/wifi/ecos/packages/redboot/current/src > -I/home/wifi/ecos/packages/redboot/current/tests -I. > -I/home/wifi/ecos/packages/redboot/current/src/ -finline-limitp00 > -Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Wno-write-strings > -mcpu=rtex-m3 -mthumb -g -O2 -ffunction-sections -fdata-sections > -fno-exceptions -Wp,-MD,src/main.tmp -o src/redboot_main.o > /home/wifi/ecos/packages/redboot/current/src/main.c > /home/wifi/ecos/packages/redboot/current/src/main.c: In function ‘cyg_start’: > /home/wifi/ecos/packages/redboot/current/src/main.c:282:34: error: > ‘CYGMEM_REGION_ram’ undeclared (first use in this function) > /home/wifi/ecos/packages/redboot/current/src/main.c:282:34: note: each > undeclared identifier is reported only once for each function it > appears in > /home/wifi/ecos/packages/redboot/current/src/main.c: In function ‘do_go’: > /home/wifi/ecos/packages/redboot/current/src/main.c:615:5: warning: > implicit declaration of function ‘HAL_DCACHE_SYNC’ > [-Wimplicit-function-declaration] > /home/wifi/ecos/packages/redboot/current/src/main.c:617:2: warning: > implicit declaration of function ‘HAL_ICACHE_DISABLE’ > [-Wimplicit-function-declaration] > /home/wifi/ecos/packages/redboot/current/src/main.c:618:2: warning: > implicit declaration of function ‘HAL_DCACHE_DISABLE’ > [-Wimplicit-function-declaration] > /home/wifi/ecos/packages/redboot/current/src/main.c:621:5: warning: > implicit declaration of function ‘HAL_ICACHE_INVALIDATE_ALL’ > [-Wimplicit-function-declaration] > /home/wifi/ecos/packages/redboot/current/src/main.c:622:5: warning: > implicit declaration of function ‘HAL_DCACHE_INVALIDATE_ALL’ > [-Wimplicit-function-declaration] > /home/wifi/ecos/packages/redboot/current/src/main.c:634:2: warning: > implicit declaration of function ‘HAL_ICACHE_ENABLE’ > [-Wimplicit-function-declaration] > /home/wifi/ecos/packages/redboot/current/src/main.c:635:2: warning: > implicit declaration of function ‘HAL_DCACHE_ENABLE’ > [-Wimplicit-function-declaration] > make[1]: *** [src/main.o.d] Error 1 > make[1]: Leaving directory `/home/wifi/eCos/redboot/current' > make: *** [build] Error 2 > > The first one: > /home/wifi/ecos/packages/redboot/current/src/main.c:282:34: error: > ‘CYGMEM_REGION_ram’ undeclared (first use in this function) > > Is obviously due to the platform assuming no "ram", but "sram" > instead, while the cyg_start() function in RedBoot expects to have it > defined in all cases. > > I suspect the others are similar cases where RedBoot expects something > defined for them (I guess even if the definitions are dummies). > > So it might be that this platform is not currently supported by > Redboot, or in progress, but I might be missing some package that I > should add... > > Anybody knows something about this? > > Cheers Never mind... In the page http://ecos.sourceware.org/hardware.html there is a blank cell for the redboot support in the hardware table for the platform. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss