Closed notro closed 10 years ago
dear notro. Do you have any progress for this issue? I have same problem....
I haven't looked more into this. A work around is to use the downloadable image instead: https://github.com/notro/fbtft/wiki#image-downloads
This might be a related issue: https://github.com/raspberrypi/linux/issues/387
Updating gcc resolves this.
$ cat /proc/version
Linux version 3.10.32+ (pi@raspi2) (gcc version 4.7.1 20120402 (prerelease) (crosstool-NG 1.15.2) ) #2 PREEMPT Fri Mar 7 01:33:27 CET 2014
$ gcc --version | grep gcc
gcc (Debian 4.7.2-5+rpi1) 4.7.2
Details: https://github.com/notro/fbtft-spindle/wiki/Building-kernel-modules
With the FBTFT image it's easy to do FBTFT driver development: https://github.com/notro/fbtft/wiki/Development
When I try this with the rpi-update release, I end up with:
Unable to handle kernel NULL pointer dereference at virtual address 00000004
I follow the guide except that I skip making a new driver, just rebuilding. This is used to copy .config and Module.symvers
First I try loading a driver from the build directory, but using the installed fbtft module:
Then I install all the fbtft modules
Reload the new fbtft
Load a driver
Now the computer hangs and this shows up on the console
I have no idea what goes wrong here.