jffs2+mtd+big endian problem

Li Yang leoli at motorola.com
Thu Feb 5 04:02:50 EST 2004


On Thu, 2004-02-05 at 15:00, David Woodhouse wrote:
> On Thu, 2004-02-05 at 11:07 +0800, Li Yang wrote:
> > 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.
XXXXXXXX flash device: 800000 at fe000000
Search for id:(ff89 ffaa) interleave(2) type(2)
Search for id:(ff89 ffaa) interleave(2) type(2)
Search for id:(ff89 ffaa) interleave(2) type(2)
Search for id:(ff89 ffaa) interleave(2) type(2)
Search for id:(ff89 ffaa) interleave(2) type(2)
Search for id:(89 aa) interleave(2) type(1)
MTD jedec_match(): Check fit 0x00000000 + 0x00200000 = 0x00200000
MTD jedec_match(): check unlock addrs 0x0555 0x02aa
MTD jedec_match(): check ID's disappear when not in ID mode
MTD jedec_match(): return to ID mode
MTD jedec_probe_chip(): matched device 0x89,0xaa unlock_addrs: 0x0555
0x02aa
Found: Intel I28F016S3
Flash SIMM: Found 2 x8 devices at 0x0 in 32-bit mode
Probe at addr_unlock2(0x00400000 + 0xc0185aac) past the end of the
map(0x007fffff)
Using word write method
mtd: Giving out device 0 to Flash SIMM
Using XXXXXXXX partition definition
Creating 4 MTD partitions on "Flash SIMM":
0x00000000-0x00600000 : "JFFS"
mtd: partition "JFFS" extends beyond the end of device "Flash SIMM" --
size truncated to 0x400000
mtd: Giving out device 1 to JFFS
0x00600000-0x00700000 : "uImage"
mtd: partition "uImage" is out of reach -- disabled
mtd: Giving out device 2 to uImage
0x00700000-0x00740000 : "u-boot"
mtd: partition "u-boot" is out of reach -- disabled
mtd: Giving out device 3 to u-boot
0x00740000-0x00780000 : "u-boot env"
mtd: partition "u-boot env" is out of reach -- disabled
mtd: Giving out device 4 to u-boot env


> 
> Could it be as simple as disabling the erase suspend?

The Flash SIMM is 8M byte, but it is probed to be 4M only.

-- 
Li Yang <leoli at motorola.com>
Metrowerks




More information about the linux-mtd mailing list