I recently ran apt-get dist-upgrade
on my Raspberry Pi B. Afterwards the spi-devices /dev/spi*
were gone.
This is the changelog of the upgrade:
Package changes:
+device-tree-compiler 1.4.1-1+rpi1
+firmware-linux-free 3.3
-libexpat1 2.1.0-6+deb8u2
-libexpat1-dev 2.1.0-6+deb8u2
+libexpat1 2.1.0-6+deb8u3
+libexpat1-dev 2.1.0-6+deb8u3
-libraspberrypi-bin 1.20150212-1~nokernel1
-libraspberrypi0 1.20150212-1~nokernel1
+libraspberrypi-bin 1.20160523-1~nokernel2
+libraspberrypi0 1.20160523-1~nokernel2
-linux-image-rpi-rpfv 3.18+63+rpi4
+linux-image-4.4.0-1-rpi 4.4.6-1+rpi14
+linux-image-rpi-rpfv 4.4+63+rpi5
-raspberrypi-bootloader-nokernel 1.20150212-1~nokernel1
+raspberrypi-bootloader-nokernel 1.20160523-1~nokernel2
I noticed in /lib/modules/4.4.0-1-rpi/kernel/drivers/spi/
the file spi-bcm2708.ko
is missing instead there is one called spi-bcm2835.ko
, in /lib/modules/3.18.0-trunk-rpi/kernel/drivers/spi/
the file spi-bcm2708.ko
still exists and the other one doesn't.
My original install was done using the unattended installer v1.0.8.
dtparam=spi=on
is already set.
Is there anything I can do?
Alright, I found the problem myself: Somehow the new kernel got installed, but not activated in /boot/config.txt
. After I changed the kernel and initramfs lines everything worked again.