I'm seeing an issue on Pi5 with an SPI display (http://www.lcdwiki.com/4.0inch_SPI_Module_ST7796) . The display module is connected to SPI0 and uses CS0.
The display works perfectly fine when started like above.
Here is a full log for comparison: https://paste.debian.net/hidden/3c1b21c7/
As soon as I try to load an overlay for the touch controller the SPI output to the display seems to stop/stall -> display turns white.
the related command in config.txt for enabling the touchhttps://paste.debian.net/hidden/e729128d/
Transferring the display to a CM4 brings the display and touch up as expected.
https://paste.debian.net/hidden/a75bd270/
Code:
# 480x320pixels 4in SPI displaydtoverlay=mipi-dbi-spi,speed=48000000dtparam=compatible=4in\0panel-mipi-dbi-spidtparam=write-only,cpha,cpoldtparam=width=480,height=320,width-mm=84,height-mm=56dtparam=reset-gpio=24,dc-gpio=25,backlight-gpio=23
Here is a full log for comparison: https://paste.debian.net/hidden/3c1b21c7/
Code:
pi@book13th:~ $ dmesg -l warn,err[ 1.274492] F2FS not supported on PAGE_SIZE(16384) != 4096[ 2.170095] brcm-pcie 1000110000.pcie: link down[ 6.743587] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.[ 6.869654] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator[ 6.869708] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator[ 7.125032] panel-mipi-dbi-spi spi0.0: supply power not found, using dummy regulator[ 7.125094] panel-mipi-dbi-spi spi0.0: supply io not found, using dummy regulator[ 7.395742] alsactl[612]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set[ 7.395742] alsactl[613]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
the related command in config.txt for enabling the touch
Code:
#dtoverlay=ads7846,cs=1,penirq=27,penirq_pull=2,speed=50000#dtparam=keep_vref_on=0,swapxy=0#dtparam=pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
Code:
pi@book13th:~ $ dmesg -l warn,err[ 1.274661] F2FS not supported on PAGE_SIZE(16384) != 4096[ 2.174172] brcm-pcie 1000110000.pcie: link down[ 7.498314] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.[ 7.570162] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator[ 7.570248] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator[ 7.761764] ads7846 spi0.1: supply vcc not found, using dummy regulator[ 7.849628] panel-mipi-dbi-spi spi0.0: supply power not found, using dummy regulator[ 7.849696] panel-mipi-dbi-spi spi0.0: supply io not found, using dummy regulator[ 8.178598] alsactl[610]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set[ 8.178598] alsactl[609]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Code:
pi@book13th:~ $ sudo cat /sys/kernel/debug/device_component/gpucat: /sys/kernel/debug/device_component/gpu: No such file or directorypi@book13th:~ $ sudo cat /sys/kernel/debug/devices_deferred
https://paste.debian.net/hidden/a75bd270/
Code:
pi@cm4-board:~ $ sudo cat /sys/kernel/debug/device_component/gpuaggregate_device name status-------------------------------------------------------------gpu bounddevice name status-------------------------------------------------------------fe400000.hvs boundfef00700.hdmi boundfef05700.hdmi boundfe004000.txp boundfe206000.pixelvalve boundfe207000.pixelvalve boundfe20a000.pixelvalve boundfe216000.pixelvalve boundfec12000.pixelvalve boundpi@cm4-board:~ $ sudo cat /sys/kernel/debug/devices_deferredpi@cm4-board:~ $ dmesg -l warn,err[ 1.243785] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator[ 1.243958] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator[ 1.244018] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator[ 5.348649] systemd-journald[248]: File /var/log/journal/279bcdd7b70b4187be28314f866ae512/system.journal corrupted or uncleanly shut down, renaming and replacing.[ 6.552950] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.[ 6.716718] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.[ 6.876189] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.[ 6.895439] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.[ 6.906898] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.[ 6.917649] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.[ 6.922101] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.[ 7.323607] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator[ 7.323913] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator[ 8.611206] ads7846 spi0.1: supply vcc not found, using dummy regulator[ 8.655880] panel-mipi-dbi-spi spi0.0: supply power not found, using dummy regulator[ 8.656113] panel-mipi-dbi-spi spi0.0: supply io not found, using dummy regulator[ 9.366189] alsactl[700]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Statistics: Posted by aBUGSworstnightmare — Mon Mar 04, 2024 12:45 pm — Replies 0 — Views 38