Tiny Core Base > Raspberry Pi

Issues with Adafruit PiTFT display on picore 15

(1/4) > >>

segfault:
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.


--- Code: ---$ uname -m
armv7l
$ uname -r
6.6.47-piCore-v7
--- End code ---

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_.config

So far so good... so to /mnt/mmcblk0p1/config.txt I added:

--- Code: ---dtparam=spi=on
dtoverlay=pitft35-resistive,rotate=0,speed=16000000,fps=20
--- End code ---

When machine starts display is white, then turns black when desktop is loaded.


--- Code: ---$ 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
--- End code ---


--- Code: ---$ ls /mnt/overlays
-rwxr-xr-x 1 root root   3213 Aug 31 20:01 pitft35-resistive.dtbo
--- End code ---

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.


--- Code: ---$ 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
--- End code ---

I look for libgbm.so.1 but can not find it:

--- Code: ---$ ls /usr/local/lib/libgbm*
ls: cannot access '/usr/local/lib/libgbm*': No such file or directory
--- End code ---

    [Edit]: Added code tags.  Rich

Juanito:
Is libEGL loaded?

segfault:
Dont think so. I couldnt find it. So I did

--- Code: ---tce-load -wi libEGL
tce-load -wi libGLES
sudo reboot
--- End code ---

And where I before had nothing, I now get this:

--- Code: ---tc@box:~$ ls /usr/local/lib/libEGL*
/usr/local/lib/libEGL.so  /usr/local/lib/libEGL.so.1  /usr/local/lib/libEGL.so.1.0.0
--- End code ---

But the display is still black.

    [Edit]: Added code tags.  Rich

segfault:
Ah... but now I get:

--- Code: ---tc@box:~$ cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    36.475] (EE) Failed to load /usr/local/lib/xorg/modules/drivers/modesetting_drv.so: libgallium-24.2.5.so: cannot open shared object file: No such file or directory
--- End code ---

So seems there have been some progress. :D

EDIT:

--- Code: ---tc@box:~$ ls /usr/local/lib/libgallium*
ls: cannot access '/usr/local/lib/libgallium*': No such file or directory
--- End code ---

    [Edit]: Added code tags.  Rich

Juanito:
libgallium is in mesa - mesa was updated today, have you checked for updates?

Navigation

[0] Message Index

[#] Next page

Go to full version