From owner-freebsd-arm@FreeBSD.ORG Sat May 18 17:59:46 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AF1E1719 for ; Sat, 18 May 2013 17:59:46 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEE1B49 for ; Sat, 18 May 2013 17:59:46 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id 16so11650095iea.3 for ; Sat, 18 May 2013 10:59:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=u3FyZzEPVup5NkSzOHgiVZuuEKFaDoFfEG3aeffdo6Q=; b=jS7J2eLQeYkXH+NNVdJZQN5+U0kHz1xFexKjum/gaTp5ofqpLnpzYJQVd5r7Y7gejk Iulh2CQfL6KqpeYuqL8rg9BFerAUpriw8Gfeqpj272NwhpVxx4eWR2SgKBeCj+ho3aO4 UtazKVrqwhFxobdoka5NDXk6MYNfew96TBp8xhKey6hahvixGUiWMRi821OZ3f/qbuso 9F9BXYc+4nKzdUCcZCuq/1lqT5yzAGmpbDXLzkkyqXbIAJr9/dsA5tH6L0J0MgmfiTNi 3nMU87COzA3F7R8qJzx3Vd1nv9YQgAQn6oEkv4eqJeywhc82qU3BOLKPW0tnHRFhPvpw Km3Q== X-Received: by 10.50.2.6 with SMTP id 6mr1546410igq.89.1368899985908; Sat, 18 May 2013 10:59:45 -0700 (PDT) Received: from [10.69.210.74] ([137.122.64.51]) by mx.google.com with ESMTPSA id a18sm3254229ign.4.2013.05.18.10.59.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 10:59:45 -0700 (PDT) Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> Date: Sat, 18 May 2013 13:59:45 -0400 Message-Id: <90152894-5643-4189-B6DF-394E4F463FA3@kientzle.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQmKyUpw75hkoAMjwVstWPOGAPnXF4Ji3DQ4kp8/OrVt2rRsRr6fNh4j+l01XjLpeDPMSxAP Cc: freebsd-arm 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: Sat, 18 May 2013 17:59:46 -0000 --Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On May 18, 2013, at 10:54 AM, Warner Losh wrote: >=20 > On May 18, 2013, at 10:46 AM, Tim Kientzle wrote: >=20 >> On May 18, 2013, at 10:41 AM, Warner Losh wrote: >>>=20 >>> On May 18, 2013, at 10:38 AM, Jason Birch wrote: >>>=20 >>>> I'm not sure how it'd work internally in the ports tree (I'm a = ports >>>> consumer, not a contributor), but I'd find it weird if a U-Boot = port >>>> required me to get any devel/cross-* ports if U-Boot was able to be = built >>>> by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, = CXX. >>>=20 >>> u-boot can't be built with clang. >>=20 >> Yes, it can. Since the ARM clang switch was thrown, >> the xdev tools now build clang (unnecessarily, of course). >> U-Boot builds just fine with it: >>=20 >> $ armv6-freebsd-cc --version >> FreeBSD clang version 3.3 (trunk 178860) 20130405 >> Target: armv6--freebsd >> Thread model: posix >=20 > Do these boot? Gosh. Now you've made me nervous that I might still be using old GCC-compiled versions. Just a sec =85. $ rm -rf u-boot-2013.04 $ tar xf u-boot-2013.04.tar.bz2 $ sudo ./crochet.sh -c beagleblack.sh Copy to SD card =85 Yep. It boots. ;-) > I was under the impression that u-boot used global register flags in = gcc that clang wasn't going to support... I'd be happy if I'm wrong = though=85 Don't know the details. Maybe Andrew knows what has changed? Tim --Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574 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.18 (Darwin) iQEcBAEBAgAGBQJRl8GSAAoJEGMNyGo0rfFB4uAH/irqoAb7YsYDLU/YRbU4+vxr DPkO9otEYCBi0LVuFdD2aviOHxx4wFpSBezNkP+k7p/6ghtiNPhRUvYDhsAkyRkO CvEo+qW5SydSl5QUMS13TpAVJa7YLHBIDJU54dgoTvoage+zYpi/Gz82foHTqQhu nk2LEtUJOjya1/Ob6Jn1hLGptOlUO0Ul/XKmyyUFT2/7qLCgkKRW239SRYZ0QLK2 bPpGCIZFYtyef9H29QPqmCLX3PBQDkk18Ey1P/fU1U8P3MMSzmQ4iYUId0A+DuT+ kziG/NRQd5vb3ISftIkLFhwffUSCG1DGqD8al6J2YZZYH+U4gzAQWydjBSQ2KFs= =UNRr -----END PGP SIGNATURE----- --Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574--