Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2015 04:46:22 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        Hellmuth Michaelis <hm@hellmuth-michaelis.de>, freebsd-arm <freebsd-arm@FreeBSD.org>
Subject:   Re: Once Booted from MMC, eMMC not found
Message-ID:  <20150703044622.GE6532@FreeBSD.org>
In-Reply-To: <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> <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi Tim,

On Thu, Jul 02, 2015 at 09:40:22PM -0700, Tim Kientzle wrote:
> > On Jul 2, 2015, at 7:35 AM, Glen Barber <gjb@FreeBSD.org> wrote:
> > 
> > I'm curious - is this even necessary to do anymore?
> > 
> > My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black images
> > "just boot."
> > 
> > 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
> 

Ah, okay, this is the part I was missing.  I misunderstood what the eMMC
did overall, and wasn't sure how this interacted with the system in
whole.

Thank you for the explanation.

Glen

> There’s really not much to it, as you can see for yourself:
> 
> https://github.com/freebsd/crochet/blob/master/board/BeagleBone/overlay/root/copy-to-emmc.sh <https://github.com/freebsd/crochet/blob/master/board/BeagleBone/overlay/root/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
> 
> 
> 
> > 
> > Thanks.
> > 
> > Glen
> > 
> > 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
> >> 
> >> hellmuth
> >> 
> >> 
> >>> Am 02.07.2015 um 13:35 schrieb Andrew Gervase <andy.gervase@me.com>:
> >>> 
> >>> 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.  
> >>> 
> >>> My problem is, mmc1 doesn’t 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.  
> >>> 
> >>> Andy ideas?
> >>> 
> >>> —Andy
> >>> 
> >>>> On Jul 2, 2015, at 01:06, Glen Barber <gjb@FreeBSD.org> wrote:
> >>>> 
> >>>> 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!
> >>>>>> 
> >>>>>> Please forgive me in advance if this question has already been addressed, as
> >>>>>> my searches have yielded nothing helpful thus far.
> >>>>>> 
> >>>>>> My greatest appreciation in advance,
> >>>>> 
> >>>>> Please wait until next week when several changes/fixes are committed to
> >>>>> the stable/10 branch that can help with this.
> >>>>> 
> >>>>> 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.
> >>>>> 
> >>>> 
> >>>> Bah, actually I think what I suggested is orthogonal to your issue,
> >>>> since I just realized you mentioned a script I am unaware of.
> >>>> 
> >>>> Sorry for any confusion.
> >>>> 
> >>>> Glen
> >>>> 
> >>> 
> >>> _______________________________________________
> >>> 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"
> >> 
> 

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVlhOeAAoJEAMUWKVHj+KTiBgQAIIJYDk78SZZr/es33UheWVA
11hzsZ3s9j8XOsga36Mk7Vdr8pTXV09Onl6fhpKuW8ILQOjBELU2M7Djjx8REsla
7cZ+VTAXsbEVwMBmtUtI1SeI04lmyTgCR7+ljAD5EKukUjiXb8WVE1tRtlI6urrH
0+L5sLSakx2FQ7hqjDKdnL2KTrcImVlTdrBHeY9B6viBpfe8gn58LQ3ZKNrP1lhZ
oL5UOds6yk4/i3TCp77h/9MigtJrdd1VTqgvBjTpW8koGBSK9i5HlqErFF6UbKMd
w8w4hj3DzrocCPtWXZtX+9c5+b+QaFyUZT4ajHTp3Dm34usJhMt2Ebax9WtLQzBt
LyFsI6dMnocY20u7YkrNyDiIOflQKRDR0I634/NvraDPz19C9C6PNdylNON7Zy1B
noJ5Wjw3pNnGpq+TX0zvo7vJzoKoJXgMQv9cpRgmHMhGk889KgkBb6BPLQdeORUi
JcVBVfbek96O8W3e8BB8o24viZ3Irmo4Z7w14ozUufyGrIAprIboXPZjcaesafmp
1h682lqDNDsdIn+fbs6+JbyxdXXsUo87afim4WqI2wksaBqlAFyovflXVBmA2iF6
ym5am+FivBjuRBV3Mzx2crVXinSNmMtnm90c1hIDimZrCacMOaDoDCaKJEPAA2j4
2a4t7oNGI2Bp3ZfR3RCi
=Fin/
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150703044622.GE6532>