I'm using https://github.com/gamaral/rpi-buildroot to build a minimal system that boots in 4 seconds.
I could have everything working (including the TFT display) except the touchscreen of the Adafruit 2.8" TFT cap:
As far as I know the driver to be used is the ft6236 which is now in the stock Raspberry Pi linux sources since
version 4.4.y which is the one I'm using with buildroot.
However just modprobe ft6236 does not work. The module is loaded, but the /dev/input/eventX
is not created, and nothing is printed in dmesg.
As another attempt I'm trying to get it working with the pitft28-capacitive-overlay.dtb Device Tree Blob Overlay.
Kernels 4.4 should have dtb loaded by default, the dtb is in the boot partition in overlays/ directory and I have
in my config.txt:
Code: Select all
# Enable SPI : dtparam=spi=on # Enable I2C : dtparam=i2c1=on dtparam=i2c_arm=on dtoverlay=pitft28-capacitive,rotate=90,speed=32000000,fps=20 dtoverlay=pitft28-capacitive,touch-swapxy=true,touch-invx=true