Tiny Core Base > Raspberry Pi
piCore 16.0 and Raspi Touchscreen.
MrPorcine:
I'm trying to get the Raspberry Pi 7" touch screen to work (not the newer Touch Display 2). It displays text and graphics fine. So far no touch input.
I have a working piCore13 where the display does touch correctly. When I look at the Xorg.0.log, with the piCore 13, Xorg loads a module called "raspberrypi-ts". Here's the line in the log:
--- Code: ---Adding input device raspberrypi-ts (/dev/input/mouse0)
--- End code ---
There is no such line in the log for the piCore 16. When I look at the list of optional tcz in each version (13,16) the list is exactly the same.
If anyone knows how to make this work it would be really helpful.
Paul_123:
I split this topic off.
Comparing piCore 13 to 16 is like night and day in regards to video drivers.
You need to be using the vc4 driver base in piCore16. What do you have in your config.txt, and what extensions do you have load3d?
MrPorcine:
cmdline.txt has:
--- Quote ---dwc_otg.fiq_fsm_mask=0xF dwc_otg.lpm_enable=0 console=tty1 root=/dev/ram0 rootwait quiet nortc loglevel=3 noembed
--- End quote ---
config.txt is:
--- Code: ---# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# RPi PI0-1-2 are not supported on this image.
[PI02]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8.gz followkernel
kernel kernel61225v8.img
[PI3]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8.gz followkernel
kernel kernel61225v8.img
[PI4]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8.gz followkernel
kernel kernel61225v8.img
[PI5]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8-16k.gz followkernel
kernel kernel61225v8-16k.img
[CM4]
otg_mode=1
[cm5]
dtoverlay=dwc2,dr_mode=host
[ALL]
cmdline cmdline.txt
# Run in 64-bit mode
arm_64bit=1
# Run as fast as firmware / board allows
arm_boost=1
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
# Does not work with the vc4 driver.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
# Additional overlays and parameters are documented /mnt/mmcblk0p1/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
[PI5]
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
[all]
dtoverlay=disable-bt
dtoverlay=miniuart-bt
dtoverlay=sdio,poll_once
display_auto_detect=1
#official 7" touchscreen driver
dtoverlay=rpi-ft5406
dtoverlay=vc4-kms-dsi-7inch
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d
max_framebuffers=2
disable_fw_kms_setup=1
--- End code ---
Onboot.lst has:
--- Code: ---Xorg.tcz
openssh.tcz
--- End code ---
I'm using a pi 3B+.
Paul_123:
You need to uncomment this line in config.txt
--- Code: ---#dtoverlay=vc4-kms-v3d
--- End code ---
You also need more extensions.
--- Code: ---touchscreen-KERNEL.tcz (This will load graphics-KERNEL.tcz as well)
flwm.tcz (You need some sort of window manager)
aterm.tcz
Xorg.tcz (I would use Xorg-3d.tcz)
--- End code ---
MrPorcine:
Maybe a missing module? When I look at Bookworm for the Raspberry Pi (same hardware), Xorg appears to be using a module "edt_ft5x06". I haven't located it in piCore16.
Navigation
[0] Message Index
[#] Next page
Go to full version