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>

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

--Oiv9uiLrevHtW1RS
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=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?
>=20
> The script just copies a running system booted from SD onto the eMMC so t=
hat a BBB can boot without an SD card.
>=20
> 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
>=20

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=E2=80=99s really not much to it, as you can see for yourself:
>=20
> https://github.com/freebsd/crochet/blob/master/board/BeagleBone/overlay/r=
oot/copy-to-emmc.sh <https://github.com/freebsd/crochet/blob/master/board/B=
eagleBone/overlay/root/copy-to-emmc.sh>
>=20
> At one time, this worked pretty reliably, but a number of things seem to =
have broken since I last tried it.
>=20
> Cheers,
>=20
> Tim
>=20
>=20
>=20
> >=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/pip=
ermail/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 w=
as 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 mmc=
1 is not
> >>>>>> found.  I'd very much like my BBB to boot automatically, preferabl=
y from the
> >>>>>> eMMC, however I'll take what I can!
> >>>>>>=20
> >>>>>> Please forgive me in advance if this question has already been add=
ressed, 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 committe=
d to
> >>>>> the stable/10 branch that can help with this.
> >>>>>=20
> >>>>> Unless you do not have a particular reason to run 10-STABLE, you ca=
n 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
>=20

--Oiv9uiLrevHtW1RS
Content-Type: application/pgp-signature

-----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-----

--Oiv9uiLrevHtW1RS--



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