From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7220 invoked by alias); 9 Mar 2006 16:18:58 -0000 Received: (qmail 7211 invoked by uid 22791); 9 Mar 2006 16:18:58 -0000 X-Spam-Check-By: sourceware.org Received: from dns2-ana.paetec.net (HELO dns2-ana.paetec.net) (66.251.33.7) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Mar 2006 16:18:56 +0000 Received: from dtcnt40s4.dtccom.com ([66.153.88.146]) by dns2-ana.paetec.net (8.13.5/8.13.5) with ESMTP id k29GImfl029921; Thu, 9 Mar 2006 11:18:54 -0500 (EST) Received: by DTCNT40S4 with Internet Mail Service (5.5.2658.3) id ; Thu, 9 Mar 2006 11:15:49 -0500 Message-ID: <3EDBCCE80E95E744A99895CA464987C4A7D293@dtcsrvr09> From: "Doyle, Patrick" To: "'Andrew Lunn'" , "Doyle, Patrick" Cc: ecos-discuss@ecos.sourceware.org Date: Thu, 09 Mar 2006 16:18:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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] JFFS2 on ARM target X-SW-Source: 2006-03/txt/msg00101.txt.bz2 > -----Original Message----- > From: Andrew Lunn [mailto:andrew@lunn.ch]=20 > Sent: Wednesday, March 08, 2006 4:58 PM > To: Doyle, Patrick > Cc: ecos-discuss@ecos.sourceware.org > Subject: Re: [ECOS] JFFS2 on ARM target >=20 > packages/fs/jffs2/current/src/fs-ecos.c:24 >=20 > #if (__GNUC__ =3D=3D 3) && (__GNUC_MINOR__ =3D=3D 2) && defined=20 > (__ARM_ARCH_4__) > #error This compiler is known to be broken. Please see: > #error=20 > http://ecos.sourceware.org/ml/ecos-patches/2003-08/msg00006.html > #endif >=20 > 2003-09-23 Andrew Lunn >=20 > * src/fs-ecos.c: Added test to detect known broken=20 > ARM compiler >=20 > Andrew >=20 Thanks Andrew, I'll look at mtd distribution, see if it includes =D8yvind's patch, and fig= ure out what to do next based on what I find there. In the mean time, experimental evidence suggests that the 'defined(__ARM_ARCH_4__)' should be 'defined(__ARM_ARCH_4T_)' in fs-ecos.c. At least on my system, which compiles fs-ecos.c with the following command: arm-elf-gcc -c -I/home/wpd/ess/redboot/dbw-redboot-ram/install/include -I/home/wpd/eCos/ecos-20060228/packages/fs/jffs2/current -I/home/wpd/eCos/ecos-20060228/packages/fs/jffs2/current/src -I/home/wpd/eCos/ecos-20060228/packages/fs/jffs2/current/tests -I. -I/home/wpd/eCos/ecos-20060228/packages/fs/jffs2/current/src/ -finline-limit=3D7000 -mcpu=3Darm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-exceptions -D__ECOS -nostdinc -iwithprefix include -Wp,-MD,src/fs-ecos.tmp -o src/fs_jffs2_fs-ecos.o /home/wpd/eCos/ecos-20060228/packages/fs/jffs2/current/src/fs-ecos.c --wpd -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss