From owner-freebsd-arm@FreeBSD.ORG Tue Mar 17 13:55:11 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9698DD99; Tue, 17 Mar 2015 13:55:11 +0000 (UTC) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6893391; Tue, 17 Mar 2015 13:55:11 +0000 (UTC) Received: from pmather.lib.vt.edu (pmather.lib.vt.edu [128.173.126.193]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 86B7A7E1; Tue, 17 Mar 2015 09:55:03 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: How to use u-boot-beaglebone port? From: Paul Mather In-Reply-To: <1426534773.95554.15.camel@freebsd.org> Date: Tue, 17 Mar 2015 09:55:02 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <17B779D7-2962-4455-9062-51411F316648@gromit.dlib.vt.edu> <986F5E5D-C784-4BEF-81E3-49A9F27C0E8F@kientzle.com> <1426534773.95554.15.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.1878.6) Cc: Tim Kientzle , freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2015 13:55:11 -0000 On Mar 16, 2015, at 3:39 PM, Ian Lepore wrote: > On Sun, 2015-03-15 at 19:57 -0700, Tim Kientzle wrote: >>> On Mar 12, 2015, at 5:59 PM, Paul Mather = wrote: >>>=20 >>> Has anyone successfully used the sysutils/u-boot-beaglebone port? >>>=20 >>> I managed to build [1] and install it today. I tried to install it = to the SD card FAT partition, as per the README, and the result was an = unbootable system. >>>=20 >>> When I copied the u-boot.img file as u-boot.img (rather than the = bb-uboot.img as suggested in the README), I got it to start up to the = "U-Boot#" prompt. >>=20 >>=20 >> Apparently, no one ever patched the port to use bb-uboot.img and = bb-ubldr >> as the name. >>=20 >> I did this in Crochet when I was experimenting with having multiple >> U-Boots on a single SD card image. That experiment was to try >> to see what would be required to build single images that booted on >> multiple different devices. >>=20 >=20 > When I created the u-boot-beaglebone port I specifically removed that > bb- prefix stuff, because there will never be a unified image that = runs > on both rpi and beaglebone [*]. I had hoped someone would update > crochet to use the new ports and this is one of the minor changes that > would be needed on the crochet side. >=20 > -- Ian >=20 > [*] Because armv6 !=3D armv7 in this case. While armv6 is synonymous = with > armv7 for most purposes in freebsd, the rpi is the exception to that = in > that it really IS armv6, and that leads to the kernel being built with > different cache maintenance routines that don't work on armv7. Does the sysutils/u-boot-beaglebone boot the BeagleBone Black for you? = As I reported earlier in the start to this thread, I can't get it to = boot the system for me. I've copied MLO, u-boot.img, and /boot/ubldr to the FAT partition, but I = just get to where U-Boot loads ubldr and then pauses before starting = over again in a loop. Are there some other files that need to be copied to the FAT partition, = or are those three files, plus the defaults compiled into u-boot.img = sufficient to boot the BeagleBone Black from SD card? Cheers, Paul.