Hi all,

I have several BBB in my system (all rev C). I need them to be configured 
the same way so I thought about setting up one and copying the setup using 
dd between boards. In order to do this I used a uSD with 2 partitions, the 
first one containing a full system and the 2nd one aimed at storing the 
image from the eMMC.

I create the custom image from eMMC of the source board to the uSD card via:

*root@beaglebone:~# dd if=/dev/mmcblk1 of=/dev/mmcblk0p3 bs=16M*
*234+0 records in*
*234+0 records out*
*3925868544 bytes (3.9 GB) copied, 306.985 s, 12.8 MB/s*

and copy it from the uSD board to the eMMC of the destination board via:

*root@beaglebone:~# dd if=/dev/mmcblk0p3 of=/dev/mmcblk1 bs=16M count=234*
*234+0 records in*
*234+0 records out*
*3925868544 bytes (3.9 GB) copied, 583.641 s, 6.7 MB/s*

The operations run correctly but when I restart the destination board, I 
can never reach (whether its is via SSH to 192.168.7.2 or to the IP set for 
eth0, it does not work). I have also tried doing the dd to a file rather 
than to a partition, and changed the bs, but none of these options work. 
The only configuration that works is *when the source and destination 
boards are the same* (which is useless).

I initially thought I had bricked all my boards except the source, but then 
I tried to install an official flasher image (from Robert C. Nelson) on the 
destination boards, and it worked fine (at least with 
*BBB-eMMC-flasher-debian-8.4-console-armhf-2016-04-10-2gb.img.xz* and 
*BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz*). So my boards are 
actually not bricked.

I then tried to dd an official *non-flasher* image (also coming from Robert 
C Nelson), by putting the non-flasher image on the 2nd partition of my uSD 
card, mounting this partition and doing *dd 
if=bone-debian-8.4-console-armhf-2016-04-10-2gb.img of=/dev/mmcblk1p1 *but 
I had no luck.

So it seems I can install the official flasher images (using the 
auto-flashing system), but when I flash using dd it does not work (whether 
I flash custom or official images). This gives me the feeling that the 
different boards are slightly different in hardware, could this be 
possible? Could this come from dead sectors in the eMMC? Is there a way to 
use the auto-flashing system with a custom image?

I have looked for days on the internet how to go forward and get my dds 
right but cannot find any answer.

Any idea of what I am doing wrong?

Thanks,

Antoine.

-- 
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/fad78b5a-24a8-4046-88bb-24ab41527af5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to