[PATCH v5 00/14] Armada 370/XP NAND support
From: computersforpeace@gmail.com (Brian Norris)
Date: 2013-12-05 21:32:42
From: computersforpeace@gmail.com (Brian Norris)
Date: 2013-12-05 21:32:42
On Wed, Dec 04, 2013 at 09:48:04PM +0100, Arnaud Ebalard wrote:
Now, I am starting to wonder if nandwrite does not try and do something smart depending on the content of the file.
nandwrite does not do any data-dependent operations. It only checks the size of the file to verify against MTD alignment restrictions, but otherwise, it is simply a dump page-at-a-time programmer. However, there are other characteristics which do differentiate it from dd, so it's not surprising if nandwrite can uncover different code behaviors than dd. (BTW, I wouldn't recommend dd for NAND programming. It may be useful for certain debugging purposes, but it ignore bad blocks and is generally dangerous to use for any regular purposes.) Brian