Flashing BBB eMMC without using uSD card

1,721 views
Skip to first unread message

vidi...@gmail.com

unread,
Aug 27, 2013, 9:07:39 AM8/27/13
to beagl...@googlegroups.com
Hi all,

I have new Beagle bone black with me now and I am wandering is it possible to flash the integrated eMMC with MLO, U-Boot, kernel and file system images without using the uSD card? 

Could this be done from host PC (Linux running) via UART or USB?

Thanks,
Vidin

Charles Steinkuehler

unread,
Aug 27, 2013, 9:17:37 AM8/27/13
to beagl...@googlegroups.com, vidi...@gmail.com
If there's something in the eMMC already (so the system boots), you
could write a self-programming application that flashed the internal
eMMC with data from the UART or USB, but it would have to run out of ram.

If the eMMC is unprogrammed or corrupt, you can boot from UART or USB
and then program the eMMC (you may need to pull some boot mode pins high
or low at power-on to select the correct boot mode).

Both options probably involve a fair amount of software development, but
should be possible.

Is there a specific reason you not want to program via an SD card?

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

vidi...@gmail.com

unread,
Aug 27, 2013, 9:37:23 AM8/27/13
to beagl...@googlegroups.com, vidi...@gmail.com
Hi,

Thanks for the answer. 
I was looking for some ready tool for direct flashing of completely empty or corrupted eMMC to speed up the flash process. 
No particular reason to skip the SD flashing.

As I understand I have to build the tool myself. I did not find anything in TI wikis for AM335x processors also.

Thanks,
Vidin

Gerald Coley

unread,
Aug 27, 2013, 9:46:04 AM8/27/13
to beagl...@googlegroups.com
There is work going on to create such a tool. It just sin't ready, And no, I have mo idea when it will be ready. We uses the SD card to flash the eMMC and a flashing tool already exists for the SD card.

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/groups/opt_out.

vidi...@gmail.com

unread,
Aug 27, 2013, 9:51:31 AM8/27/13
to beagl...@googlegroups.com
Hi Gerald,

Thanks for the info. I will wait for the tool (not in a hurry anyway).

BR,
Vidin

smith.wi...@gmail.com

unread,
Aug 27, 2013, 10:36:28 AM8/27/13
to beagl...@googlegroups.com


On Tuesday, August 27, 2013 9:46:04 AM UTC-4, Gerald wrote:
There is work going on to create such a tool. It just sin't ready, And no, I have mo idea when it will be ready. We uses the SD card to flash the eMMC and a flashing tool already exists for the SD card.

Just FYI, the eMMC flasher is currently slightly broken (in the 8/21 version at least).  It's missing the blockdev & kpartx tools ...

smith.wi...@gmail.com

unread,
Oct 30, 2013, 11:39:29 AM10/30/13
to beagl...@googlegroups.com
On Tuesday, August 27, 2013 9:46:04 AM UTC-4, Gerald wrote:
There is work going on to create such a tool. It just sin't ready, And no, I have mo idea when it will be ready. We uses the SD card to flash the eMMC and a flashing tool already exists for the SD card.

Do you have any more information on this?  Is it a way to flash the BBB via USB from a Linux system?  Plugging in a USB cable burning the boot & rootfs images directly somehow seems quicker than creating a flasher image, burning the micro-SD, inserting it, powering it up with the boot button pressed etc.

Thanks.
 

Gerald Coley

unread,
Oct 30, 2013, 11:43:29 AM10/30/13
to beagl...@googlegroups.com
Not at the moment.

Gerald



--

ramak...@watchy.in

unread,
Feb 19, 2014, 2:34:42 AM2/19/14
to beagl...@googlegroups.com, vidi...@gmail.com

Hi ,
         can we do the flashed images on the emmc as secured.(means not to hack by any one through any method like mmc, usb, uart)

 I want to keep my os and rootfs on emmc along with my application.
now i want to make them secured [not to hack by any methods].
and also i need the option that i can able to update the application.

how can this possible on beaglebone black?

can you please help me on this issue.




Thanks and Regards,
Ramakrishna.
Reply all
Reply to author
Forward
0 new messages