I actually had trouble using that script (The USER0 LED didn't ever blink steadily -- it kept its "heartbeat" pattern). I was finally able to restore using the ssh method, though. It turns out that when you boot from the microSD the eMMC is actually mmcblk1 -- not mmcblk0. I didn't realize that until I started mounting the different partitions and inspecting their contents.
For me, the following commands worked: To create a backup: 1) Create a bootable microSD with a standalone image (Not an eMMC flasher image. I used Ubuntu http://elinux.org/BeagleBoardUbuntu#Raring_13.04_armhf ) 2) Insert the microSD card with the board powered off. I think the board should automatically boot from the microSD card when power is applied. 3) Connect to the BBB through ssh 4) From the BBB, copy the eMMC contents to the host computer sudo dd if=/dev/mmcblk1 bs=1M | ssh [email protected] "dd of=/home/mdarling/Desktop/BBB_Backup.img bs = 1M" To restore the backup: 1) Boot from a microSD card as described above 2) Connect to the BBB via ssh 3) From the BBB, ssh [email protected] "dd if=/home/mdarling/Desktop/BBB_Backup.img bs=1M" | sudo dd of=/dev/mmcblk1 bs=1M For me, a backup/restore using the "dd" method took under 10 minutes. Thanks for your help, "Tumbleweed". On Tue, Nov 12, 2013 at 6:00 AM, Tumbleweed <[email protected]> wrote: > Hi Mike, > > Your related post on another forum suggests that you are still chasing > this problem. There are instructions here: > > http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents > > For creating a microSD card with an autorun.sh script that will restore > your .img file to the eMMC. I've used this successfully to restore a BBB > to a known good state. > > Hope this helps! > > > On Tuesday, September 10, 2013 5:53:44 PM UTC-7, Michael Darling wrote: >> >> Hi Koen, >> >> I'm actually working with the Ubuntu distro for BBB and would like to >> create an eMMC flasher version using a custom kernel build. Robert C. >> Nelson's page for the Ubuntu distro only includes an eMMC flasher for a >> prebuilt Ubuntu image. Would I be able to use the "bone-flash-tool" script >> that you referenced to do this? And are there any instructions for using >> the shell script (posted on a Wiki somewhere)? I haven't done too much >> with shell scripting so I don't quite follow everything that this script is >> doing. >> >> Thanks for any tips you can offer. >> -Mike >> >> On Tuesday, May 28, 2013 1:33:51 AM UTC-7, Koen Kooi wrote: >>> >>> >>> Op 28 mei 2013, om 09:38 heeft Neabex <[email protected]> het volgende >>> geschreven: >>> >>> > I've looked around, but I've been unable to find instructions on how >>> to generate something similar to the BBB emmc flasher image. I know how to >>> build an image for BBB using Angstrom, but is there a specific target or >>> some sort of script to generate my own BBB emmc flasher image? >>> > I want to be able to make an SD card to flash my custom builds. >>> >>> This is what I use: https://github.com/beagleboard/meta-beagleboard/ >>> blob/master/contrib/bone-flash-tool/emmc-prepare.sh >>> >>> It needs to run with root permissions, so be *very* careful when using >>> it. Use an existing image as a base. >> >> -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/TBbjZ_gt1FU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
