From owner-freebsd-arm@freebsd.org Fri Jul 3 04:40:37 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B8AA99319A for ; Fri, 3 Jul 2015 04:40:37 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0CC961A44; Fri, 3 Jul 2015 04:40:36 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t634edL4043556; Fri, 3 Jul 2015 04:40:39 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id 7bqhi3ab3xsxbxdtu8rswrkaca; Fri, 03 Jul 2015 04:40:34 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Tim Kientzle In-Reply-To: <20150702143542.GD53770@FreeBSD.org> Date: Thu, 2 Jul 2015 21:40:22 -0700 Cc: Hellmuth Michaelis , freebsd-arm Message-Id: <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> To: Glen Barber X-Mailer: Apple Mail (2.2098) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 04:40:37 -0000 > On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: >=20 > I'm curious - is this even necessary to do anymore? >=20 > My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black images > "just boot." >=20 > Maybe I don't understand what this script is supposed to fix. Can > someone clarify that for me? The script just copies a running system booted from SD onto the eMMC so = that a BBB can boot without an SD card. The script just does the following: * Erases the eMMC * Reformats it * Copies boot files from SD to eMMC * Copies / from SD to eMMC (excluding a few things like /usr/src, = /usr/obj that are unlikely to fit) * Tweaks a few configuration parameters on the copied system There=E2=80=99s really not much to it, as you can see for yourself: = https://github.com/freebsd/crochet/blob/master/board/BeagleBone/overlay/ro= ot/copy-to-emmc.sh = At one time, this worked pretty reliably, but a number of things seem to = have broken since I last tried it. Cheers, Tim >=20 > Thanks. >=20 > Glen >=20 > On Thu, Jul 02, 2015 at 04:32:10PM +0200, Hellmuth Michaelis wrote: >> it seems booting from eMMC is currently not possible, for a = discussion of possible causes have a look at the thread = https://lists.freebsd.org/pipermail/freebsd-arm/2015-March/010598.html >>=20 >> hellmuth >>=20 >>=20 >>> Am 02.07.2015 um 13:35 schrieb Andrew Gervase : >>>=20 >>> Thank you for your reply, Glen: To me, the script is optional. = All it does is partition and newfs a slice on mmc1, and then copies = everything via tar from mmc0 to mmc1. =20 >>>=20 >>> My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I = was wondering if there is a module that needs to be loaded or compiled = into the kernel to make sure the eMMC (mmc1) is recognized. =20 >>>=20 >>> Andy ideas? >>>=20 >>> =E2=80=94Andy >>>=20 >>>> On Jul 2, 2015, at 01:06, Glen Barber wrote: >>>>=20 >>>> On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: >>>>> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: >>>>>> I was finally able to get my Beaglebone Black to boot from = FreeBSD >>>>>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because = mmc1 is not >>>>>> found. I'd very much like my BBB to boot automatically, = preferably from the >>>>>> eMMC, however I'll take what I can! >>>>>>=20 >>>>>> Please forgive me in advance if this question has already been = addressed, as >>>>>> my searches have yielded nothing helpful thus far. >>>>>>=20 >>>>>> My greatest appreciation in advance, >>>>>=20 >>>>> Please wait until next week when several changes/fixes are = committed to >>>>> the stable/10 branch that can help with this. >>>>>=20 >>>>> Unless you do not have a particular reason to run 10-STABLE, you = can try >>>>> the 11-CURRENT snapshots. See the mailing list archives for >>>>> freebsd-snapshots@ for details. >>>>>=20 >>>>=20 >>>> Bah, actually I think what I suggested is orthogonal to your issue, >>>> since I just realized you mentioned a script I am unaware of. >>>>=20 >>>> Sorry for any confusion. >>>>=20 >>>> Glen >>>>=20 >>>=20 >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>=20