Glued beaglebone black - boot off SD-card

47 views
Skip to first unread message

Kristian Klausen

unread,
Aug 18, 2014, 8:46:30 AM8/18/14
to lsts-to...@googlegroups.com
Hi,

I am designing a cape for our BBBs to rune glued, and João Fortuna mentioned that I should add a resistor between two pins to force it to boot off the SD card. I've failed to find any referenes to this online, is this something you've implemented in your u-boot configuration somewhere?

Regards,
Kristian

Ricardo Martins

unread,
Aug 18, 2014, 9:03:32 AM8/18/14
to Kristian Klausen, lsts-to...@googlegroups.com
Hi Kristian,

Without the resistor the BBB will always boot from the eMMC first, check section 5.3.5 of the BBB manual. The resistor does the same thing as pressing the "Boot Switch". Right now we don't use the resistor. You flash one microSD card with GLUED, and on the first boot you press the "Boot Switch" to boot from the microSD. When the boot process finishes, you mount the first partition of the eMMC, remove its contents and copy the files MLO and u-boot.img from the folder /boot. Afterwards, unmount the partition and reboot. This way the bootloader will reside on the eMMC and the operating system will reside on the microSD. GLUED upgrade scripts will then take care of updating the bootloader, no need to press the "Boot Switch".

Regards,
Ricardo martins


--
You received this message because you are subscribed to the Google Groups "LSTS Toolchain" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lsts-toolchai...@googlegroups.com.
Visit this group at http://groups.google.com/group/lsts-toolchain.
To view this discussion on the web visit https://groups.google.com/d/msgid/lsts-toolchain/e557a78b-8f64-4c09-a5d0-c44643478f09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kristian Klausen

unread,
Aug 18, 2014, 9:15:33 AM8/18/14
to lsts-to...@googlegroups.com, kkn...@gmail.com
Hi,

Thank you,  Ricardo! :)

Kristian
Reply all
Reply to author
Forward
0 new messages