notro / rpi-firmware

Deprecated: Raspberry Pi kernel and firmware with support for FBTFT
Other
94 stars 32 forks source link

Use fbtft together with RASPBMC #10

Closed fj3847 closed 9 years ago

fj3847 commented 10 years ago

Hello,

how can I load fbtft onto RASPBMC? It seems the kernels are incompatible accordng to what rpi-update says, but I do not think that this the final answer.

Could you help me?

Joachim

notro commented 10 years ago

I haven't tried raspbmc myself. Have you seen this: http://blog.riyas.org/2014/07/quickly-test-il9341-22-inch-22-spi-tft-raspbmc-fbtft.html

guruprasadsn commented 9 years ago

Hi,

i am trying use fbtft on raspbmc for LCD waveshare 3.2 RPi LCD V3.

I followed the lines mentioned in the above link, but facing below error after reboot,

[ 11.629971] fbtft_device: SPI devices registered: [ 11.630006] fbtft_device: 'fb' Platform devices registered: [ 11.630047] fbtft_device: bcm2708_fb id=-1 pdata? no [ 11.630157] fbtft_device: spi_busnum_to_master(0) returned NULL [ 11.630169] fbtft_device: failed to register SPI device

I am using waveshare32b device. lsmod o/p is below,

pi@raspbmc:~$ lsmod Module Size Used by ipv6 355209 27 nf_conntrack_ipv4 16261 1 nf_defrag_ipv4 1739 1 nf_conntrack_ipv4 xt_state 1426 1 nf_conntrack 102846 2 xt_state,nf_conntrack_ipv4 iptable_mangle 1696 0 iptable_filter 1706 1 ip_tables 13416 2 iptable_filter,iptable_mangle x_tables 19189 4 ip_tables,xt_state,iptable_filter,iptable_mangle uio_pdrv_genirq 3666 0 uio 9893 1 uio_pdrv_genirq pi@raspbmc:~$

Also follwed couple instruction provided in https://github.com/notro/fbtft/issues/123, but not working.

Can someone help here.

Thanks Guru

notro commented 9 years ago

[ 11.630157] fbtft_device: spi_busnum_to_master(0) returned NULL

It fails because spi_bcm2708 isn't loaded.

guruprasadsn commented 9 years ago

Hi Notro, thanks for the reply. but any idea why spi_bcm2708 not getting loaded? any clue on this?

guruprasadsn commented 9 years ago

also it is not in the list of black listed.

pi@raspbmc:~$ cat /etc/modprobe.d/fbdev-blacklist.conf

This file blacklists most old-style PCI framebuffer drivers.

blacklist arkfb blacklist aty128fb blacklist atyfb blacklist radeonfb blacklist cirrusfb blacklist cyber2000fb blacklist gx1fb blacklist gxfb blacklist kyrofb blacklist matroxfb_base blacklist mb862xxfb blacklist neofb blacklist nvidiafb blacklist pm2fb blacklist pm3fb blacklist s3fb blacklist savagefb blacklist sisfb blacklist tdfxfb blacklist tridentfb blacklist viafb blacklist vt8623fb pi@raspbmc:~$

notro commented 9 years ago

The latest kernels are Device Tree kernels, see https://github.com/notro/fbtft/wiki#install

guruprasadsn commented 9 years ago

Thanks lot for the quick help !!.. now its getting loaded.. missing was "dtparam=spi=on"

notro commented 9 years ago

Closing issue since there has been no activity for more than 2 months. Reopen if needed.