Copy files to jffs2 partition have problem
Pham Huy Vu
vuph at mail.cable.net.tw
Tue Feb 10 23:22:53 EST 2004
I already fixed my bugs. Flash driver for amd can not handle alignment well.
Thank David Woodhouse, Jonas and mtd list.
----- Original Message -----
From: "Pham Huy Vu" <vuph at mail.cable.net.tw>
To: "David Woodhouse" <postmaster at infradead.org>
Cc: <linux-mtd at lists.infradead.org>
Sent: Saturday, February 07, 2004 1:18 PM
Subject: Re: Copy files to jffs2 partition have problem
> Hi David Woodhouse,
> I use this version:
> * $Id: cfi_cmdset_0002.c,v 1.52 2001/10/24 09:37:30 dwmw2 Exp $
> This version have fixed this bug or not? Please give me your hints.
> ----mark pham----
> ----- Original Message -----
> From: "David Woodhouse" <postmaster at infradead.org>
> To: "Pham Huy Vu" <vuph at mail.cable.net.tw>
> Cc: "Jonas Holmberg" <jonas.holmberg at axis.com>;
> <linux-mtd at lists.infradead.org>
> Sent: Friday, February 06, 2004 3:51 PM
> Subject: Re: Copy files to jffs2 partition have problem
> > On Fri, 2004-02-06 at 12:34 +0800, Pham Huy Vu wrote:
> > > Hi Jonas,
> > > Thanks for your reply,
> > Your last message to the list was rejected, partly because you
> > top-posted. Yet you repeated the offence.
> > Do it again and you get a personal entry in the blacklist.
> > > Last is 10, datum is 14000010
> > > Write of 71 bytes at 0x000fe494 failed. returned 0, retlen 68
> > > .....
> > > I think mtd driver is ok,
> > > I just think the jffs2 fs or mkfs.jffs2 have bugs???
> > It's the other way around. The error you see is in the flash driver. We
> > really shouldn't have the top bits set in 'datum' if buswidth is 2. I
> > have a recollection of this bug having been fixed already. What version
> > of drivers/mtd/chips/cfi_cmdset_0002.c do you have? (The $ID:... $ tag
> > near the top of the file).
> > --
> > dwmw2
> > ______________________________________________________
> > Linux MTD discussion mailing list
> > http://lists.infradead.org/mailman/listinfo/linux-mtd/
> Linux MTD discussion mailing list
More information about the linux-mtd