I have been using the Dora and Daisy releases of Yocto on my WandBoard Quad for awhile now with no problems. I use the dd command to create 8GB SD cards like this:
source setup-environment build
sudo dd if=build/tmp/deploy/images/wandboard-quad/fsl-image-machine-test-wandboard-quad.sdcard of=/dev/sdd bs=1M
However, this does not seem to work with the new Dizzy release (1.7) of the fsl-community-bsp. The bitbake part seems to be fine. I did add a few things like cron and openssh. And the dd operation seems to be fine. But, when I try to mount the new SD card, Ubuntu (14.04) immediately complains that there is a problem with the geometry of the created SD card.
When I try to boot the SD card, I get a similar error message about bad geometry:
EXT3-fs error (device mmcblk0p2): ext3_check_descriptors: Block bitmap for group 6 not in group (block 0)!
EXT3-fs (mmcblk0p2): error: group descriptors corrupted
EXT2-fs (mmcblk0p2): error: ext2_check_descriptors: Block bitmap for group 6 not in group (block 0)!
EXT2-fs (mmcblk0p2): group descriptors corrupted
EXT4-fs (mmcblk0p2): bad geometry: block count 1680384 exceeds size of device (181248 blocks)
List of all partitions:
b300 7782400 mmcblk0 driver: mmcblk
b301 8192 mmcblk0p1 0009797c-01
b302 724992 mmcblk0p2 0009797c-02
No filesystem could mount root, tried: ext3 ext2 ext4 vfat fuseblk
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.10.17-1.0.1-wandboard+ga6e7fc5 #1
I have tried this 6 times with different cards and they all failed in the same way. So I tried going back to the Daisy release and that works fine.
Can someone please shed some light on what could be causing this issue or how to work around it?
I found a work-around is to simply run fsck on the created cards, after the dd operation. That corrects the problem so the cards will now boot Dizzy. But the Dizzy recipe should not be producing images with bad blocks in the first place.