jffs2+mtd+big endian problem

David Woodhouse dwmw2 at infradead.org
Thu Feb 5 02:00:35 EST 2004

On Thu, 2004-02-05 at 11:07 +0800, Li Yang wrote:
> Thank you.  I got it.
> In drivers/mtd/chips/sharp.c line 362
> There is a hard coded cpu_to_le32 swap, which caused the swap issue.

Aha :)

> I have tried to use Jedec_probe instead of sharp driver, but it always
> recognizes my sharp flash as Intel flash, they have the same vendor id
> and product id. Ugly.  And then something goes wrong.  So I have to
> stick to the obsoleted sharp driver.  Thank you for the continued help.

Hmmm. I'd feel happier if you were to identify the 'something' which
goes wrong. I was just about to remove the sharp driver from the tree on
the basis that it's obsolete.

Could it be as simple as disabling the erase suspend?


More information about the linux-mtd mailing list