From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13835 invoked by alias); 25 Jun 2012 16:29:15 -0000 Received: (qmail 13550 invoked by uid 22791); 25 Jun 2012 16:29:13 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pz0-f49.google.com (HELO mail-pz0-f49.google.com) (209.85.210.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Jun 2012 16:29:00 +0000 Received: by dadm1 with SMTP id m1so6001741dad.36 for ; Mon, 25 Jun 2012 09:28:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.129.198 with SMTP id ny6mr42393635pbb.22.1340641739832; Mon, 25 Jun 2012 09:28:59 -0700 (PDT) Received: by 10.68.194.1 with HTTP; Mon, 25 Jun 2012 09:28:59 -0700 (PDT) Date: Mon, 25 Jun 2012 16:29:00 -0000 Message-ID: From: David Fernandez To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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] Target ek-lm3s811 with template redboot does not build X-SW-Source: 2012-06/txt/msg00041.txt.bz2 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-limit=3D7000 -Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Wno-write-strings -mcpu=3Dcortex-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 =91cyg_sta= rt=92: /home/wifi/ecos/packages/redboot/current/src/main.c:282:34: error: =91CYGMEM_REGION_ram=92 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 =91do_go= =92: /home/wifi/ecos/packages/redboot/current/src/main.c:615:5: warning: implicit declaration of function =91HAL_DCACHE_SYNC=92 [-Wimplicit-function-declaration] /home/wifi/ecos/packages/redboot/current/src/main.c:617:2: warning: implicit declaration of function =91HAL_ICACHE_DISABLE=92 [-Wimplicit-function-declaration] /home/wifi/ecos/packages/redboot/current/src/main.c:618:2: warning: implicit declaration of function =91HAL_DCACHE_DISABLE=92 [-Wimplicit-function-declaration] /home/wifi/ecos/packages/redboot/current/src/main.c:621:5: warning: implicit declaration of function =91HAL_ICACHE_INVALIDATE_ALL=92 [-Wimplicit-function-declaration] /home/wifi/ecos/packages/redboot/current/src/main.c:622:5: warning: implicit declaration of function =91HAL_DCACHE_INVALIDATE_ALL=92 [-Wimplicit-function-declaration] /home/wifi/ecos/packages/redboot/current/src/main.c:634:2: warning: implicit declaration of function =91HAL_ICACHE_ENABLE=92 [-Wimplicit-function-declaration] /home/wifi/ecos/packages/redboot/current/src/main.c:635:2: warning: implicit declaration of function =91HAL_DCACHE_ENABLE=92 [-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: =91CYGMEM_REGION_ram=92 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 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss