用的一块RK3566板子,linux5.10内核,使用FBTFT驱动2.4寸ili9341显示屏,改了设备树和内核,可以正常出现fb0设备,但写入随机数的时候屏幕只会闪烁一下,其他操作没反应。查看内核日志如下
[ 10.878726] fb_ili9341 spi3.0: fbtft_property_value: buswidth = 8
[ 10.878734] fb_ili9341 spi3.0: fbtft_property_value: debug = 0
[ 10.878739] fb_ili9341 spi3.0: fbtft_property_value: rotate = 270
[ 10.878745] fb_ili9341 spi3.0: fbtft_property_value: fps = 10
[ 12.544071] fb_ili9341 spi3.0: SPI transfer failed: -110
[ 12.544492] fb_ili9341 spi3.0: fbtft_update_display: write_vmem failed to update display buffer
求助一下大神们是什么问题啊
最近编辑记录 qztx (2024-11-30 19:43:37)
离线
更新一下,看了站内几个大佬的帖子,修改了一下fbtft-core.c和设备树,现在没有看到报错了,但是屏幕还是没反应 晕
root@orangepi3b:/dev# dmesg | grep "spi"
[ 10.289509] rockchip-spi fe640000.spi: register misc device rkspi-dev3
[ 10.289528] rockchip-spi fe640000.spi: probed, poll=0, rsd=0, cs-inactive=0, ready=0
[ 10.293155] spi-nor spi4.0: XM25QU128C (16384 Kbytes) read_data x4
[ 10.879915] fb_ili9341 spi3.0: fbtft_property_value: buswidth = 8
[ 10.879923] fb_ili9341 spi3.0: fbtft_property_value: debug = 0
[ 10.879930] fb_ili9341 spi3.0: fbtft_property_value: rotate = 270
[ 10.879936] fb_ili9341 spi3.0: fbtft_property_value: fps = 10
[ 11.225415] graphics fb0: fb_ili9341 frame buffer, 320x240, 150 KiB video memory, 16 KiB buffer memory, fps=10, spi3.0 at 15 MHz
离线