[U-Boot-Users] New nand implementation and jffs2

I have a quick question on the latest source code.
If I were to use the new nand flash support implementation and also wanted to add jffs2 support, I use fs/jffs2/jffs2_nand_1pass.c, and not fs/jffs2/jffs2_1pass.c by modifying the makefile in the directory, is that correct?

In message e0590900608110650h45af9046yee2b41aa17665379@mail.gmail.com you wrote:
If I were to use the new nand flash support implementation and also wanted to add jffs2 support, I use fs/jffs2/jffs2_nand_1pass.c, and not fs/jffs2/jffs2_1pass.c by modifying the makefile in the directory, is that correct?
No Makefile modifications are needed.
Best regards,
Wolfgang Denk

Thank you for the quick reply.
It doesn't use the functions in fs/jffs2/jffs2_nand_1pass.c if I don't change the makefile though. (The file doesn't even get compiled in.) Or do you mean that we don' t use the file at all?
On 8/11/06, Wolfgang Denk wd@denx.de wrote:
In message e0590900608110650h45af9046yee2b41aa17665379@mail.gmail.com you wrote:
If I were to use the new nand flash support implementation and also wanted to add jffs2 support, I use fs/jffs2/jffs2_nand_1pass.c, and not fs/jffs2/jffs2_1pass.c by modifying the makefile in the directory, is that correct?
No Makefile modifications are needed.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de And now remains That we find out the cause of this effect, Or rather say, the cause of this defect... -- Hamlet, Act II, Scene 2

In message e0590900608110724ufc4013p85d01156abc13389@mail.gmail.com you wrote:
It doesn't use the functions in fs/jffs2/jffs2_nand_1pass.c if I don't change the makefile though. (The file doesn't even get compiled in.) Or do you mean that we don' t use the file at all?
Did you read doc/README.nand and doc/README.JFFS2_NAND ?
Best regards,
Wolfgang Denk

Yes I did. Still, if I don't modify the makefile (i.e. just use jffs2_1pass.c) then the fsinfo or ls on the nand flash fails. If I use the jffs2_nand_1pass.c, everything goes smoothly. FYI, I have two flashes, nor and nand, and uboot is on nor, and nand is the one uses jffs2 fs.
So, what did I miss on readmes?
On 8/11/06, Wolfgang Denk wd@denx.de wrote:
In message e0590900608110724ufc4013p85d01156abc13389@mail.gmail.com you wrote:
It doesn't use the functions in fs/jffs2/jffs2_nand_1pass.c if I don't change the makefile though. (The file doesn't even get compiled in.) Or do you mean that we don' t use the file at all?
Did you read doc/README.nand and doc/README.JFFS2_NAND ?
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de If you believe that feeling bad or worrying long enough will change a past or future event, then you are residing on another planet with a different reality system.
participants (2)
-
mitsy
-
Wolfgang Denk