Hi.
TL:DR; My display is not working and I think it might be because there is no: libgbm.so.1 on my picore 15?!
I've installed picore 15 and everything works fine on HDMI. Now Im trying to get SPI working.
Machine:
Adafruit PiTFT 3.5" 320 x 480 TFT w/ touch screen for raspberry pi model b+
Raspberry Pi Model B v1.1
I think the display is based on the HX8357D controller.
$ uname -m
armv7l
$ uname -r
6.6.47-piCore-v7
So I check the kernel config and see that CONFIG_TINYDRM_HX8357D and FIG_FB_TFT_HX8357D is =m (so it should be included in the kernel):
http://tinycorelinux.net/15.x/armhf/releases/RPi/src/kernel/6.6.34-piCore-v7l_.configSo far so good... so to /mnt/mmcblk0p1/config.txt I added:
dtparam=spi=on
dtoverlay=pitft35-resistive,rotate=0,speed=16000000,fps=20
When machine starts display is white, then turns black when desktop is loaded.
$ dmesg | grep spi
[ 4.157773] stmpe-spi spi0.1: stmpe610 detected, chip id: 0x811
[ 28.619373] SPI driver fb_hx8357d has no spi_device_id for himax,hx8357d
$ ls /mnt/overlays
-rwxr-xr-x 1 root root 3213 Aug 31 20:01 pitft35-resistive.dtbo
Ok... so hx8357d seems to be built into the kernel, the pitft35 overlay is there and SPI driver tried so load, but something doesnt work.
$ cat /var/log/Xorg.0.log | grep EE
[ 36.497] (EE) Failed to load /usr/local/lib/xorg/modules/drivers/modesetting_drv.so: libgbm.so.1: cannot open shared object file: No such file or directory
[ 36.497] (EE) Failed to load module "modesetting" (loader failed, 0
I look for libgbm.so.1 but can not find it:
$ ls /usr/local/lib/libgbm*
ls: cannot access '/usr/local/lib/libgbm*': No such file or directory
[Edit]: Added code tags. Rich