You are not alone buddy!
I just booted up the BBB rev C with a blank 8gb sd card, ran 
/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh 
on one BBB.

Then I moved the sd card to another BBB and used 
/opt/scripts/tools/beaglebone-black-eMMC-flasher.sh to put the image back 
on to the eMMC but first I had to fix an error in the script.

nano /opt/scripts/tools/beaglebone-black-eMMC-flasher.sh

Notice the Normal directory in both cp commands "cp -v /boot/uboot/*Normal*/MLO 
/tmp/boot/MLO || write_failure"

copy_boot () {
        mkdir -p /tmp/boot/ || true
        mount ${destination}p1 /tmp/boot/ -o sync
        #Make sure the BootLoader gets copied first:
        cp -v /boot/uboot/*Normal*/MLO /tmp/boot/MLO || write_failure
        flush_cache_mounted

        cp -v /boot/uboot/*Normal*/u-boot.img /tmp/boot/u-boot.img || 
write_failu$
        flush_cache_mounted

        rsync -aAXv /boot/uboot/ /tmp/boot/ 
--exclude={MLO,u-boot.img,*bak,flas$
        flush_cache_mounted

        unset root_uuid
        root_uuid=$(/sbin/blkid -s UUID -o value ${destination}p2)
        if [ "${root_uuid}" ] ; then
         ...

I do not have that directory on any of my BBB rev C.
So I modified it by just deleting the "Normal" part.

Now both cp line look like this, cp -v /boot/uboot/MLO

The scripts works but I still seem to have some issues as it boots in to 
Emergency mode.

I really can't believe this BBB is so resistant to re-flashing!  Pain in my 
butt!
And I am not the only one.  Just do a Google and look at all the people 
having trouble doing a simple flash!

Good luck and may the force be with you!




On Thursday, July 16, 2015 at 2:02:11 AM UTC-7, Fohnbit wrote:
>
> Hello!
>
> I configure my BBB for my system. I disable the USB connect to Windows and 
> other stuffs.
>
> Now I want to copy this one to another for backup.
> But when I copy the eMMC to my Linux machine with:
>
> dd if=/dev/mmcblk0 bs=1M | ssh [email protected] <javascript:> 'dd 
> of=/home/martin/Documents/path/to/backup/origBBB.img bs=1M'
>
> It work and generate the img
>
> I flash this on a new sd card and try to flash the eMMC with holding S2 
> Button before power up.
>
> But it seems not working ... the heartbeat LED is running and the CPu is 
> flashing always a little bit.
>
> Did I miss some files on the sd card for flashing the image on the eMMC?
>
> Thank you!
>
>
>

-- 
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/d/optout.

Reply via email to