Autoloading of SPI/nor driver on kirkwood (qnap devices)

Ian Campbell ijc at
Tue Sep 2 08:54:59 PDT 2014


I recently tried to switch to using the DT based kirkwood stuff with
v3.16.1 on a QNAP TS-419 for the Debian kernel. Most things seemed ok
except that the flash driver was not autoloaded -- as well as spi-nor.ko
I had to manually modprobe m25p80.ko. Once I loaded both the flash was

I noticed that many platforms declare the flash chip as compatible =
"st,m25pXXX" whereas the ts219.dtsi just said m25p128 but I tried
changing that and it didn't help. In any case without spi-nor.ko being
autoloaded I don't support m25p80.ko ever would be.

I could set these things to =m for the Debian kirkwood flavour, but
since this is supposed to be a distro-style kernel.

I'm not entirely sure how module loading of this SPI stuff is supposed
to fit together -- anyone got any hints?


More information about the linux-arm-kernel mailing list