Date: Thu, 2 Jul 2015 21:40:22 -0700 From: Tim Kientzle <tim@kientzle.com> To: Glen Barber <gjb@FreeBSD.org> Cc: Hellmuth Michaelis <hm@hellmuth-michaelis.de>, freebsd-arm <freebsd-arm@FreeBSD.org> Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> In-Reply-To: <20150702143542.GD53770@FreeBSD.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Jul 2, 2015, at 7:35 AM, Glen Barber <gjb@FreeBSD.org> 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 = <https://github.com/freebsd/crochet/blob/master/board/BeagleBone/overlay/r= oot/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 <andy.gervase@me.com>: >>>=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 <gjb@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9012912E-229D-4F70-9CCD-A156E80D6CED>