2002-01-25 22:23:15 UTC
Thanks for the info, that's kind of what I figured out too.
The cis on the card seems to be missing the attr_dev_info, which causes the read_tuple to fail for setup_regions. Or else the common_geometry line causes problems. In any case the iflash2_mtd does not load.
The output from dump_cis is:
Socket 0:
dev_info
FLASH 200ns, 2mb
common_geometry
width 2 erase 0x10000 read 0x1 write 0x1 partition 0x4 interleave 0x1
common_jedec 0x89 0xa2
vers_1 4.1, "SMART Modular Technologies", " 2MB FLASH Card "
manfid 0x0132, 0x2105
I've tried overriding the card cis by creating a .cis file, and then the iflash2_mtd loads, but I don't know how I should specify the memory areas in the .cis file. I thought I could take a look at how it's done on a real Intel Series 2 card.
The .cis file I've used is:
dev_info
FLASH 200ns, 2mb
attr_dev_info
FLASH 200ns, 4kb
common_jedec 0x89 0xa2
vers_1 4.1, "SMART Modular Technologies", " 2MB FLASH Card "
config base 0x0200 mask 0x0001 last_index 0x01
cftable_entry 0x01 [default]
Vcc Vnom 5V Vpp1 Vnom 12V Vpp2 Vnom 12V
BTW, after pack_cis the common_jedec does not stay the same, and the common_geometry entry causes an error.
With this .cis file I get the iflash2_mtd to load,
but then the RegisterMTD fails in iflash2_mtd.
Tony
~