From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Johansson Date: 21 Mar 2003 18:08:10 +0100 Subject: [U-Boot-Users] JFFS2 on NAND support? In-Reply-To: <3E7AFD6C.101@elsoft.ch> References: <3E7AFD6C.101@elsoft.ch> Message-ID: <1048266490.31297.137.camel@spawn> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2003-03-21 at 12:54, "David M?ller (ELSOFT AG)" wrote: > Hello > > Is anybody working on JFFS2 on NAND flash support in U-Boot or has > already implemented it? > > Dave Is there anything different about the jffs2 infomation when it is on NAND? If not it should work if you first copy the data to RAM. The JFFS2 code in ppcbot assume it can use a pointer to memory for reading FLASH so you need to copy it. Obviously you also need to do the ECC thing to copy the data thats probably the part you wish someone is doing :) The best thing would be to convert the JFFS2 code to use access functions like the mtd mapping layer in linux so you don't need to copy everything to ram but you also need a ECC layer and a small cache layer to make it faster with non random access memory. -- Kenneth Johansson Ericsson AB Tel: +46 8 719 70 20 Tellusborgsv?gen 90 Fax: +46 8 719 29 45 126 25 Stockholm ken at switchboard.ericsson.se