notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.85k stars 494 forks source link

Raspberry Pi images with FBTFT support #8

Closed Florian95 closed 11 years ago

Florian95 commented 11 years ago

Hello,

Can I use rpi-update with the Raspberry Pi images with FBTFT support ?

Regards,

Florian95 commented 11 years ago

Answer : NO

$ lsmod Module Size Used by snd_bcm2835 16304 0 snd_pcm 77560 1 snd_bcm2835 snd_page_alloc 5145 1 snd_pcm snd_seq 53329 0 snd_seq_device 6438 1 snd_seq snd_timer 19998 2 snd_pcm,snd_seq snd 58447 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device syscopyarea 3136 0 sysfillrect 3302 0 sysimgblt 2195 0 fb_sys_fops 1404 0 backlight 4793 0 8188eu 576997 0 leds_gpio 2235 0 led_class 3562 1 leds_gpio

$ sudo modprobe sainsmart18fb ERROR: could not insert 'sainsmart18fb': Invalid argument

Florian95 commented 11 years ago

Even with

$ lsmod Module Size Used by snd_bcm2835 16273 0 snd_pcm 78130 1 snd_bcm2835 snd_page_alloc 5129 1 snd_pcm snd_seq 53349 0 snd_seq_device 6454 1 snd_seq snd_timer 19946 2 snd_pcm,snd_seq snd 58506 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device sainsmart18fb 4038 0 fbtft 20317 1 sainsmart18fb syscopyarea 3136 1 fbtft sysfillrect 3302 1 fbtft sysimgblt 2195 1 fbtft fb_sys_fops 1404 1 fbtft 8188eu 576997 0 leds_gpio 2197 0 led_class 3592 1 leds_gpio

notro commented 11 years ago

No, I don't think it can be used. rpi-update updates among other things: the kernel. This new kernel won't have deferred_io and backlight compiled in. This is needed by fbtft. That beeing said, the FBTFT image contains a quite new kernel, since it is build from github source.

What will you achieve using it?

HansZimmer commented 11 years ago

I tried that before reading this... :) Is it possible to install a kernel with FBTFT support after rpi-update?

notro commented 11 years ago

You can copy the FBTFT image to your Pi and use information from https://github.com/notro/fbtft/wiki/FBTFT-image-build-process#image to mount the image and extract the kernel and modules

notro commented 11 years ago

Maybe this will work: sudo SKIP_KERNEL=1 rpi-update Haven't tried it. Ref: https://github.com/Hexxeh/rpi-update/blob/master/README.md

notro commented 11 years ago

See https://github.com/notro/fbtft/issues/10