From owner-freebsd-arm@FreeBSD.ORG Mon Sep 2 07:30:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3D27ABF5 for ; Mon, 2 Sep 2013 07:30:10 +0000 (UTC) (envelope-from mark@grondar.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0192923D9 for ; Mon, 2 Sep 2013 07:30:10 +0000 (UTC) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VGOaI-000PyB-C2; Mon, 02 Sep 2013 08:30:05 +0100 Subject: Re: What's the recipe? Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/signed; boundary="Apple-Mail=_70005E20-7A8A-4353-B326-A23895915EEE"; protocol="application/pgp-signature"; micalg=pgp-sha512 From: Mark R V Murray In-Reply-To: Date: Mon, 2 Sep 2013 08:30:01 +0100 Message-Id: <0AC24F9A-7AE0-4E98-BC21-273FA097AE0F@grondar.org> References: <522229C0.5030504@m5p.com> <20130901200726.ac7317a5f0ddfddcbed34484@gmail.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1508) X-SA-Score: -2.2 Cc: Takeshi Taguchi , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Sep 2013 07:30:10 -0000 --Apple-Mail=_70005E20-7A8A-4353-B326-A23895915EEE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 1 Sep 2013, at 14:50, Tim Kientzle wrote: >=20 > On Sep 1, 2013, at 4:07 AM, Takeshi Taguchi = wrote: >=20 >> On Sat, 31 Aug 2013 13:37:04 -0400 >> George Mitchell wrote: >>=20 >>> Have you built a working Raspberry Pi image recently? If so, for = the >>> benefit of the rest of us, could you share a few secrets? >> there are no secrets ;-) >>=20 >>> 1. What system did you do the build on? If it was an i386 or amd64, >>> what svn version was it built with? >> amd64 on virtualbox. >> # uname -a >> FreeBSD amd64-01 10.0-CURRENT FreeBSD 10.0-CURRENT #10 r255093M: Sat = Aug 31 >> 21:41:10 JST 2013 root@amd64-01:/usr/obj/usr/src/sys/VIRTUALBOX = amd64 >>=20 >>>=20 >>> 2. What did you have in /etc/src.conf and /etc/make.conf, both for >>> building the build system itself and for building the RPi? >> i use same make|src.conf for pi and amd64. >> % egrep -v ^# /etc/make.conf >> COPTFLAGS=3D -O -pipe >> TOP_TABLE_SIZE=3D 101 >>=20 >> WITH_PKGNG=3DYES >> NO_WERROR=3D >> WERROR=3D >> PERL_VERSION=3D5.14.4 >> WITH_NEW_XORG=3Dyes >>=20 >> % egrep -v ^# /etc/src.conf >> MALLOC_PRODUCTION=3DYES >>=20 >> i think we stil need MALLOC_PRODUCTION. because jemalloc issue >> does not fixed yet. >=20 > Note that Crochet has >=20 > SRCCONF=3D/dev/null > __MAKE_CONF=3D/dev/null >=20 > by default. You can override those in your Crochet configuration file > if you wish. Thanks! I've spent the weekend trying to get a crochet build for Raspberry Pi = going by various means. My build box is CURRENT as of Sept 1 2013, and = is an AMD86. The only things in /etc/(make|src).conf are to remove stuff = like CTM, LPR and other things of little relevance. CURRENT + crochet cannot build u-boot because it looks like the antique = CURRENT/GCC-xdev can't handle a couple of command-line options that = u-boot wants (-fstack-usage, the other is hiding), but if I remove those = it eventually fails with redefinitions of things like __packed, __pure = and so on (this is GCC "armv6-freebsd-gcc", not CLANG). I tried to hack up a u-boot port using the Beaglebone Black u-boot port = as an example; that needs devel/arm-eabi-gcc which fails because of = redefinition of some functions during the build. I'm pretty stuck here without going on a major debugging mission - has = anyone got a reliable build going, please? M --=20 Mark R V Murray --Apple-Mail=_70005E20-7A8A-4353-B326-A23895915EEE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: GPGTools - http://gpgtools.org iQCVAwUBUiQ+ed58vKOKE6LNAQqQAQP/W0mWB46/27ycuCkTFP04vg0T1dnQA8bE aZ+qt200hta4rf4Rq6u4eLuVrRgFt8M/ayZ9+eORCsl/P47BT38vVKgrsQ4YJakM V0Ip2+80NpfA+rGk19OnzJYVzoknREyb2CwyH4sz2GeqwLw5Hq0PWdlJAdg63og4 JffhoixVmfA= =wTRr -----END PGP SIGNATURE----- --Apple-Mail=_70005E20-7A8A-4353-B326-A23895915EEE--