From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18274 invoked by alias); 9 Feb 2007 07:55:25 -0000 Received: (qmail 18266 invoked by uid 22791); 9 Feb 2007 07:55:24 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.dsa-ac.de (HELO mail.dsa-ac.de) (62.112.80.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 Feb 2007 07:55:19 +0000 Received: from localhost (unknown [127.0.0.1]) by mail.dsa-ac.de (Postfix) with ESMTP id 5B6CD3C484; Fri, 9 Feb 2007 07:55:14 +0000 (UTC) Received: from mail.dsa-ac.de ([127.0.0.1]) by localhost (mailserver [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20589-04; Fri, 9 Feb 2007 08:55:13 +0100 (CET) Received: from pcgl.dsa-ac.de (PCGL.dsa-ac.de [172.29.17.23]) by mail.dsa-ac.de (Postfix) with ESMTP id 441433C446; Fri, 9 Feb 2007 08:55:11 +0100 (CET) Date: Fri, 09 Feb 2007 07:55:00 -0000 From: Guennadi Liakhovetski To: Gary Thomas Cc: ecos-devel@ecos.sourceware.org Subject: Re: RedBoot built with gcc 3.4.4 In-Reply-To: <45C9E2FA.9020703@mlbassoc.com> Message-ID: References: <20070207121127.GK19508@lunn.ch> <20070207125232.GL19508@lunn.ch> <45C9CE2B.6060504@mlbassoc.com> <45C9D74B.9070705@mlbassoc.com> <45C9E2FA.9020703@mlbassoc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at dsa-ac.de X-IsSubscribed: yes 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: 2007-02/txt/msg00017.txt.bz2 On Wed, 7 Feb 2007, Gary Thomas wrote: > In that case, what I would do is install a working RedBoot > (built with 3.3.2) and then experiment with a RAM version > built with the new tools. Put in some diag_printf() to > trace the code. You might even be able to debug this > using the serial connection and GDB (since that does > seem to be alive in your ROM/ROMRAM version) Well, yeah, looked shortly at this, but RAM build is not supported on this plaform and a quick try wasn't successful. OTOH, I realised, that I, probably, was wrong about where it crashes. The last messages that I see are from CPU clock switching code. I looked in those disassembled functions - they are VERY different. And I noticed that RedBoot / eCos doesn't specify any ARM version specific options. This toolchain builds kernels just fine, but the kernel does provide a few CPU-specific options. It also compiles user-space applications fine without any options - but that is user-space. So, there might be a problem with some supervisor mode insn. I tried adding "-mapcs-frame -march=armv5te -mtune=xscale -Wa,-mcpu=xscale" to c-flags, it didn't help. Looking further Thanks Guennadi --------------------------------- Guennadi Liakhovetski, Ph.D. DSA Daten- und Systemtechnik GmbH Pascalstr. 28 D-52076 Aachen Germany