What are the NAND(MTD) read and write commands?
I have tried using dd but it appears that dd is not skipping the bad blocks in the bad block table. Is there some other command that I should be using to read and write to a raw NAND (MTD) device?
|
If you want to skip bad blocks use the ddrescue command. It may be that you have to install it first. Have a look at
Code:
man ddrescue |
Thanks for the reply. I ended up installing mtd-utils and used nandwrite to write to NAND and that seems to work.
|
MTD is not a real block device. If you have bad blocks on MTD it cannot be seeked as normal tools will do it. Reading software must handle this itself. Maybe try mtd-utils if you have this package. It automaticaly do it.
|
All times are GMT -5. The time now is 01:01 PM. |