Hello,
Have a mi R3P with NAND flash.
Wanted to backup and restore the mtd using nanddump and nandwrite.
Did some tests but I am doing something wrong.
dump mtd9 with command bellow
# nanddump -n -f /tmp/mtd9bk /dev/mtd9
# flash_erase /dev/mtd9 0 0
# nandwrite /dev/mtd9 /tmp/mtd9bk
however when try to mount I got ECC errors
Out of ecc_threshold!!page: 57537, ecc_threshold: 6, Max_ECN: 16
page 57537: 16, 0, 0, 0
Read page0
Out of ecc_threshold!!page: 57537, ecc_threshold: 6, Max_ECN: 16
page 57537: 16, 0, 0, 0
Read page1
Out of ecc_threshold!!page: 57537, ecc_threshold: 6, Max_ECN: 16
page 57537: 16, 0, 0, 0
Read page2
Some tips are appreciated.