Hello,
I try to do a backup of the nand and restore it on another ci20. I've found that mtd-utils is done for that, especially nanddump, flash_erase and nandwrite. I tried:
for i in {0..4}; do sudo nanddump /dev/mtd${i} -f mtd${i}.bak; done
for i in {0..4}; do sudo flash_erase /dev/mtd$i 0 0; done
for i in {0..4}; do sudo nandwrite /dev/mtd$i mtd$i.bak; done
When I try to boot, u-boot works well, but I have a kernel panic:
UBIFS error (pid 0): ubifs_check_node: bad CRC: calculated 0x673f7bda, read 0xad
UBIFS error (pid 0): ubifs_check_node: bad node at LEB 0:0
UBIFS error (pid 0): ubifs_read_node: expected node type 6
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:boot'!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an
UBIFS filesystem
Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Do you know how to dump and restore properly nand from ci20? (and maybe others devices as method is probably the same)
Thank you,
Nuliel