非常奇怪,uboot里面没有9881的驱动程序。kernel_menuconfig也没找到改驱动。
离线
现在好多屏幕都是直接29 11就显示了
离线
现在好多屏幕都是直接29 11就显示了
屏组装厂固化参数的才行,大部分厂家都没固化。
离线
[ 3.579183] [DISP] lcd_clk_config,line:744:
[ 3.579194] disp 0, clk: pll(408000000),clk(408000000),dclk(68000000) dsi_rate(68000000)
[ 3.579194] clk real:pll(408000000),clk(408000000),dclk(102000000) dsi_rate(150000000)
[ 3.579402] LCD_open_flow
[ 3.579407] LCD_power_on
[ 3.579961] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[ 3.794403] dsi_dcs_wr,cmd:0x11
[ 3.924400] sunxi_lcd_delay_ms:120
[ 3.924404] dsi_dcs_wr,cmd:0x29
[ 3.944395] sunxi_lcd_delay_ms:10
[ 4.214400] LCD_bl_open
[ 4.381165] Console: switching to colour frame buffer device 100x80
背光亮了,但是没显示,不知道什么原因。
离线
/sys/devices/virtual/disp/disp/attr# cat sys
screen 0:
de_rate 300000000 hz, ref_fps:57
mgr0: 800x1280 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] iommu[1]
dmabuf: cache[0] cache max[0] umap skip[0] umap skip max[12]
lcd output backlight(100) fps:57.4 800x1280
err:1 skip:26 irq:5586 vsync:0 vsync_skip:0
BUF enable ch[1] lyr[0] z[16] prem[N] a[pixel 255] fmt[ 0] fb[ 800,1280; 800,1280; 800,1280] crop[ 0, 0, 800,1280] frame[ 0, 0, 800,1280] addr[ 0, 0, 0] flags[0x 0] trd[0,0]
depth[ 0]
实在找不出问题来。
离线
请问如何截屏。
离线
通过echo /1.bmp > /sys/class/disp/disp/attr/capture_dump
截图到lv_example的图片。:)
可以屏幕还是没显示
离线
可以尝试先截屏为bmp,在windows上看看显示是否正常,确认显存数据正常的话,应该就是初始化序列的问题了
硬件检查了复位信号正常,初始化序列问了厂家就是0x11,0x29
背光打开正常
[ 3.579183] [DISP] lcd_clk_config,line:744:
[ 3.579194] disp 0, clk: pll(408000000),clk(408000000),dclk(68000000) dsi_rate(68000000)
[ 3.579194] clk real:pll(408000000),clk(408000000),dclk(102000000) dsi_rate(150000000)
[ 3.579402] LCD_open_flow
[ 3.579407] LCD_power_on
[ 3.579961] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[ 3.794403] dsi_dcs_wr,cmd:0x11
[ 3.924400] sunxi_lcd_delay_ms:120
[ 3.924404] dsi_dcs_wr,cmd:0x29
[ 3.944395] sunxi_lcd_delay_ms:10
[ 4.214400] LCD_bl_open
[ 4.381165] Console: switching to colour frame buffer device 100x80
板子上同时引出DSI和LVDS座子,LVDS点屏是正常.
请问下一步怎么查?
最近编辑记录 zhouxy68@126.com (2025-05-15 16:11:17)
离线
突然想起来 阿程数采 的 T113S3开发板使用的是9881的mipi,你可以参考他的设备树源码等等
有源码下载链接吗
离线
很早前使用A133驱动起来了
离线