Why does BBB boot from MicroSD card without pressing the boot button

46 views
Skip to first unread message

Taceant Omnes

unread,
Sep 30, 2015, 9:33:32 AM9/30/15
to Beagle Board
According to the BBB manual, the BBB should boot from MicroSD card
only if I press the boot button, yet it happens without pressing it.
Why?

This is the trace _without_ the MicroSD card that shows the BBB
booting from flash:
https://paste.ee/p/TrpuR

This is the trace _with the MicroSD card that shows the BBB booting
from the MicroSD even though I did not press the button:
https://paste.ee/p/cpaA6

When logged in _without_ the MicroSD card:
root@beaglebone:~# cat /media/BEAGLEBONE/uEnv.txt
optargs=quiet drm.debug=7

This is a BBB v. B

Any ideas?

Robert Nelson

unread,
Sep 30, 2015, 10:01:55 AM9/30/15
to Beagle Board

Magic.. Your welcome!

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Charles Steinkuehler

unread,
Sep 30, 2015, 10:09:45 AM9/30/15
to beagl...@googlegroups.com
More specifically, U-Boot is configured to check if there's a uSD card
present and boots from it if found. This is intended as a convenience
and the details are specific to the version of U-Boot you have
installed. If you want to change this behavior, you can modify the
U-Boot startup script or (in some cases) remove the boot files from your
uSD card.

On 9/30/2015 9:01 AM, Robert Nelson wrote:
> Magic.. Your welcome!
> On Sep 30, 2015 7:33 AM, "Taceant Omnes" <tac...@gmail.com> wrote:
>
>> According to the BBB manual, the BBB should boot from MicroSD card
>> only if I press the boot button, yet it happens without pressing it.
>> Why?
>>
>> This is the trace _without_ the MicroSD card that shows the BBB
>> booting from flash:
>> https://paste.ee/p/TrpuR
>>
>> This is the trace _with the MicroSD card that shows the BBB booting
>> from the MicroSD even though I did not press the button:
>> https://paste.ee/p/cpaA6
>>
>> When logged in _without_ the MicroSD card:
>> root@beaglebone:~# cat /media/BEAGLEBONE/uEnv.txt
>> optargs=quiet drm.debug=7
>>
>> This is a BBB v. B
>>
>> Any ideas?

--
Charles Steinkuehler
cha...@steinkuehler.net

signature.asc

Taceant Omnes

unread,
Sep 30, 2015, 10:32:54 AM9/30/15
to Beagle Board
On 30 September 2015 at 15:09, Charles Steinkuehler
<cha...@steinkuehler.net> wrote:
> More specifically, U-Boot is configured to check if there's a uSD card
> present and boots from it if found. This is intended as a convenience
> and the details are specific to the version of U-Boot you have
> installed. If you want to change this behavior, you can modify the
> U-Boot startup script or (in some cases) remove the boot files from your
> uSD card.

Thanks Charles, I understand now. Section 6.7.2 of the BBB manual
(Default Boot Options) talks from a strict hardware point of view
without mention of the behaviour of u-boot that ships with BBB that
overides the hardware behaviour (sort of).

Gerald Coley

unread,
Sep 30, 2015, 10:37:02 AM9/30/15
to beagl...@googlegroups.com
The manual is correct. It still boots from eMMC if the button i snot pushed as the first choice.
If you push the button, it boots from SD if it is there.

What SW chooses to do do does not alter these facts. SW has no control over the boot order.

Gerald


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Taceant Omnes

unread,
Sep 30, 2015, 10:59:08 AM9/30/15
to Beagle Board
On 30 September 2015 at 15:36, Gerald Coley <ger...@beagleboard.org> wrote:
> The manual is correct. It still boots from eMMC if the button i snot pushed
> as the first choice.
> If you push the button, it boots from SD if it is there.
>
> What SW chooses to do do does not alter these facts. SW has no control over
> the boot order.
>
> Gerald


Hi Gerald,

I agree with what you said and that the manual is correct from a
hardware point of view. However it would not be out of place (in my
opinion) to add a short sentence after this paragraph in section 6.7.2
of the manual:

"If you have a uSD card from which you need to boot from, hold the
boot button down. On boot, the processor will look for the SPIO0 port
first, then uSD on the MMC0 port, followed by USB0 and UART0. In the
event there is no uSD card and the eMMC is empty, USB0 or UART0 could
be used as the board source."

The sentence I suggest could be added would be something like:
"Note however that BBB ships with U-Boot on the eMMC configured to
boot from the uSD if one is inserted even if the boot button is not
pressed."
Reply all
Reply to author
Forward
0 new messages