Booting FreeBSD on BeagleBone Black from microSD by default
Paul Mather
paul at gromit.dlib.vt.edu
Wed Jun 29 12:43:01 UTC 2016
On Jun 29, 2016, at 2:21 AM, Daniel Braniss <danny at cs.huji.ac.il> wrote:
>> On 29 Jun 2016, at 07:14, Tim Kientzle <tim at kientzle.com> wrote:
>>
>>>
>>> On Jun 28, 2016, at 12:45 PM, Ed Maste <emaste at FreeBSD.org> wrote:
>>>
>>> On 13 April 2016 at 11:13, Ian Lepore <ian at freebsd.org> wrote:
>>>> On Wed, 2016-04-13 at 02:55 -0700, Hal Murray wrote:
>>>>>> gpart unset -a active -i 1 mmcsd1
>>>>>
>>>>> Many thanks. That's just what I was looking for.
>>>>>
>>>>> It would make a good addition to the wiki.
>>>>
>>>> Oh, that's a good idea (so I did it).
>>>
>>> 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)?
>>
>> 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.
>>
>> Of course, if you’re willing to hold the boot switch, you can boot from SD without changing the eMMC.
>>
>
>
> 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.
More information about the freebsd-arm
mailing list