Received: from mail-ew0-f220.google.com ([209.85.219.220]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1Nbj2i-0004fj-JU for linux-mtd@lists.infradead.org; Sun, 31 Jan 2010 23:17:29 +0000 Received: by ewy20 with SMTP id 20so4492740ewy.20 for ; Sun, 31 Jan 2010 15:17:22 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1264796505.21418.3.camel@localhost.localdomain> References: <1264796505.21418.3.camel@localhost.localdomain> Date: Sun, 31 Jan 2010 18:17:22 -0500 Message-ID: Subject: Re: ubiformat image verification From: twebb To: dedekind1@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> Can the image that is written to NAND using ubiformat be read back >> (using nanddump) and compared identically to the original image file? >> I want to somehow verify that the image was written error-free to NAND >> flash. > > It can. But it is simpler to add a --check option to ubiformat and teach > it to read stuff back and verify. > Yes, a --check or --verify option would be nice. Does it matter whether the underlying NAND flash is erased or not prior to the ubiformat? Thanks, twebb