* PCI flash: found no device
@ 2004-07-15 11:13 Amit Shah
2004-07-15 13:02 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Amit Shah @ 2004-07-15 11:13 UTC (permalink / raw)
To: linux-mtd
Hi all,
I've added support for flash memory for a PCI card in
drivers/mtd/maps/pci.c, based on the two existing drivers. The flash type
is Intel 28F series and supports CFI probes. On loading the pci.ko module
(I'm using 2.6.6), the message says CFI: Found no 0000:04:02.2 device at
location zero. This also means that it found the PCI card and the flash
memory at the appropriate function and BAR. I've sprinkled some printk's
which show that the pci_resource_start is being read correctly from the
device that's to be used as the flash resource.
Do I have to have some extra driver, like a standalone driver in
drivers/mtd/maps/ which does some other initialization? I tried that
approach as well, but even that thing reports the same problem, so I'm not
sure what I'm missing.
Can someone tell me what's missing?
Thanks,
Amit.
--
Amit Shah
http://amitshah.nav.to/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PCI flash: found no device
2004-07-15 11:13 PCI flash: found no device Amit Shah
@ 2004-07-15 13:02 ` David Woodhouse
2004-07-15 14:03 ` Amit Shah
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2004-07-15 13:02 UTC (permalink / raw)
To: Amit Shah; +Cc: linux-mtd
On Thu, 2004-07-15 at 16:43 +0530, Amit Shah wrote:
> Hi all,
>
> I've added support for flash memory for a PCI card in
> drivers/mtd/maps/pci.c, based on the two existing drivers. The flash type
> is Intel 28F series and supports CFI probes.
The message you saw means that we didn't recognise any flash chips. Are
you sure your 'bankwidth' was set correctly? What type and width of
flash chips? How many are interleaved?
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PCI flash: found no device
2004-07-15 13:02 ` David Woodhouse
@ 2004-07-15 14:03 ` Amit Shah
0 siblings, 0 replies; 3+ messages in thread
From: Amit Shah @ 2004-07-15 14:03 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd
Hi David,
On Thursday 15 Jul 2004 18:32, David Woodhouse wrote:
> On Thu, 2004-07-15 at 16:43 +0530, Amit Shah wrote:
> > Hi all,
> >
> > I've added support for flash memory for a PCI card in
> > drivers/mtd/maps/pci.c, based on the two existing drivers. The flash type
> > is Intel 28F series and supports CFI probes.
>
> The message you saw means that we didn't recognise any flash chips. Are
> you sure your 'bankwidth' was set correctly? What type and width of
> flash chips? How many are interleaved?
This is the text on the manual:
Intel Advanced+ Boot Block Flash Memory (C3)
28F800C3, 28F160C3, 28F320C3, 28F640C3 (x16)
< http://www.intel.com/design/flcomp/datashts/290645.htm >
and the flash on the board is 28F160C3B(8?)C70.
I've set the buswidth to 2, since it's 16Mbit memory, the flash size is 2MB.
However, I've not defined any partitions on the memory (yet); how to do it for
PCI flash devices? A separate driver?
Thanks,
Amit.
--
Amit Shah
http://amitshah.nav.to/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-15 14:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15 11:13 PCI flash: found no device Amit Shah
2004-07-15 13:02 ` David Woodhouse
2004-07-15 14:03 ` Amit Shah
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox