Re: JFFS2 on NAND

2009-05-20 Thread John Tobias
Hello all, Regarding with my previous post, I solved the problem. Not to mention, I've got a nand flash with small erase block size which is 16KiB. When I boot my board, the MVL kernel uses 32KiB virtual block size. So, I have to create an jffs2 image with erase block of 32KiB to match to the vir

Re: JFFS2 on NAND

2009-05-20 Thread David Brownell
On Tuesday 19 May 2009, John Tobias wrote: > I have to rely on 2.6.10 kernel from MV at this moment, due to some > driver issue. But do those errors happen with *current* code? If not, then MV has an easy path to providing you bugfixes. If you're not willing to try against current code, I think

Re: JFFS2 on NAND

2009-05-19 Thread John Tobias
I have to rely on 2.6.10 kernel from MV at this moment, due to some driver issue. The number of errors that I got from the first time I reboot and until to the recent one, seems never incremented even I write/delete files on it. Meaning, there's a stability now compare on my previous test. I am us

Re: JFFS2 on NAND

2009-05-19 Thread David Brownell
On Tuesday 19 May 2009, John Tobias wrote: > I am using Montavista kernel 2.6.10. And I've certainly seen JFFS2 issues with older code. Often enough that I stopped using it ... until I was quite pleased to be able to start relying on it with some NOR and DataFlash chips starting in 2.6.20-ish seri

Re: JFFS2 on NAND

2009-05-19 Thread John Tobias
I am using Montavista kernel 2.6.10. -john On Tue, May 19, 2009 at 3:52 PM, David Brownell wrote: > On Tuesday 19 May 2009, John Tobias wrote: >> I have tested two scenarios for writing/reading a data on my nand >> flash and it act's differently the nand driver on DM6446. > > You say which OS ve

Re: JFFS2 on NAND

2009-05-19 Thread David Brownell
On Tuesday 19 May 2009, John Tobias wrote: > I have tested two scenarios for writing/reading a data on my nand > flash and it act's differently the nand driver on DM6446. You say which OS version you're using, since there are many versions of "the" nand driver and many versions of "JFFS2". Are yo

JFFS2 on NAND

2009-05-19 Thread John Tobias
Hello all, I have tested two scenarios for writing/reading a data on my nand flash and it act's differently the nand driver on DM6446. 1st scenario: I booted my board with NFS, mounted my nand flash partition manually mount -t jffs2 /dev/mtdblock11 /mnt Then, I put data on nand partition by co

Help : How to write jffs2 on Nand Flash

2007-04-10 Thread Hitesh Kumar
Hi, guys I am working on davinci EVM I compile the kernel Image with nand option, and boot from tftp happily. and got three partition on Nand Flash. Then I erase the second Partition using flash_eraseall /dev/mtd1 Then i copied the kernel Image from NFS to Nand mtd1 nandw