Hi all
While I try to use the gpmi-nand driver for our custom iMX6Q board . I get failed
We use ubifs on MT29F4G08ABBDAH4 (1.8v )
I create ubifs image with follow command
mkfs.ubifs -d /opt/buildroot/output/target -e 0x1f000 -c 4044 -m 0x800 -x lzo -F -o /opt/buildroot/output/images/rootfs.ubifs
/ubinize -o /opt/buildroot/output/images/rootfs.ubi -m 0x800 -p 0x20000 -s 2048 -O 2048 ubinize.cfg
When I use dump less than 240k,seems read ok, and this can be reproduced
# dd if=/dev/mtdblock2 of=/tmp/test bs=4096 count=60 seek=10
60+0 records in
60+0 records out
# dd if=/dev/mtdblock2 of=/tmp/test bs=4096 count=61 seek=10
[ 1428.352363] end_request: I/O error, dev mtdblock2, sector 776
[ 1428.353104] Buffer I/O error on device mtdblock2, logical block 97
61+0 records in
And I am very sure about the hardware is ok .
Can you please take a look ?
Thanks and regards
Original Attachment has been moved to: dmesg.log.zip
Solved! Go to Solution.
The patch is ok, but we don't have the nand to verify it.