Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2016 08:42:53 -0400
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        Tim Kientzle <tim@kientzle.com>, freebsd-arm <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: Booting FreeBSD on BeagleBone Black from microSD by default
Message-ID:  <40958D61-2B4A-45DA-AD82-3A2841ADA091@gromit.dlib.vt.edu>
In-Reply-To: <35268C07-C9A3-430C-BB06-E2B99227DE5C@cs.huji.ac.il>
References:  <20160413095534.B48EA406057@ip-64-139-1-69.sjc.megapath.net> <1460560419.52955.23.camel@freebsd.org> <CAPyFy2AHdog0GzLBDQWeg%2B494yWo73gEJzFBPS_v=Nz3YparUA@mail.gmail.com> <87D8B295-950F-4B9D-AF58-0455FC212087@kientzle.com> <35268C07-C9A3-430C-BB06-E2B99227DE5C@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 29, 2016, at 2:21 AM, Daniel Braniss <danny@cs.huji.ac.il> wrote:

>> On 29 Jun 2016, at 07:14, Tim Kientzle <tim@kientzle.com> wrote:
>>=20
>>>=20
>>> On Jun 28, 2016, at 12:45 PM, Ed Maste <emaste@FreeBSD.org> wrote:
>>>=20
>>> On 13 April 2016 at 11:13, Ian Lepore <ian@freebsd.org> wrote:
>>>> On Wed, 2016-04-13 at 02:55 -0700, Hal Murray wrote:
>>>>>> gpart unset -a active -i 1 mmcsd1
>>>>>=20
>>>>> Many thanks.  That's just what I was looking for.
>>>>>=20
>>>>> It would make a good addition to the wiki.
>>>>=20
>>>> Oh, that's a good idea (so I did it).
>>>=20
>>> On a related note, do you know if it's possible for the stock uboot =
on
>>> the eMMC to chain-load a new uboot from the SD card somehow (in =
order
>>> to avoid needing to make any change to the eMMC image)?
>>=20
>> If I remember correctly, the uboot provided on the stock eMMC image =
was configured to see if the SD card had a Linux kernel and load the =
kernel from that if it was there.  If the SD did not have a Linux =
kernel, it would fall back to eMMC.
>>=20
>> Of course, if you=E2=80=99re willing to hold the boot switch, you can =
boot from SD without changing the eMMC.
>>=20
>=20
>=20
> last time I did this, and as far as I remember, you had to hold the =
boot switch only once,
> after that every reboot was from the sd card.


This is my experience, too.  Only cold boots require holding down the =
boot switch.  Warm boots (e.g., "shutdown -r") don't, and boot from the =
SD card.

Cheers,

Paul.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40958D61-2B4A-45DA-AD82-3A2841ADA091>