[U-Boot-Users] JFFS2 on NAND support?

Kenneth Johansson kenneth.johansson at etx.ericsson.se
Fri Mar 21 18:08:10 CET 2003


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





More information about the U-Boot mailing list