I updated the firmware with command :
sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update
This install the kernel 3.18.5+
After reboot, the PiTFT is no more showing console as before (this is configured in /boot/cmdline.txt with fbcon=map:10 fbcon=font:VGA8x8
)
The dmesg
command report an error related to the fbtft_device module :
[ 12.677434] fbtft_device: SPI devices registered: [ 12.692614] fbtft_device: 'fb' Platform devices registered: [ 12.705285] fbtft_device: bcm2708_fb id=-1 pdata? no [ 12.713274] fbtft_device: spi_busnum_to_master(0) returned NULL [ 12.721724] fbtft_device: failed to register SPI device
Trying to insert (again) the module manually with the command
sudo modprobe -v fbtft_device debug=255
Reports :
insmod /lib/modules/3.18.5+/kernel/drivers/video/fbdev/fbtft/fbtft_device.ko name=pitft rotate=270 debug=255
ERROR: could not insert 'fbtft_device': Invalid argument
The problems seems links to SPI, but even if I insert spi-bcm2708
module manually the result is the same.
How to insert (with this new kernel & firmware) the PiTFT module ?
==UPDATE==
I rollback to the previous release with
sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update 4815829b3f98e1b9c2648d9643dfe993054923ce
And PiTFT works as before the update, then dmesg reports :
[ 12.758277] fbtft_device: SPI devices registered: [ 12.765007] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00 [ 12.776683] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00 [ 12.785487] fbtft_device: 'fb' Platform devices registered: [ 12.793988] fbtft_device: bcm2708_fb id=-1 pdata? no [ 12.806073] fbtft_device: Deleting spi0.0 [ 12.818076] fbtft_device: GPIOS used by 'pitft': [ 12.824597] fbtft_device: 'dc' = GPIO25 [ 12.844709] fbtft_device: SPI devices registered: [ 12.856177] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00 [ 12.864281] fbtft_device: fb_ili9340 spi0.0 32000kHz 8 bits mode=0x00
insmod
output you are not using the new kernel, presumably because this isn't a pi 2. The -v7 kernel will not run on anything else. – goldilocks Feb 15 '15 at 19:293.12.34+
, and the 'not' working kernel is3.18.5+
. – mpromonet Feb 15 '15 at 19:41dtparam=spi=on
in /boot/config.txt (or enable SPI through raspi-config). – mpromonet Feb 15 '15 at 22:14