From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 31 Jul 2009 18:09:36 -0500 Subject: [U-Boot] YAFFS2 and getting the NAND formatted In-Reply-To: <17434f2e0907311551t1025e668j578d315872afd454@mail.gmail.com> References: <17434f2e0907311551t1025e668j578d315872afd454@mail.gmail.com> Message-ID: <4A7379B0.7020307@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 J.C. Wren wrote: > I see references to 'nand write.yaffs2' which looks like it might do what I > want, but that seems to be non-existent. Was this replaced by something > else? It's not yet supported in mainline. There have been some patches floating around, but none has been formally submitted for merging. See: http://git.denx.de/?p=u-boot/u-boot-blackfin.git;a=commitdiff;h=44f07de8cc94836cd3b0fd2fb0cf8b8651461087 > All the solutions that don't involve 'nand write.yaffs2' involve booting to > Linux and mounting /dev/mtdblockX... Which doesn't really work when you > don't a root filesystem (No Ethernet, USB doesn't work right yet (can't get > a kernel to recognize the USB pen drive, although u-boot does quite nicely). You could try using an initrd/initramfs (attached to the kernel image, or loaded by u-boot) which includes the image to be written. Or you could try using jffs2 to bootstrap things. Or fix USB. :-) -Scott