Hi all,

I'm attempting to get a 2.8" TFT LCD https://www.adafruit.com/product/2090 
working on my PocketBeagle.

Using 
https://github.com/jadonk/bb.org-overlays/blob/PB-simplegaming/src/arm/PB-simplegaming.dts
 
as a reference I 
made 
https://github.com/AnthonyDiGirolamo/bb.org-overlays/blob/adafruit28/src/arm/PB-SPI1-ADAFRUIT28-TFT.dts

Then I updated /boot/uEnv.txt with

###Custom Cape
dtb_overlay=/lib/firmware/PB-SPI1-ADAFRUIT28-TFT.dtbo


and ran:

cd ~/bb.org-overlays
./install.sh

On reboot dmesg shows:

[   37.071131] fbtft: module is from the staging directory, the quality is 
unknown, you have been warned.
[   37.154982] fb_ili9341: module is from the staging directory, the 
quality is unknown, you have been warned.
[   37.217569] fbtft_of_value: buswidth = 8
[   37.217602] fbtft_of_value: debug = 1
[   37.217611] fbtft_of_value: rotate = 0
[   37.217619] fbtft_of_value: fps = 30
[   37.217942] fb_ili9341 spi1.0: gpio_request_one('reset-gpios'=27) failed 
with -16
[   37.417422] fb_ili9341: probe of spi1.0 failed with error -16


And /dev/fb0 doesn't exist.

I then tried:

sudo rmmod fbtft_device fb_ili9341 fbtft
sudo modprobe fbtft_device name=adafruit28 busnum=1 cs=1 rotate=90 gpios=dc:
65,reset:27

And dmesg reports:

[  541.705866] fbtft: module is from the staging directory, the quality is 
unknown, you have been warned.
[  541.723630] fbtft_device: module is from the staging directory, the 
quality is unknown, you have been warned.
[  541.726930] spi spi1.0: ili9341 spi1.0 32000kHz 8 bits mode=0x00
[  541.726961] spidev spi2.0: spidev spi2.0 24000kHz 8 bits mode=0x00
[  541.726975] spidev spi2.1: spidev spi2.1 24000kHz 8 bits mode=0x00
[  541.727716] fbtft_device: GPIOS used by 'adafruit28':
[  541.727731] fbtft_device: 'dc' = GPIO65
[  541.727738] fbtft_device: 'reset' = GPIO27
[  541.727754] spi spi1.0: ili9341 spi1.0 32000kHz 8 bits mode=0x00
[  541.727765] spidev spi2.0: spidev spi2.0 24000kHz 8 bits mode=0x00
[  541.727776] spidev spi2.1: spidev spi2.1 24000kHz 8 bits mode=0x00
[  541.727787] spi spi1.1: fb_ili9341 spi1.1 32000kHz 8 bits mode=0x00
[  541.778825] fb_ili9341: module is from the staging directory, the 
quality is unknown, you have been warned.
[  541.796831] fbtft_of_value: buswidth = 8
[  541.796862] fbtft_of_value: debug = 1
[  541.796871] fbtft_of_value: rotate = 0
[  541.796879] fbtft_of_value: fps = 30
[  541.797216] fb_ili9341 spi1.0: gpio_request_one('reset-gpios'=27) failed 
with -16
[  541.820918] fb_ili9341: probe of spi1.0 failed with error -16
[  541.821383] fb_ili9341 spi1.1: fbtft_request_gpios: gpio_request_one('dc'
=65) failed with -16
[  541.842127] fb_ili9341: probe of spi1.1 failed with error -16

Does anyone know what I'm missing? This page 
https://github.com/notro/fbtft/wiki/BeagleBone-Black#enable-overlay 
mentions:

An unfortunate sideeffect is that capemgr also adds a platform device using 
> the same DT node as the spi device:
> $ ls -l /sys/devices/ocp.3/481a0000.spi/
> total 0
> drwxr-xr-x 3 root root    0 Aug 21 19:18 0.lcd@0
> This is not a problem for regular spi drivers, but the FBTFT drivers does 
> also support platform devices. This results in the driver probing this 
> device as well. But the probing fails because the gpio has already been 
> requested by the spi device. So, not a functional problem, but rather a 
> cosmetic one with logging of errors in the kernel log that are not actual 
> errors.


But for me there is no /dev/fb0 and I'm not sure what to try next. For 
reference I'm running: 

$ uname -a
Linux beaglebone 4.4.110-ti-r142 #1 SMP Mon Jan 8 19:06:43 UTC 2018 armv7l 
GNU/Linux

Thanks very much for any help!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e8177cc2-9f2f-4459-a6ce-4136ecb3fde1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to