waveshareteam / LCD-show

403 stars 178 forks source link

Issues with RPI kernel 6.1.28 #59

Closed flocknroll closed 1 year ago

flocknroll commented 1 year ago

I updated my RPI 2B kernel to the 6.1.28 version and the display stopped working correctly: most of the lines are white but some are still OK.

Screen: 3.5” RPi Display(MPI3501)

The kernel outputs the following errors:

May 22 09:58:28 pi2 kernel: fb_ili9486 spi0.0: SPI transfer timed out May 22 09:58:28 pi2 kernel: bcm2835-dma 3f007000.dma: failed to abort dma May 22 09:58:28 pi2 kernel: spi_master spi0: failed to transfer one message from queue May 22 09:58:28 pi2 kernel: fb_ili9486 spi0.0: fbtft_update_display: write_vmem failed to update display buffer

Host:

Linux pi2 6.1.28-5-rpi-ARCH #1 SMP Wed May 17 13:01:32 MDT 2023 armv7l GNU/Linux Raspberry Pi 2 Model B Rev 1.1 Arch Linux ARM

cmdline.txt:

root=/dev/mmcblk0p2 rw rootwait console=serial0,115200 fsck.repair=yes fbcon=map:1000000001 fbcon=font:VGA8x8 plymouth.enable=0

config.txt:

dtoverlay=vc4-kms-v3d
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
dtparam=i2c_arm=on
dtparam=spi=on
enable_uart=1
dtoverlay=tft35a:rotate=270

Reverting to 6.1.27 fixes the issue.