Writing JFFS2 image to Nand flash

Elizabeth Clarke eclarke at aminocom.com
Mon Apr 15 11:18:54 EDT 2002


John Hall wrote:

> > You should find a grep has them in wbuf.c. Are you setting
> > CONFIG_JFFS2_FS_NAND?
> Yes, CONFIG_JFFS2_FS_NAND is set. wbuf.c doesn't contain these
> functions. I had grepped fs/jffs2/*.[ch] for them.

Doh, helps if I read whats actually there. jffs2_flash_read_oob is a
define in 
os-linux.h. 

> This is the version of wbuf.c that I have:
> [john at morgan jffs2]$ cvs stat wbuf.c
> ===================================================================
> File: wbuf.c            Status: Up-to-date
> 
>    Working revision:    1.1.2.2
>    Repository revision: 1.1.2.2 /home/cvs/mtd/fs/jffs2/wbuf.c,v
>    Sticky Tag:          jffs2-nand-branch (branch: 1.1.2)

Interesting. Mine says revision 1.10. hmmm puzzled. 
I think I'd prompt dwmw2 for some words of wisdom....
Beth




More information about the linux-mtd mailing list