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

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 03, 2015 at 04:46:22AM +0000, Glen Barber wrote:
> 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.

The eMMC is soldered onboard and comes with preinstalled Linux, but is
first in boot order.
To boot from SD card you need to push a button each time, changing boot
order.
The least thing you want to have is being able to write zeros to the eMMC
to get rid of it's Linux and that the system boots from SD by default.
If the current kernel (not tested myself) won't see the the eMMC at all
that's more a problem than before.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



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