Writing JFFS2 image to Nand flash
John.Hall at optionexist.co.uk
Mon Apr 15 10:37:57 EDT 2002
On 15 April 2002 15:06 Elizabeth Clarke <eclarke at aminocom.com> wrote:
> > fs/fs.o: In function `jffs2_check_nand_cleanmarker':
> > fs/fs.o(.text+0x6040c): undefined reference to
> > `jffs2_flash_read_oob'
> > fs/fs.o: In function `jffs2_write_nand_cleanmarker':
> > fs/fs.o(.text+0x60520): undefined reference to
> > `jffs2_flash_write_oob'
> > Where are these two functions defined?
> You should find a grep has them in wbuf.c. Are you setting
Yes, CONFIG_JFFS2_FS_NAND is set. wbuf.c doesn't contain these
functions. I had grepped fs/jffs2/*.[ch] for them.
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: 126.96.36.199
Repository revision: 188.8.131.52 /home/cvs/mtd/fs/jffs2/wbuf.c,v
Sticky Tag: jffs2-nand-branch (branch: 1.1.2)
Sticky Date: (none)
Sticky Options: (none)
More information about the linux-mtd