Hello,

I made a backup from my old Beaglebone Black and want to flash this on a 
complete new one.
I made this the last 3 years without problems:
Her is the autorun.sh:
#!/bin/sh
echo timer > /sys/class/leds/beaglebone\:green\:usr0/trigger 

#un-comment the following line to perform a backup
#dd if=/dev/mmcblk1 bs=16M | gzip -c > /mnt/ENO.img.gz

#un-comment the following 6 lines to perform a restore (be sure to replace 
XXXXX with your image name)
gunzip -c /mnt/ENO.img.gz | dd of=/dev/mmcblk1 bs=16M
UUID=$(/sbin/blkid -c /dev/null -s UUID -o value /dev/mmcblk1p2)
mkdir -p /mnt
mount /dev/mmcblk1p2 /mnt
ed -i "s/^uuid=.*\$/uuid=$UUID/" /mnt/boot/uEnv.txt
umount /mnt

sync
echo default-on > /sys/class/leds/beaglebone\:green\:usr0/trigger

But I get this errors:
Starting logging: OK<\r>
<\n>Initializing random number generator... done.<\r>
<\n>Starting network...<\r>
<\n>/etc/init.d/S93-am335x-pm-firmware-load: line 4: can't create 
/sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading: 
nonexistent directory<\r>
<\n>/etc/init.d/S93-am335x-pm-firmware-load: line 5: can't create 
/sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data: 
nonexistent directory<\r>
<\n>/etc/init.d/S93-am335x-pm-firmware-load: line 6: can't create 
/sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading: 
nonexistent directory<\r>
<\n>Running /dev/mmcblk0p1/autorun.sh...<\r>
<\n>dd: writing '/dev/mmcblk1': No space left on device<\r>
<\n>0+7863 records in<\r>
<\n>0+7862 records out<\r>
<\n>mount: mounting /dev/mmcblk1p2 on /mnt failed: No such file or 
directory<\r>
<\n>/etc/init.d/S99autorun: /mnt/autorun.sh: line 12: ed: not found<\r>
<\n>umount: can't umount /mnt: Device or resource busy<\r>
<\n><\r>
<\r>
<\n>Welcome to Buildroot<\r>
<\n><\r>
beaglebone login:

I can see:
dd: writing '/dev/mmcblk1': No space left on device

Is the flasher script to old for newer BeagleBone Black?
I have the backup as an image file and need to flash this on the new 
BeagleBone Black eMMC

Thank you for help!

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/eeb84773-adca-4a16-979f-a00d995f435b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to