From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 01:30:39 2012 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6033106568F for ; Sun, 4 Mar 2012 01:30:39 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 732EA8FC1A for ; Sun, 4 Mar 2012 01:30:39 +0000 (UTC) Received: from [10.199.87.30] (mobile-198-228-210-065.mycingular.net [198.228.210.65]) by mx0.deglitch.com (Postfix) with ESMTPSA id 1137D8FC27; Sun, 4 Mar 2012 05:30:37 +0400 (MSK) References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Message-Id: <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> X-Mailer: iPad Mail (9A405) From: Stanislav Sedov Date: Sat, 3 Mar 2012 17:29:58 -0800 To: Tim Kientzle Cc: "arm@freebsd.org" Subject: Re: ports cross-compilers vs. native toolchain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 01:30:39 -0000 On Mar 3, 2012, at 11:03 AM, Tim Kientzle wrote: > > 2) Missing div/mod functions in ARM libgcc. > > You can work around this by adding -lc to a couple > of places in the u-boot makefiles. I'm also looking into > a fix for FreeBSD libgcc. (Looks like these functions > were disabled deliberately? Hmm, maybe they are disabled because libc supplies them? IIRC these do exists in cross-gcc -- it builds it with newlib libc, not FreeBSD libc, thus you cannot use it cross-compile FreeBSD userland applications, but it is perfect for standalone stuff. -- ST4096-RIPE From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 03:23:08 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EFEB106566B; Sun, 4 Mar 2012 03:23:08 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 6525B8FC12; Sun, 4 Mar 2012 03:23:08 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q243N757076981; Sun, 4 Mar 2012 03:23:07 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.119] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id k3kby8rqd3cj5n2yre67v3aqx2; Sun, 04 Mar 2012 03:23:07 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> Date: Sat, 3 Mar 2012 19:23:05 -0800 Content-Transfer-Encoding: 7bit Message-Id: <3206B98F-E9F1-4758-9741-AF29FE7CCBFA@kientzle.com> References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> To: Stanislav Sedov X-Mailer: Apple Mail (2.1257) Cc: "arm@freebsd.org" Subject: Re: ports cross-compilers vs. native toolchain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 03:23:08 -0000 On Mar 3, 2012, at 5:29 PM, Stanislav Sedov wrote: > > On Mar 3, 2012, at 11:03 AM, Tim Kientzle wrote: > >> >> 2) Missing div/mod functions in ARM libgcc. >> >> You can work around this by adding -lc to a couple >> of places in the u-boot makefiles. I'm also looking into >> a fix for FreeBSD libgcc. (Looks like these functions >> were disabled deliberately? > > Hmm, maybe they are disabled because libc supplies them? Yes, this seems to be exactly the rationale. If I copy the various div/mod object files from libc.a into libgcc.a, then u-boot compiles out-of-the-box with the FreeBSD xdev tools. I'm rebuilding the xdev tools now with the obvious one-line patch to libcompiler_rt to verify further. Is there any compelling reason they can't be in both places? Tim P.S. It is just a tad confusing that libgcc.a and libgcc.so are completely different libraries with different contents compiled from different sources. ;-) From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 08:08:03 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46CC9106564A for ; Sun, 4 Mar 2012 08:08:03 +0000 (UTC) (envelope-from bsalinux@gmail.com) Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by mx1.freebsd.org (Postfix) with ESMTP id F30B58FC0A for ; Sun, 4 Mar 2012 08:08:02 +0000 (UTC) Received: by qcsq13 with SMTP id q13so1260469qcs.17 for ; Sun, 04 Mar 2012 00:08:02 -0800 (PST) Received-SPF: pass (google.com: domain of bsalinux@gmail.com designates 10.224.219.212 as permitted sender) client-ip=10.224.219.212; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bsalinux@gmail.com designates 10.224.219.212 as permitted sender) smtp.mail=bsalinux@gmail.com; dkim=pass header.i=bsalinux@gmail.com Received: from mr.google.com ([10.224.219.212]) by 10.224.219.212 with SMTP id hv20mr1660234qab.87.1330848482207 (num_hops = 1); Sun, 04 Mar 2012 00:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lEEHz/IbH6ERWt+42D3rr81+/LrFNMOASd0eiJ585c8=; b=zKSfL4oZZvE2F8w3aM8Sx5CN2kbWsEcXswOV5ywaFIB+Xmgu+bvXr9XI36/6ahX6Tk LLy9PsXcAk7cK3PiTEufk9ZmSGYfA3sp9IxSniMnIFKQckBrphHdtIqT8OLWa9QG0TeR JlArg2JOKKmYJsD3TE0XvCWjzOocGj5992dNQZrv7l6ylA2yxqFTjdYFNSJ15mLzt3gi 7Pv20Lo09CJwMv9n5cEfVra+te4bbsWrdboijXGuOOOOK/GOJCpJjQmT+4QmeAN+hW+O 2bCt+w02jYolYhvtwKWra+S+JdAY0Y9dWNwSAII4jfp0oWBvKNQCDId7aNO+03pG4MTO +e/A== MIME-Version: 1.0 Received: by 10.224.219.212 with SMTP id hv20mr1426685qab.87.1330846789741; Sat, 03 Mar 2012 23:39:49 -0800 (PST) Received: by 10.229.211.80 with HTTP; Sat, 3 Mar 2012 23:39:49 -0800 (PST) Date: Sat, 3 Mar 2012 23:39:49 -0800 Message-ID: From: "bsalinux@gmail.com" To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Support for Raspberry-PI X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 08:08:03 -0000 Hi, Is there any interest in Raspberry-PI. Looks interesting. Thanks. From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 08:40:13 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFEBD106566B; Sun, 4 Mar 2012 08:40:13 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 88E7C8FC0A; Sun, 4 Mar 2012 08:40:13 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q248e7fC078697; Sun, 4 Mar 2012 08:40:07 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.119] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id xabuahg48xx75x5udk9kgdfuzs; Sun, 04 Mar 2012 08:40:06 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <3206B98F-E9F1-4758-9741-AF29FE7CCBFA@kientzle.com> Date: Sun, 4 Mar 2012 00:40:06 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> <3206B98F-E9F1-4758-9741-AF29FE7CCBFA@kientzle.com> To: Stanislav Sedov X-Mailer: Apple Mail (2.1257) Cc: "arm@freebsd.org" Subject: Re: native toolchain for freestanding apps X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 08:40:13 -0000 On Mar 3, 2012, at 7:23 PM, Tim Kientzle wrote: > On Mar 3, 2012, at 5:29 PM, Stanislav Sedov wrote: >> On Mar 3, 2012, at 11:03 AM, Tim Kientzle wrote: >>> >>> 2) Missing div/mod functions in ARM libgcc. >>> >> >> Hmm, maybe they are disabled because libc supplies them? > > If I copy the various div/mod object files from libc.a into > libgcc.a, then u-boot compiles ... > > Is there any compelling reason they can't be in both places? Here's the patch for libcompiler_rt (aka libgcc.a) that just includes an extra copy of the numeric routines (duplicating the ones in libc). With this, I'm now able to build u-boot (and other freestanding programs) using the FreeBSD xdev tools on ARM. Any comments? Index: lib/libcompiler_rt/Makefile =================================================================== --- lib/libcompiler_rt/Makefile (revision 232481) +++ lib/libcompiler_rt/Makefile (working copy) @@ -126,8 +126,8 @@ umoddi3 \ umodti3 -# These are already shipped by libc.a on arm and mips -.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" +# These are already shipped by libc.a on mips +.if ${MACHINE_CPUARCH} != "mips" SRCF+= adddf3 \ addsf3 \ divdf3 \ From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 09:39:25 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A884C106566B for ; Sun, 4 Mar 2012 09:39:25 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from mail.bluewatersys.com (mail.bluewatersys.com [202.124.120.130]) by mx1.freebsd.org (Postfix) with ESMTP id 20C738FC1C for ; Sun, 4 Mar 2012 09:39:24 +0000 (UTC) Received: (qmail 25643 invoked by uid 89); 4 Mar 2012 09:15:54 -0000 Received: from unknown (HELO localhost) (aturner@203.118.177.218) by 0 with ESMTPA; 4 Mar 2012 09:15:54 -0000 Date: Sun, 4 Mar 2012 22:12:19 +1300 From: Andrew Turner To: Tim Kientzle Message-ID: <20120304221219.434706ca@fubar.geek.nz> In-Reply-To: References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> <3206B98F-E9F1-4758-9741-AF29FE7CCBFA@kientzle.com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "arm@freebsd.org" Subject: Re: native toolchain for freestanding apps X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 09:39:25 -0000 On Sun, 4 Mar 2012 00:40:06 -0800 Tim Kientzle wrote: > On Mar 3, 2012, at 7:23 PM, Tim Kientzle wrote: > > On Mar 3, 2012, at 5:29 PM, Stanislav Sedov wrote: > >> On Mar 3, 2012, at 11:03 AM, Tim Kientzle wrote: > >>> > >>> 2) Missing div/mod functions in ARM libgcc. > >>> > >> > >> Hmm, maybe they are disabled because libc supplies them? > > > > If I copy the various div/mod object files from libc.a into > > libgcc.a, then u-boot compiles ... > > > > Is there any compelling reason they can't be in both places? Have you tried to build a FreeBSD binary when both lots of symbols are provided? If it links properly then I can't think of any reason we couldn't provide both. The compiler-rt versions are hidden so shouldn't be exposed. > Here's the patch for libcompiler_rt (aka libgcc.a) that just includes > an extra copy of the numeric routines (duplicating the ones in libc). > > With this, I'm now able to build u-boot (and other freestanding > programs) using the FreeBSD xdev tools on ARM. > > Any comments? I have done the same with the ARM EABI support as compiler-rt provides the required __aeabi_* symbols. This will mean with it's support the libc versions are unneeded. Andrew From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 10:17:43 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 83A88106564A for ; Sun, 4 Mar 2012 10:17:43 +0000 (UTC) (envelope-from se@freebsd.org) Received: from nm19-vm0.bullet.mail.ukl.yahoo.com (nm19-vm0.bullet.mail.ukl.yahoo.com [217.146.183.113]) by mx1.freebsd.org (Postfix) with SMTP id D4DA18FC08 for ; Sun, 4 Mar 2012 10:17:42 +0000 (UTC) Received: from [217.146.183.183] by nm19.bullet.mail.ukl.yahoo.com with NNFMP; 04 Mar 2012 10:04:50 -0000 Received: from [217.146.183.123] by tm14.bullet.mail.ukl.yahoo.com with NNFMP; 04 Mar 2012 10:04:50 -0000 Received: from [127.0.0.1] by smtp112.mail.ukl.yahoo.com with NNFMP; 04 Mar 2012 10:04:50 -0000 X-Yahoo-Newman-Id: 78715.15241.bm@smtp112.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: HmZaiEcVM1msI.jv2KJkS24Z_6xoFgfvBrc2oNK6KSISWwf tHxUvDKZ8OrP4YQ_8B8Eh_Rt2RKCc1Hhaf.cMglAEOmsQ9wHctQZMaKGnmdj Wt_R5ciVVHo1IyzyKikBfZAcEl0zGBm5WKsgsPJwjZ5aoR9uObw0gid4SJFE 0KC7XwdwsHSLD0ZoIlyb8czl69._Fz9FEu7Y.u66PmNECeM8WEZpo.6vjZx6 gv9kpHaPGq3LxcgnZPQHs0.qr2gc8mwD.KqNUppqJ0o3l6Caur.V6EHzGvqS PzvtAc_zvUUXOgoZrMQxVQE2pKI.vwFHibs7bPx.2wdks3fVYg.vYb_Nl_qs k.6i0x5sS2X.oBPz1E6p192fCiOsxxJIppPUYfX6JPeNAKg4_9wfQ_hloJA- - X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. Received: from [192.168.119.22] (se@81.173.157.179 with plain) by smtp112.mail.ukl.yahoo.com with SMTP; 04 Mar 2012 02:04:49 -0800 PST Message-ID: <4F533E46.1070105@freebsd.org> Date: Sun, 04 Mar 2012 11:04:54 +0100 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: "bsalinux@gmail.com" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Support for Raspberry-PI X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 10:17:43 -0000 Am 04.03.2012 08:39, schrieb bsalinux@gmail.com: > Hi, > > Is there any interest in Raspberry-PI. Looks interesting. Definitely! Did you manage to get one? I tried to, but was only able to register for the next batch ... Regards, STefan From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 11:49:44 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 830F0106564A; Sun, 4 Mar 2012 11:49:44 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 421718FC08; Sun, 4 Mar 2012 11:49:43 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q24Bnbp2048042; Sun, 4 Mar 2012 06:49:37 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q24Bnbtv048025; Sun, 4 Mar 2012 11:49:37 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 4 Mar 2012 11:49:37 GMT Message-Id: <201203041149.q24Bnbtv048025@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 11:49:44 -0000 TB --- 2012-03-04 10:20:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-04 10:20:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-03-04 10:20:00 - cleaning the object tree TB --- 2012-03-04 10:20:00 - cvsupping the source tree TB --- 2012-03-04 10:20:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-03-04 10:25:25 - building world TB --- 2012-03-04 10:25:25 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 10:25:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 10:25:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 10:25:25 - SRCCONF=/dev/null TB --- 2012-03-04 10:25:25 - TARGET=arm TB --- 2012-03-04 10:25:25 - TARGET_ARCH=arm TB --- 2012-03-04 10:25:25 - TZ=UTC TB --- 2012-03-04 10:25:25 - __MAKE_CONF=/dev/null TB --- 2012-03-04 10:25:25 - cd /src TB --- 2012-03-04 10:25:25 - /usr/bin/make -B buildworld >>> World build started on Sun Mar 4 10:25:25 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Mar 4 11:18:02 UTC 2012 TB --- 2012-03-04 11:18:02 - cd /src/sys/arm/conf TB --- 2012-03-04 11:18:02 - /usr/sbin/config -m AVILA TB --- 2012-03-04 11:18:02 - building AVILA kernel TB --- 2012-03-04 11:18:02 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:18:02 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:18:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:18:02 - SRCCONF=/dev/null TB --- 2012-03-04 11:18:02 - TARGET=arm TB --- 2012-03-04 11:18:02 - TARGET_ARCH=arm TB --- 2012-03-04 11:18:02 - TZ=UTC TB --- 2012-03-04 11:18:02 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:18:02 - cd /src TB --- 2012-03-04 11:18:02 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Sun Mar 4 11:18:02 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AVILA completed on Sun Mar 4 11:21:06 UTC 2012 TB --- 2012-03-04 11:21:06 - cd /src/sys/arm/conf TB --- 2012-03-04 11:21:06 - /usr/sbin/config -m BWCT TB --- 2012-03-04 11:21:06 - building BWCT kernel TB --- 2012-03-04 11:21:06 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:21:06 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:21:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:21:06 - SRCCONF=/dev/null TB --- 2012-03-04 11:21:06 - TARGET=arm TB --- 2012-03-04 11:21:06 - TARGET_ARCH=arm TB --- 2012-03-04 11:21:06 - TZ=UTC TB --- 2012-03-04 11:21:06 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:21:06 - cd /src TB --- 2012-03-04 11:21:06 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Sun Mar 4 11:21:06 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for BWCT completed on Sun Mar 4 11:23:18 UTC 2012 TB --- 2012-03-04 11:23:18 - cd /src/sys/arm/conf TB --- 2012-03-04 11:23:18 - /usr/sbin/config -m CAMBRIA TB --- 2012-03-04 11:23:18 - building CAMBRIA kernel TB --- 2012-03-04 11:23:18 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:23:18 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:23:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:23:18 - SRCCONF=/dev/null TB --- 2012-03-04 11:23:18 - TARGET=arm TB --- 2012-03-04 11:23:18 - TARGET_ARCH=arm TB --- 2012-03-04 11:23:18 - TZ=UTC TB --- 2012-03-04 11:23:18 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:23:18 - cd /src TB --- 2012-03-04 11:23:18 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Sun Mar 4 11:23:18 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CAMBRIA completed on Sun Mar 4 11:26:16 UTC 2012 TB --- 2012-03-04 11:26:16 - cd /src/sys/arm/conf TB --- 2012-03-04 11:26:16 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-03-04 11:26:16 - building CNS11XXNAS kernel TB --- 2012-03-04 11:26:16 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:26:16 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:26:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:26:16 - SRCCONF=/dev/null TB --- 2012-03-04 11:26:16 - TARGET=arm TB --- 2012-03-04 11:26:16 - TARGET_ARCH=arm TB --- 2012-03-04 11:26:16 - TZ=UTC TB --- 2012-03-04 11:26:16 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:26:16 - cd /src TB --- 2012-03-04 11:26:16 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Sun Mar 4 11:26:16 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CNS11XXNAS completed on Sun Mar 4 11:28:45 UTC 2012 TB --- 2012-03-04 11:28:45 - cd /src/sys/arm/conf TB --- 2012-03-04 11:28:45 - /usr/sbin/config -m CRB TB --- 2012-03-04 11:28:45 - building CRB kernel TB --- 2012-03-04 11:28:45 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:28:45 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:28:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:28:45 - SRCCONF=/dev/null TB --- 2012-03-04 11:28:45 - TARGET=arm TB --- 2012-03-04 11:28:45 - TARGET_ARCH=arm TB --- 2012-03-04 11:28:45 - TZ=UTC TB --- 2012-03-04 11:28:45 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:28:45 - cd /src TB --- 2012-03-04 11:28:45 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Sun Mar 4 11:28:45 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CRB completed on Sun Mar 4 11:32:04 UTC 2012 TB --- 2012-03-04 11:32:04 - cd /src/sys/arm/conf TB --- 2012-03-04 11:32:04 - /usr/sbin/config -m DB-78XXX TB --- 2012-03-04 11:32:04 - building DB-78XXX kernel TB --- 2012-03-04 11:32:04 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:32:04 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:32:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:32:04 - SRCCONF=/dev/null TB --- 2012-03-04 11:32:04 - TARGET=arm TB --- 2012-03-04 11:32:04 - TARGET_ARCH=arm TB --- 2012-03-04 11:32:04 - TZ=UTC TB --- 2012-03-04 11:32:04 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:32:04 - cd /src TB --- 2012-03-04 11:32:04 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Sun Mar 4 11:32:04 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-78XXX completed on Sun Mar 4 11:34:43 UTC 2012 TB --- 2012-03-04 11:34:43 - cd /src/sys/arm/conf TB --- 2012-03-04 11:34:43 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-03-04 11:34:43 - building DB-88F5XXX kernel TB --- 2012-03-04 11:34:43 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:34:43 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:34:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:34:43 - SRCCONF=/dev/null TB --- 2012-03-04 11:34:43 - TARGET=arm TB --- 2012-03-04 11:34:43 - TARGET_ARCH=arm TB --- 2012-03-04 11:34:43 - TZ=UTC TB --- 2012-03-04 11:34:43 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:34:43 - cd /src TB --- 2012-03-04 11:34:43 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Sun Mar 4 11:34:43 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-88F5XXX completed on Sun Mar 4 11:37:20 UTC 2012 TB --- 2012-03-04 11:37:20 - cd /src/sys/arm/conf TB --- 2012-03-04 11:37:20 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-03-04 11:37:20 - building DB-88F6XXX kernel TB --- 2012-03-04 11:37:20 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:37:20 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:37:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:37:20 - SRCCONF=/dev/null TB --- 2012-03-04 11:37:20 - TARGET=arm TB --- 2012-03-04 11:37:20 - TARGET_ARCH=arm TB --- 2012-03-04 11:37:20 - TZ=UTC TB --- 2012-03-04 11:37:20 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:37:20 - cd /src TB --- 2012-03-04 11:37:20 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Sun Mar 4 11:37:20 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-88F6XXX completed on Sun Mar 4 11:40:03 UTC 2012 TB --- 2012-03-04 11:40:03 - cd /src/sys/arm/conf TB --- 2012-03-04 11:40:03 - /usr/sbin/config -m DOCKSTAR TB --- 2012-03-04 11:40:03 - building DOCKSTAR kernel TB --- 2012-03-04 11:40:03 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:40:03 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:40:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:40:03 - SRCCONF=/dev/null TB --- 2012-03-04 11:40:03 - TARGET=arm TB --- 2012-03-04 11:40:03 - TARGET_ARCH=arm TB --- 2012-03-04 11:40:03 - TZ=UTC TB --- 2012-03-04 11:40:03 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:40:03 - cd /src TB --- 2012-03-04 11:40:03 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Sun Mar 4 11:40:03 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DOCKSTAR completed on Sun Mar 4 11:42:37 UTC 2012 TB --- 2012-03-04 11:42:37 - cd /src/sys/arm/conf TB --- 2012-03-04 11:42:37 - /usr/sbin/config -m EP80219 TB --- 2012-03-04 11:42:37 - building EP80219 kernel TB --- 2012-03-04 11:42:37 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:42:37 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:42:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:42:37 - SRCCONF=/dev/null TB --- 2012-03-04 11:42:37 - TARGET=arm TB --- 2012-03-04 11:42:37 - TARGET_ARCH=arm TB --- 2012-03-04 11:42:37 - TZ=UTC TB --- 2012-03-04 11:42:37 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:42:37 - cd /src TB --- 2012-03-04 11:42:37 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Sun Mar 4 11:42:37 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for EP80219 completed on Sun Mar 4 11:45:32 UTC 2012 TB --- 2012-03-04 11:45:32 - cd /src/sys/arm/conf TB --- 2012-03-04 11:45:32 - /usr/sbin/config -m GUMSTIX TB --- 2012-03-04 11:45:32 - building GUMSTIX kernel TB --- 2012-03-04 11:45:32 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:45:32 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:45:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:45:32 - SRCCONF=/dev/null TB --- 2012-03-04 11:45:32 - TARGET=arm TB --- 2012-03-04 11:45:32 - TARGET_ARCH=arm TB --- 2012-03-04 11:45:32 - TZ=UTC TB --- 2012-03-04 11:45:32 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:45:32 - cd /src TB --- 2012-03-04 11:45:32 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX >>> Kernel build for GUMSTIX started on Sun Mar 4 11:45:32 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GUMSTIX completed on Sun Mar 4 11:47:44 UTC 2012 TB --- 2012-03-04 11:47:44 - cd /src/sys/arm/conf TB --- 2012-03-04 11:47:44 - /usr/sbin/config -m HL200 TB --- 2012-03-04 11:47:44 - building HL200 kernel TB --- 2012-03-04 11:47:44 - CROSS_BUILD_TESTING=YES TB --- 2012-03-04 11:47:44 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-04 11:47:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-04 11:47:44 - SRCCONF=/dev/null TB --- 2012-03-04 11:47:44 - TARGET=arm TB --- 2012-03-04 11:47:44 - TARGET_ARCH=arm TB --- 2012-03-04 11:47:44 - TZ=UTC TB --- 2012-03-04 11:47:44 - __MAKE_CONF=/dev/null TB --- 2012-03-04 11:47:44 - cd /src TB --- 2012-03-04 11:47:44 - /usr/bin/make -B buildkernel KERNCONF=HL200 >>> Kernel build for HL200 started on Sun Mar 4 11:47:44 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/net80211/ieee80211_input.c:778: error: 'IEEE80211_ACTION_MESH_CC' undeclared (first use in this function) /src/sys/net80211/ieee80211_input.c:779: error: 'IEEE80211_ACTION_MESH_MCCA_SREQ' undeclared (first use in this function) /src/sys/net80211/ieee80211_input.c:780: error: 'IEEE80211_ACTION_MESH_MCCA_SREP' undeclared (first use in this function) /src/sys/net80211/ieee80211_input.c:781: error: 'IEEE80211_ACTION_MESH_MCCA_AREQ' undeclared (first use in this function) /src/sys/net80211/ieee80211_input.c:782: error: 'IEEE80211_ACTION_MESH_MCCA_ADVER' undeclared (first use in this function) /src/sys/net80211/ieee80211_input.c:783: error: 'IEEE80211_ACTION_MESH_MCCA_TRDOWN' undeclared (first use in this function) /src/sys/net80211/ieee80211_input.c:784: error: 'IEEE80211_ACTION_MESH_TBTT_REQ' undeclared (first use in this function) /src/sys/net80211/ieee80211_input.c:785: error: 'IEEE80211_ACTION_MESH_TBTT_RES' undeclared (first use in this function) *** Error code 1 Stop in /obj/arm.arm/src/sys/HL200. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-04 11:49:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-04 11:49:37 - ERROR: failed to build HL200 kernel TB --- 2012-03-04 11:49:37 - 3882.69 user 815.88 system 5376.34 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 19:56:05 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB4681065672; Sun, 4 Mar 2012 19:56:05 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 905558FC1A; Sun, 4 Mar 2012 19:56:05 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q24JtAo3010429 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 4 Mar 2012 12:55:10 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: Warner Losh In-Reply-To: Date: Sun, 4 Mar 2012 12:55:09 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <166D2EAF-BC10-4064-A020-71DE3CB641AE@bsdimp.com> References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sun, 04 Mar 2012 12:55:10 -0700 (MST) Cc: "arm@freebsd.org" Subject: Re: ports cross-compilers vs. native toolchain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 19:56:05 -0000 On Mar 3, 2012, at 12:03 PM, Tim Kientzle wrote: > On Mar 3, 2012, at 12:17 AM, Stanislav Sedov wrote: >=20 >> On Jan 18, 2012, at 9:49 PM, Tim Kientzle wrote: >>=20 >>> I'm trying to build a customized u-boot (so that I can >>> add the bootelf command, which is needed to chain >>> Rafa=C5=82's ubldr version of loader(8)).=20 >>=20 >> You can use arm-rtems-gcc or build one with arm/eabi settings to = build >> uboot. Personally, I've been using the rtems gcc port. The uboot is >> a freestanding application, so it does not need FreeBSD libs tool = chain to >> build and work. >=20 > Actually, I've since managed to build u-boot with the xdev > toolchain. There were two issues: >=20 > 1) "gcc --print-file-name=3Dinclude"=20 >=20 > About a week ago, I committed a fix to FreeBSD-CURRENT > so it now supports this. >=20 > 2) Missing div/mod functions in ARM libgcc. >=20 > You can work around this by adding -lc to a couple > of places in the u-boot makefiles. I'm also looking into > a fix for FreeBSD libgcc. (Looks like these functions > were disabled deliberately? I'm still digging.) Perhaps. The arm stuff has been fairly minimal for a number of reasons = that likely no longer make sense... Warner From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 20:04:06 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCF711065673 for ; Sun, 4 Mar 2012 20:04:06 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 53C648FC14 for ; Sun, 4 Mar 2012 20:04:06 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q24Juk4C010447 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 4 Mar 2012 12:56:46 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120304221219.434706ca@fubar.geek.nz> Date: Sun, 4 Mar 2012 12:56:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7BF42BF4-547A-424D-A0F0-99075BE86C15@bsdimp.com> References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> <3206B98F-E9F1-4758-9741-AF29FE7CCBFA@kientzle.com> <20120304221219.434706ca@fubar.geek.nz> To: Andrew Turner X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sun, 04 Mar 2012 12:56:46 -0700 (MST) Cc: "arm@freebsd.org" , Tim Kientzle Subject: Re: native toolchain for freestanding apps X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 20:04:06 -0000 On Mar 4, 2012, at 2:12 AM, Andrew Turner wrote: > On Sun, 4 Mar 2012 00:40:06 -0800 > Tim Kientzle wrote: >=20 >> On Mar 3, 2012, at 7:23 PM, Tim Kientzle wrote: >>> On Mar 3, 2012, at 5:29 PM, Stanislav Sedov wrote: >>>> On Mar 3, 2012, at 11:03 AM, Tim Kientzle wrote: >>>>>=20 >>>>> 2) Missing div/mod functions in ARM libgcc. >>>>>=20 >>>>=20 >>>> Hmm, maybe they are disabled because libc supplies them? >>>=20 >>> If I copy the various div/mod object files from libc.a into >>> libgcc.a, then u-boot compiles ... >>>=20 >>> Is there any compelling reason they can't be in both places? > Have you tried to build a FreeBSD binary when both lots of symbols are > provided? If it links properly then I can't think of any reason we > couldn't provide both. The compiler-rt versions are hidden so = shouldn't > be exposed. >=20 >> Here's the patch for libcompiler_rt (aka libgcc.a) that just includes >> an extra copy of the numeric routines (duplicating the ones in libc). >>=20 >> With this, I'm now able to build u-boot (and other freestanding >> programs) using the FreeBSD xdev tools on ARM. >>=20 >> Any comments? > I have done the same with the ARM EABI support as compiler-rt provides > the required __aeabi_* symbols. This will mean with it's support the > libc versions are unneeded. I'd say 'commit it unless it gets in the way of something' then :) The = patch looks good to my eye. Warner From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 20:32:42 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81AB71065678 for ; Sun, 4 Mar 2012 20:32:42 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7BB8FC16 for ; Sun, 4 Mar 2012 20:32:41 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q24KWVqC083007; Sun, 4 Mar 2012 20:32:31 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.119] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id ccnre7h5nvwu8sdhmryzqrfe6w; Sun, 04 Mar 2012 20:32:31 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <7BF42BF4-547A-424D-A0F0-99075BE86C15@bsdimp.com> Date: Sun, 4 Mar 2012 12:32:29 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <070DCE47-0AE4-48B4-9300-1A361AE0557A@kientzle.com> References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> <3206B98F-E9F1-4758-9741-AF29FE7CCBFA@kientzle.com> <20120304221219.434706ca@fubar.geek.nz> <7BF42BF4-547A-424D-A0F0-99075BE86C15@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1257) Cc: "arm@freebsd.org" Subject: Re: native toolchain for freestanding apps X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 20:32:42 -0000 On Mar 4, 2012, at 11:56 AM, Warner Losh wrote: >=20 > On Mar 4, 2012, at 2:12 AM, Andrew Turner wrote: >=20 >> On Sun, 4 Mar 2012 00:40:06 -0800 >> Tim Kientzle wrote: >>=20 >>> On Mar 3, 2012, at 7:23 PM, Tim Kientzle wrote: >>>> On Mar 3, 2012, at 5:29 PM, Stanislav Sedov wrote: >>>>> On Mar 3, 2012, at 11:03 AM, Tim Kientzle = wrote: >>>>>>=20 >>>>>> 2) Missing div/mod functions in ARM libgcc. >>>>>>=20 >>>>>=20 >>>>> Hmm, maybe they are disabled because libc supplies them? >>>>=20 >>>> If I copy the various div/mod object files from libc.a into >>>> libgcc.a, then u-boot compiles ... >>>>=20 >>>> Is there any compelling reason they can't be in both places? >> Have you tried to build a FreeBSD binary when both lots of symbols = are >> provided? If it links properly then I can't think of any reason we >> couldn't provide both. The compiler-rt versions are hidden so = shouldn't >> be exposed. >>=20 >>> Here's the patch for libcompiler_rt (aka libgcc.a) that just = includes >>> an extra copy of the numeric routines (duplicating the ones in = libc). >>>=20 >>> With this, I'm now able to build u-boot (and other freestanding >>> programs) using the FreeBSD xdev tools on ARM. >>>=20 >>> Any comments? >> I have done the same with the ARM EABI support as compiler-rt = provides >> the required __aeabi_* symbols. This will mean with it's support the >> libc versions are unneeded. >=20 > I'd say 'commit it unless it gets in the way of something' then :) = The patch looks good to my eye. I'm running a "make universe" with those symbols duplicated in libc and libcompiler_rt (aka libgcc.a) for both ARM and MIPS. If that passes, I'll commit and see who yells. ;-) Thanks for the feedback. I'm still feeling my way around the ARM stuff. Tim From owner-freebsd-arm@FreeBSD.ORG Mon Mar 5 11:07:03 2012 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE088106566C for ; Mon, 5 Mar 2012 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6BC8FC1E for ; Mon, 5 Mar 2012 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q25B73pM034797 for ; Mon, 5 Mar 2012 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q25B72Mh034793 for freebsd-arm@FreeBSD.org; Mon, 5 Mar 2012 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Mar 2012 11:07:02 GMT Message-Id: <201203051107.q25B72Mh034793@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 11:07:03 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/162159 arm [panic] USB errors leading to panic on DockStar 9.0-RC o arm/161110 arm /usr/src/sys/arm/include/signal.h is bad o arm/161044 arm devel/icu does not build on arm o arm/160431 arm [busdma] [patch] Disable interrupts during busdma cach o arm/158950 arm arm/sheevaplug fails fsx when mmap operations are enab o arm/156814 arm OpenRD Ultimate does not boot on DB-88F6XXX or SHEEVAP o arm/156496 arm [patch] Minor bugfixes and enhancements to mmc and mmc o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) o arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/154189 arm lang/perl5.12 doesn't build on arm o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 p arm/134338 arm [patch] Lock GPIO accesses on ixp425 16 problems total. From owner-freebsd-arm@FreeBSD.ORG Tue Mar 6 21:34:29 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85074106566B for ; Tue, 6 Mar 2012 21:34:29 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7E18FC17 for ; Tue, 6 Mar 2012 21:34:28 +0000 (UTC) Received: by werl4 with SMTP id l4so4443549wer.13 for ; Tue, 06 Mar 2012 13:34:28 -0800 (PST) Received-SPF: pass (google.com: domain of thomas.e.zander@googlemail.com designates 10.180.103.35 as permitted sender) client-ip=10.180.103.35; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thomas.e.zander@googlemail.com designates 10.180.103.35 as permitted sender) smtp.mail=thomas.e.zander@googlemail.com; dkim=pass header.i=thomas.e.zander@googlemail.com Received: from mr.google.com ([10.180.103.35]) by 10.180.103.35 with SMTP id ft3mr27215294wib.0.1331069667992 (num_hops = 1); Tue, 06 Mar 2012 13:34:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/UhN/6qLHKp3RsrDUAZfjjZSveIhG+n9Nj0d675O4xM=; b=tWun0mHG6G/7sHdzdd/O8scnxNCalSwsA1toH7hDw/b0CLIe1FxraGSVgrE5fDMINE 1ceNtxXJ6lsghXv4PGd2A62mD8e1slMYTsTcAl/aSzIJSsXhpfp34121YAZTYnhwhtFR WpAo8euj9aiKFfvX2dZUnySc0uQK3UxFMGnr3GDyYpSk2W2b13N80wAkQb5J3/ttDl3I afW7XkagfgQJ1NTTLxwGsPKQ5GJ2pWptUR33GUBWqnCMUOeoiue/TBwZTqWuamPUkmqs b3BTrcioJjgY76OiGRUf/nfrddoun2sZ3L7TFmzTpe0IZYfhOzo0ixpIuhyewu25igmY IGQw== MIME-Version: 1.0 Received: by 10.180.103.35 with SMTP id ft3mr21445582wib.0.1331068343836; Tue, 06 Mar 2012 13:12:23 -0800 (PST) Received: by 10.223.120.9 with HTTP; Tue, 6 Mar 2012 13:12:23 -0800 (PST) In-Reply-To: <4F533E46.1070105@freebsd.org> References: <4F533E46.1070105@freebsd.org> Date: Tue, 6 Mar 2012 22:12:23 +0100 Message-ID: From: Thomas Zander To: Stefan Esser Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org Subject: Re: Support for Raspberry-PI X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 21:34:29 -0000 On Sun, Mar 4, 2012 at 11:04, Stefan Esser wrote: > Am 04.03.2012 08:39, schrieb bsalinux@gmail.com: >> Hi, >> >> Is there any interest in Raspberry-PI. Looks interesting. > > Definitely! Did you manage to get one? I tried to, > but was only able to register for the next batch ... Dito. Besides, while the Raspberry Pi is certainly a very interesting device, there are also other devices with intriguing specs as well, for instance http://www.genesi-usa.com/products/efika which could be great targets for freebsd-arm. Riggs From owner-freebsd-arm@FreeBSD.ORG Tue Mar 6 22:36:46 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33EAE1065675; Tue, 6 Mar 2012 22:36:46 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 05DF18FC26; Tue, 6 Mar 2012 22:36:45 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q26Majva025811; Tue, 6 Mar 2012 17:36:45 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q26MajE4025790; Tue, 6 Mar 2012 22:36:45 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 6 Mar 2012 22:36:45 GMT Message-Id: <201203062236.q26MajE4025790@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 22:36:46 -0000 TB --- 2012-03-06 22:20:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-06 22:20:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-03-06 22:20:00 - cleaning the object tree TB --- 2012-03-06 22:20:00 - cvsupping the source tree TB --- 2012-03-06 22:20:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-03-06 22:25:25 - building world TB --- 2012-03-06 22:25:25 - CROSS_BUILD_TESTING=YES TB --- 2012-03-06 22:25:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-06 22:25:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-06 22:25:25 - SRCCONF=/dev/null TB --- 2012-03-06 22:25:25 - TARGET=arm TB --- 2012-03-06 22:25:25 - TARGET_ARCH=arm TB --- 2012-03-06 22:25:25 - TZ=UTC TB --- 2012-03-06 22:25:25 - __MAKE_CONF=/dev/null TB --- 2012-03-06 22:25:25 - cd /src TB --- 2012-03-06 22:25:25 - /usr/bin/make -B buildworld >>> World build started on Tue Mar 6 22:25:26 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] cc -fpic -DPIC -O -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DNLS -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm.arm/src/lib/libc -I/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/src/lib/libc/../../contrib/tzcode/stdtime -I/src/lib/libc/stdtime -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libc/string/wmemcmp.c -o wmemcmp.So cc -fpic -DPIC -O -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DNLS -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm.arm/src/lib/libc -I/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/src/lib/libc/../../contrib/tzcode/stdtime -I/src/lib/libc/stdtime -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libc/string/wmemcpy.c -o wmemcpy.So cc -fpic -DPIC -O -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DNLS -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm.arm/src/lib/libc -I/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/src/lib/libc/../../contrib/tzcode/stdtime -I/src/lib/libc/stdtime -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libc/string/wmemmove.c -o wmemmove.So cc -fpic -DPIC -O -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DNLS -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm.arm/src/lib/libc -I/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/src/lib/libc/../../contrib/tzcode/stdtime -I/src/lib/libc/stdtime -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libc/string/wmemset.c -o wmemset.So building shared library libc.so.7 setrunelocale.So: In function `__getCurrentRuneLocale': setrunelocale.c:(.text+0x0): multiple definition of `__getCurrentRuneLocale' nomacros.So:nomacros.c:(.text+0x0): first defined here *** Error code 1 Stop in /src/lib/libc. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-06 22:36:45 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-06 22:36:45 - ERROR: failed to build world TB --- 2012-03-06 22:36:45 - 522.16 user 101.52 system 1004.93 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu Mar 8 14:50:14 2012 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDB241065670 for ; Thu, 8 Mar 2012 14:50:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A974E8FC19 for ; Thu, 8 Mar 2012 14:50:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q28EoECD030466 for ; Thu, 8 Mar 2012 14:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q28EoEo4030465; Thu, 8 Mar 2012 14:50:14 GMT (envelope-from gnats) Date: Thu, 8 Mar 2012 14:50:14 GMT Message-Id: <201203081450.q28EoEo4030465@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org From: Mark Tinguely Cc: Subject: Re: arm/162159: [panic] USB errors leading to panic on DockStar 9.0-RC1/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Tinguely List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 14:50:14 -0000 The following reply was made to PR arm/162159; it has been noted by GNATS. From: Mark Tinguely To: bug-followup@FreeBSD.org, crest@tzi.de Cc: Subject: Re: arm/162159: [panic] USB errors leading to panic on DockStar 9.0-RC1/arm Date: Thu, 8 Mar 2012 08:16:39 -0600 I am seeing something like this on a different ARM platform, but the USB code may be a cousin to the mv code. Do you still have this setup? Could you take to ethernet card out of the kernel - removing the ethernet helps in my case. Could a problem be tickled by interrupt handling? I did the following test: $ dd if=/dev/zero of=r0 bs=4096 count=16k $ od r0 0000000 000000 000000 000000 000000 000000 000000 000000 000000 * 400000000 $ cp r0 r1 ; cp r1 r2 ; cp r2 r3 ; cp r3 r4 ; cp r4 r5 ; cp r5 r6; diff r0 r6 Many time there is a corruption at about r2 or r3. If I take the ethernet card out of the kernel, the problem happens less often. I use zero because it is easy to see where things go wrong. If they are different, start doing "od" on the copied files see if you see 0x377 in the first corrupted file. --Mark.