I've bought a 3.5" capacitive touchscreen ('this one'
(https://www.amazon.co.uk/gp/product/B07Q8171LB)). I was attracted to
this particular screen because it was relatively cheap (I paid £27,
although it now seems to be unavailable), and it has a built-in RTC,
which may prove useful for a planned install where network time won't
always be available).
It has drivers for kernel 5.4.83, so I'm trying to get it working under
pCP7.0.1. The problem I have is that the install script that Inno-maker
have supplied assumes a standard linux distribution, where kernel
modules are in conventional storage, and I'm struggling to replicate
what the script does because the kernel modules in pCP are all stored in
modules-5.4.83-pcpCore-v8.gz on the boot partition.
The install script uses 'sudo install -p -m 664' to attempt to install
the following files:
1) lcd35_spi.dtbo into /boot/overlays
2) ft6236.ko into
/lib/modules/5.4.83-pcpCore-v8/kernel/drivers/input/touchscreen
3) ili9486-i2c into
/lib/modules/5.4.83-pcpCore-v8/kernel/drivers/input/touchscreen
4) fbtft.ko into
/lib/modules/5.4.83-pcpCore-v8/kernel/drivers/staging/fbtft
5) fb_ili9486.ko into
/lib/modules/5.4.83-pcpCore-v8/kernel/drivers/staging/fbtft
I can do (1) by manually copying lcd35_spi.dtbo into the overlays folder
on the boot partition. I'm not sure about the difference between 'sudo
install' and just copying the file, but this seems to work, since I can
see output on the screen during boot (albeit rather garbled - see
below).
(4) and (5) already seem to be present at the correct points in the
path.
So that leaves (2) and (3). How can I accomplish the same result under
pCP7?
If I need to add those files to modules-5.4.83-pcpCore-v8.gz, how do I
do that? I've struggled with tar and gzip but haven't managed to make a
new version of that file that works.
Is there an alternative procedure for installing 'user' kernel modules?
The screen -almost- works. The display is visible, and Jivelite works -
I can even use the touch function to navigate (just about). But as you
can see the image is repeating, as though the it's not scanning
correctly for the 480x320 resolution. I don't know if this is because
of the two .ko files that I haven't been able to install, or some other
reason, so any advice will be welcomed.
33654
+-------------------------------------------------------------------+
|Filename: inno800.jpeg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33654|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113512
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix