From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8155 invoked by alias); 15 Mar 2012 08:50:46 -0000 Received: (qmail 8146 invoked by uid 22791); 15 Mar 2012 08:50:44 -0000 X-SWARE-Spam-Status: No, hits=-1.4 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; Thu, 15 Mar 2012 08:50:30 +0000 Received: from cog.dallaway.org.uk (cpc1-cmbg10-0-0-cust34.5-4.cable.virginmedia.com [81.102.132.35]) by tetra.codeconfidence.com (Postfix) with ESMTP id C71AB234C17C; Thu, 15 Mar 2012 08:50:28 +0000 (GMT) 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 q2F8oS6g018323; Thu, 15 Mar 2012 08:50:28 GMT Message-ID: <4F61AD54.6050201@dallaway.org.uk> Date: Thu, 15 Mar 2012 08:50:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.24 (X11/20111109) MIME-Version: 1.0 To: Sergei Gavrikov CC: ecos-devel@ecos.sourceware.org Subject: Re: eCos GNU tools 4.6.2-20120125 ready for testing References: <4F106345.4080902@siva.com.mk> <4F11574D.9070002@dallaway.org.uk> <4F11AC54.7000902@siva.com.mk> <4F1CB41C.90900@jifvik.org> <4F1DA9A0.5070702@siva.com.mk> <4F1FF5AD.4010901@ecoscentric.com> <4F39887A.5050905@siva.com.mk> <4F50F700.5080902@ecoscentric.com> <4F521D6A.4010500@siva.com.mk> <4F52B2C8.4010809@schuilenburg.org> <4F53C46B.4090502@dallaway.org.uk> <4F53FF0D.80107@ecoscentric.com> <4F574D4A.2090407@ecoscentric.com> <4F58EC32.9070103@ecoscentric.com> <4F5B8C70.4080208@dallaway.org.uk> <4F5E204B.5040402@ecoscentric.com> <4F5F4BFE.7030100@ecoscentric.com> <4F5F5691.4090009@siva.com.mk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2012-03/txt/msg00031.txt.bz2 Hi Sergei Sergei Gavrikov wrote: > I tried to build and run "thumb" tests for NXP ARM7TDMI (LPC2294) using > corresponding RedBoot/GDB > > ecos-v3_0-branchpoint GCC 4.3.2 most of tests failed > ecos AnonCVS GCC 4.3.2 most of tests failed > ecos AnonCVS GCC 4.6.2 most of tests failed > ecos AnonCVS GCC 4.6.3 most of tests failed > > Thus, it looks like that GCC 4.6.2 is not point of those fails. > > BTW, I never tried ro run "thumb" blobs before on my target and maybe > I should turn on/off more CDL options than just to force CYGHWR_THUMB > option. Enabling CYGHWR_THUMB should be sufficient. Be sure to "make clean" when switching to Thumb. Also, check that the -mthumb and -mthumb-interwork flags are definitely present during the building of your eCos tests. > So, I agree with the said "Thumb support looks broken" at the least for > lpc2xxx, lpc24xx variants, but, it seems to me it was broken even before > eCos 3.0. I have just verified that the kernel tm_basic test builds for target eb40a (ARM7) with RAM startup and CYGHWR_THUMB. The resulting binary runs under debug (via RedBoot) without problem. This is using the new eCos 4.6.2-20120125 test release toolchain. There could be a Thumb-related issue within a certain variant/platform HAL or device driver package. John Dallaway eCos maintainer http://www.dallaway.org.uk/john