Load the MLO and U-BOOT in beaglebone black though USB port

3,393 views
Skip to first unread message

goku...@gmail.com

unread,
Jan 14, 2015, 8:00:45 AM1/14/15
to beagl...@googlegroups.com, gokul. g

How we can load the MLO and U-BOOT in beaglebone black though USB port? I know it can be done by SD card/serial port  and it will load to eMMC but if I have a USB stick/External HDD/USB connected to host, how can MLO and UBOOT be fetch through USB port and able transfer directly to eMMC.

Once these are done and we get the UBOOT prompt, we can surely upload the kernel image to any of the known memory interfaces .

Gerald Coley

unread,
Jan 14, 2015, 11:18:59 AM1/14/15
to beagl...@googlegroups.com, gokul. g
Currently, there is no way. A special tool is required and TI never released it.


Gerald

On Wed, Jan 14, 2015 at 7:00 AM, <goku...@gmail.com> wrote:

How we can load the MLO and U-BOOT in beaglebone black though USB port? I know it can be done by SD card/serial port  and it will load to eMMC but if I have a USB stick/External HDD/USB connected to host, how can MLO and UBOOT be fetch through USB port and able transfer directly to eMMC.

Once these are done and we get the UBOOT prompt, we can surely upload the kernel image to any of the known memory interfaces .

--
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.



--

Robert Nelson

unread,
Jan 14, 2015, 11:23:07 AM1/14/15
to Beagle Board, gokul. g
On Wed, Jan 14, 2015 at 7:00 AM, <goku...@gmail.com> wrote:
Well... It's not 100% of what you want.. but close..

First flash this "console" eMMC flasher:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBB_.28All_Revs.29_eMMC_Flashers

After flashing has finished, remove microSD...

From u-boot:

ums 0 mmc 1

Now you can flash the "eMMC" thru usb the port.. (thanks to u-boot)

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

goku...@gmail.com

unread,
Jan 15, 2015, 12:23:25 AM1/15/15
to beagl...@googlegroups.com, gok...@kalkitech.in
Hi all,

So as far as I know  we need to take support from TI for USB boot option . right?
Since we don't know what is actually expected by ROM code,we cant. is there any source available for ROM code ?

Gokul c g
gok...@kalkitech.in

goku...@gmail.com

unread,
Jan 15, 2015, 2:54:06 AM1/15/15
to beagl...@googlegroups.com, gok...@kalkitech.in
hi

According to Silicon Errata SPRZ360 section 3.1.3 Boot:

USB Boot ROM Code Uses Default DATAPOLARITY .The AM335x USB PHYs supports a DATAPOLARITY feature that allows the data plus (DP) and data minus (DM) data signals to be swapped. This feature was added to simplify PCB layout.In some cases, the DP and DM data signals may need to cross over each other to connect to the respective USB connector pins. Crossing these signals on the PCB may cause signal integrity issues if not implemented properly since they must be routed as high-speed differential transmission lines. The DATAPOLARITY feature in the USB PHYs can be used resolve this issue.The DATAPOLARITY feature is controlled by DATAPOLARITY_INV (bit 23) of the respective USB_CTRL register.
The USB boot ROM code uses the default value for DATAPOLARITY_INV when booting from USB. Therefore, the PCB must be designed to use the default DATAPOLARITY if the system must support USB boot



How Beagle bone black  is designed . is this considered in the design ?


On Wednesday, January 14, 2015 at 9:53:07 PM UTC+5:30, RobertCNelson wrote:

Vlad Ungureanu

unread,
Jan 17, 2015, 9:25:09 AM1/17/15
to beagl...@googlegroups.com, gok...@kalkitech.in, goku...@gmail.com
https://github.com/ungureanuvladvictor/BBBlfs

look at this to see how to boot via USB.
Reply all
Reply to author
Forward
0 new messages