页次: 1
@benlypan
/dev/disp
能在主线 LINUX 5.2中开启否
使用的是这个版本
git clone -b zero-5.2.y --depth 1 https://github.com/Lichee-Pi/linux.git
参考
https://github.com/aodzip/cedar
https://github.com/aodzip/libcedarc
后
/dev/cedar_dev
/dev/ion
能出现
/dev/disp 无法实现
用的是 V3S ,linux 是 5.2
来自 git clone -b zero-5.2.y --depth 1 https://github.com/Lichee-Pi/linux.git
它只提供
sun8i-v3s-licheepi-zero-with-800x480-lcd.dts
sun8i-v3s-licheepi-zero-with-480x272-lcd.dts
两个样例
u-boot的参数如下
CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:52000,le:112,ri:160,up:20,lo:12,hs:48,vs:3,sync:3,vmode:0"
LCD panel backlight enable pin = PB2
u-boot 可以点亮并显示内容
使用的 sun8i-v3s-licheepi-zero-dock.dts
现在想测试使用display engine 2 ,需要编写这块屏的设备树,但不知如何下手
按教程运行后出现这样的错误
# gst-launch-1.0 filesrc location=/root/test.mp4 ! qtdemux ! h264parse ! omxh264
dec ! autovideoconvert ! fbdevsink
Setting pipeline to PAUSED ...
debug : cedarc <AwOmxComponentInit:26>:OMXCORE: aw_omx_component_init 160500
debug : omx_vdec <__AwOmxVdecInit:1059>:++++++++++++++++++++++omx begin++++++++++++++++++
debug : omx_vdec <__AwOmxVdecInit:1060>:name = OMX.allwinner.video.decoder.avc
debug : omx_vdec_aw <OmxDecoderCreate:924>:kay: ** 0.
debug : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug : cedarc <AwOmxComponentSetCallbacks:310>:OMXCORE: aw_omx_component_set_callbacks 160500, b65f0488 , 3a5e8
debug : omx_vdec <__AwOmxVdecSetCallbacks:1812>:===== vdec set callbacks
Pipeline is PREROLLING ...
debug : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
debug : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
error : omx_vdec <AwOmxVdecPortGetFormat:288>:erro: pParamData->nIndex > m_sPortFormatType.nIndex
**
ERROR:gstomxvideodec.c:1804:gst_omx_video_dec_negotiate: assertion failed: (l != NULL)
Aborted
页次: 1