From owner-freebsd-arm@FreeBSD.ORG Sat May 18 14:28:14 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6F1BAFFC for ; Sat, 18 May 2013 14:28:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 41AC82EC for ; Sat, 18 May 2013 14:28:14 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id k5so11296972iea.4 for ; Sat, 18 May 2013 07:28:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=O5oD/c6VPH2WehcBnNx07xX1pwZN8q3u9gC7jxhn1XI=; b=f58LMzaDu8r4/GaqUhYM0HSV4a+es3cvE0wVelXlDUBbRCY5mkr+vlRwJH+aElzR+d 3n/Fs/sVTM0xUxn989p4vyvWWMTlqHI78btCzofsDXpT57KLf8zbD6FaWBb0U/K24lzV CpO/iBSSxz5h4onTNoUY8crXCnhI1A5r5fc5K3udx7/Rw/qqTKW0Xf8ZOhYNF6hHVVow PEIBjJCSN586tNRNwR9+1JGza9qQoPFGkKOjhoD+BVqY1gtLPFFKUEiZNN5rRNAIjuiV BrVRdt9fTx13e8xH0oB2wxuLa0hSw72LcDJGoumnKmQYEb/6gQZWZfTUmZ+tmVbhmkVG aa/A== X-Received: by 10.50.114.106 with SMTP id jf10mr1140657igb.111.1368887293583; Sat, 18 May 2013 07:28:13 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id ct8sm2423518igb.7.2013.05.18.07.28.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:28:12 -0700 (PDT) Sender: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sat, 18 May 2013 10:28:10 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> To: Tim Kientzle X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkGKlraK5bBr7bNvBmGHa7+bLTYyiJBvSvYimhQzcJjqcxd/NZnkWzr/WtJBXIX0syLmNaN Cc: db@freebsd.org, freebsd-arm , David Chisnall 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 14:28:14 -0000 On May 18, 2013, at 10:17 AM, Tim Kientzle wrote: >=20 > On May 18, 2013, at 5:05 AM, Andrew Turner wrote: >=20 >> On Fri, 17 May 2013 16:22:56 -0400 >> Tim Kientzle wrote: >>=20 >>> I'm trying to move the actual building of boot loaders out of = Crochet >>> and into FreeBSD ports. >>>=20 >>> Here's the first attempt at such a port (many thanks to Diane Bruce >>> for patiently tutoring me through this): >>>=20 >>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>=20 >>> I'd appreciate any feedback: >>> * Can you build this? >>> * Suggestions for improving it? >>=20 >> Could you try installing devel/cross-binutils and devel/cross-gcc = using >> TGTARCH=3Darm and TGTABI=3Dnone-eabi and using these to build u-boot? = It >> would mean the user doesn't need to have xdev set up. >=20 > I'll definitely give that a try. >=20 > More importantly than the user, I'm concerned about the > package-building cluster. One of the goals here is to > get the packages built automatically so that not everybody > has to build the boot loaders themselves. >=20 > I've not used the devel/cross-ZZZ tools before, so > it will take me a little while to experiment. Ideally, > the U-Boot port would just require the cross tools. A long time ago I was able to build u-boot using the cross-* ports... = They even have wrapper ports so you can get the write dependencies. Make = sure these are build-time dependencies not run-time dependencies and all = that will be installed will be the u-boot images... Warner