From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Egholm Nielsen Date: Thu, 07 Apr 2005 21:55:06 +0200 Subject: [U-Boot-Users] Re: JFFS2 support - was: (no subject) In-Reply-To: <2eae136bb041c4f4f56911f7af6a748c@sundius.com> References: <20050403205152.76E58C108D@atlas.denx.de> <2eae136bb041c4f4f56911f7af6a748c@sundius.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Michael, >> If you didn't update it yourself this just meand that it's old. Very >> old. Very, very old indeed. > agreed. So I take that to be read as: go update the mtd code > manually, overwriting the old drivers/mtd and include/mtd directories > > if so, what version of mtd should I use.. I understand that currently > the mtd guys are not supporting ancient kernels (2.4.20) They no longer support 2.4 kernels, at all: "As of March 2005 we dropped Linux 2.4 support from CVS head" (http://www.linux-mtd.infradead.org/source.html#kernelversions) however, David still backports some jffs2 stuff to the 2.4 branch: "I _am_ maintaining JFFS2 in the 2.4 kernel, even to the extent of backporting the __wait_on_freeing_inode() stuff from 2.6 to fix the problems with simultaneous read_inode() and clear_inode(). But I'm not adding new features, so NAND flash isn't supported in 2.4." (http://lists.infradead.org/pipermail/linux-mtd/2005-March/012088.html) >> For the last time (before I give up finally): and how did you install >> that image to your flash partition? Under Linux or under U-Boot? How >> exactly? > Ah, sorry I see what you are getting at.. I use U-Boot to write the > jffs2 image > that I create on my PC host. I tftp the image, and then use cp.b to the > address > that is my flash address space. > I use cp.b since it does not work doing simply cp.. because of the word > length... I guess this is NOR flash? Otherwise you should use "nand.write.jffs2", handling bad blocks (broken currently). // Martin