EMMC Flashing Error

Hi Robert,

When emmc is flashed with dd firmware.img from SD card, it shows errors:

Blockquote
debian@beaglebone:~/ncu$ [ 206.968662] EXT4-fs error (device mmcblk1p1): ext4_v
alidate_block_bitmap:376: comm cp: bg 33: bad block bitmap checksum
[ 206.981770] EXT4-fs error (device mmcblk1p1): ext4_validate_block_bitmap:376:
comm cp: bg 34: bad block bitmap checksum
[ 206.997011] EXT4-fs error (device mmcblk1p1): ext4_validate_block_bitmap:376:
comm cp: bg 35: bad block bitmap checksum
[ 207.010204] EXT4-fs error (device mmcblk1p1): ext4_validate_block_bitmap:376:
comm cp: bg 36: bad block bitmap checksum

Blockquote

But It is ok flashed with BalenaEtcher program through micro usb.
Any suggestions?

Thank you,
David Zhou

Besides running fsck, i don’t know… I’ve never really used the dd *.img in a production environment, i prefer to use rsync and friends to create and copy the file system to the target drive…

Regards,

Hi Robert,

emmc_error_fsck.txt (65.1 KB)

I uploaded output from fsck command. Please take a look for me. Appreciate your help.

Best Regards,
David Zhou

Hi Robert,
I figured out, it was the image creation went wrong. For some reason,

rootfs: 111499/951552 files (0.1% non-contiguous), 895192/3846144 blocks

895192 blocks are not enough.

Not sure why.

Best Regards,
David