From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 03 Apr 2009 13:54:06 -0500 Subject: [U-Boot] Writing a YAFFS image to NAND In-Reply-To: <1238784243.8002.260.camel@blackhole> References: <1238784243.8002.260.camel@blackhole> Message-ID: <49D65B4E.6080003@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Peter Barada wrote: > Is there support in the 2009.03 version of U-boot to allow writing a > YAFFS image created by mkyaffs2image to NAND, including the meta-data in > the OOB? Not that I know of (unless something in cmd_yaffs2.c can do it). > Looking over the nand write/read commands, they look to ignore the OOB > data interleaved in the image (i.e. 2048+16 bytes per page for > large-block NAND). I did see a patch from fmandarino on the list, but > that doesn't look to be in the 2009.03 codebase. That was several years ago; if someone wants to submit a proper patch against current u-boot (without the pre-2.6.18 support, or at least with the newer format being the default), I'll apply it. Better yet would be a more general mechanism whereby the user specifies how many OOB bytes are interleaved in the supplied image, without any specific knowledege of yaffs. -Scott