Tiny Core Base > Raspberry Pi

Issues with Adafruit PiTFT display on picore 15

<< < (3/4) > >>

Rich:
Hi segfault
Try:

--- Code: ---tce-load -wi graphics-KERNEL
--- End code ---

It includes:

--- Code: ---/usr/local/lib/modules/6.6.47-piCore-v7/kernel/drivers/staging/fbtft/fb_hx8357d.ko
--- End code ---

Paul_123:
Why go through all of that.  The extension on the repo graphics-KERNEL.tcz has the driver in it already.


--- Code: ---graphics-6.6.47-piCore-v7/usr/local/lib/modules/6.6.47-piCore-v7/kernel/drivers/staging/fbtft/fb_hx8357d.ko

--- End code ---

Also, modules are not loaded in that fashion anymore.  You need to find the correct overlay and put it in config.txt
Check out the overlay pitft35-resistive

https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/README



segfault:
Hooooooooraaaaaay!!!!!!  ;D :tears of joy: ;D ;D
Now it works, I got the console showing in the adafruit display!
Thanks a LOT for the help.

This is what I did:

--- Code: ---tce-load -wi graphics-KERNEL
mount /dev/mmcblk0p1
echo "dtparam=spi=on
dtparam=i2c1=on
dtparam=i2c_arm=on
dtoverlay=pitft35-resistive,rotate=90,speed=20000000,fps=20,drm" >> /mnt/mmcblk0p1/config.txt
printf " fbcon=map:10" >> /mnt/mmcblk0p1/cmdline.txt
sudo reboot

--- End code ---

Cheers everyone!

patrikg:
If you need more RAM and faster boot time, now you could do lsmod and list all modules being loaded.
And make a TCZ package of those files.

Think I have some very old threads talking about that...let me search a bit....

Here you are:
https://forum.tinycorelinux.net/index.php/topic,18858.msg129216.html#msg129216
https://forum.tinycorelinux.net/index.php/topic,20195.msg129372.html#msg129372

And you can also read lots of things in the wiki(lets promote that):
https://wiki.tinycorelinux.net/doku.php?id=wiki:creating_extensions

segfault:

--- Quote from: patrikg on October 19, 2024, 03:16:32 PM ---If you need more RAM...

--- End quote ---

Wow, yes this is an excellent idea! I'm going to look into it and thanks for the links!  8)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version