From: Wolfgang Denk Date: Thu, 17 Aug 2006 22:08:03 +0200 Subject: [U-Boot-Users] Suggestion on CRCing data on NAND? In-Reply-To: Your message of "Thu, 17 Aug 2006 14:08:31 EDT." Message-ID: <20060817200803.24D4F353A39@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message you wrote: > I need to calculate CRC for the data (jffs2) on NAND flash. (u-boot is I cannot imagine what that would be good for. The CRC would ounly be useful if this was a read-only partition, then JFFS2 is probably not the optimal solution; or it is a writable partition, and then your CRC is void. > Can anyone suggest a better/faster way? Explain what you really want to do. I guess you are on the wrong track. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Looks clean and obviously correct to me, but then _everything_ I write always looks obviously correct to me. - Linus Torvalds in