FW: Trying to get MTD to do anything...
James Hughes
JHughes at Linx.co.uk
Wed Jan 11 07:25:03 EST 2006
> > However, although I have enabled MTD in the kernel config,
> and all various
> > options I think I need, during kernel boot there is no
> indication that the
> > MTD driver(s) is being started up - no scanning, no flash finds etc.
> > Documentation for the patches for this board says MTD
> should be working.
> > Kernel version is 2.6.10.
>
> > My question (amongst many) is how do I get the MTD system
> to start up - what
> > have I missed?
>
> Sounds like you are probably missing a map file for you system.
> drivers/mtd/maps/*.c
>
> You can use the mainstone.c as a template.
>
I have done exactlythat, changing the mapping to the correct place (very
minor change). However, although the driver is being registered (printk
confirms this), the probe function is never called to set up the flash. Does
anyone know why that may be the case? Is there something I haven't done in
the kernel set up? Anyone know the reasons why the probe callback may not be
called, even though a driver has been registered?
James
More information about the linux-mtd
mailing list