After backing up eMMC contents to SD card and then restoring via method 
similar to mentioned 
in http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents, booting 
from a SD card and using dd to write to eMMC I have issue with failed write 
with error "Out of disk space" being reported.

Firing up two Rev C cards, one from Mouser and one from Element14 show 
following differences running fdisk /dev/mmcblk0

Disk /dev/mmcblk0: 3925 MB, 3925868544 bytes
4 heads, 16 sectors/track, 119808 cylinders, total 7667712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048      198655       98304    e  W95 FAT16 (LBA)
/dev/mmcblk0p2          198656     7553023     3677184   83  Linux




Disk /dev/mmcblk0: 3867 MB, 3867148288 bytes
4 heads, 16 sectors/track, 118016 cylinders, total 7553024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048      198655       98304    e  W95 FAT16 (LBA)
/dev/mmcblk0p2          198656     7553023     3677184   83  Linux

Now as luck would have it (and I actually do consider failure at this point 
as good luck) I created the image on BBB reporting larger disk size.

Now maybe I am misinterpreting error message and disk sizes but it does tie 
up with error message. 

Does anyone have any experience with this or suggested solution? While it 
would be ideal if all 4GB flash memories were the exact same size I assume 
this is not possible and one would have to build some buffer in and 
reduce/truncate the image size without destroying data integrity.

Appreciate any help/suggestions.
Colin

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to