Is my flash being detected?

ashwinp at aftek.com ashwinp at aftek.com
Fri Jun 22 11:49:12 EDT 2001


Hi ,
	I got the mistake the fucntion check_cmd_set in cfi_probe.c assigns the probe function using inter_module_get_request .Since my kernel does not have module support the function returns null.For the time being I have assigned the address of the function cfi_cmdset_0002 to probe

Now I get the message
AMD/Fujitsu Extended Query table at 0x0040
number of CFI chips 1
mtd:Giving out device 0 to Physically mapped flash 
:)

so far so good  but if I try to read from the flash uisng cp /dev/mtd0 filename
Iget the following messages 
MTD_OPEN
MTD_READ
unable to handle kernel paging request at virtual address 8f80000

I think I know the reason this may be the readb from _memcpy_form_io may be trying to read from a wrong addres as the readb reads form PCMCIA_IO and I think I know the way to fix this .
	I can't use the latest kernel so I am  forced to used the mtd on a older kernel.

thanks for the suggestions,

Regards,
Ashwin 




More information about the linux-mtd mailing list