你好,
我们是自己做的开发板,在自己的板子上vout1接口没有输出,通过gst-launch-1.0 videotestsrc ! autovideosink打印以下错误:
root@am57xx-evm:/# gst-launch-1.0 videotestsrc ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKM
SSink:autovideosink0-actual-sink-kms: GStreamer encountered a general resource e
rror.
Additional debug info:
../../../git/sys/kms/gstkmssink.c(364): gst_kms_sink_show_frame (): /GstPipeline
:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink
-kms:
drmModeSetPlane failed: Permission denied (13)
Execution ended after 0:00:00.000778034
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
我的设备树如下:
aliases {
display0 = &lcd0;
// display1 = &hdmi0;
};
lcd0: display {
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
label = "lcd";
// backlight = <&lcd_bl>;
//enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
enable-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
panel-timing {
clock-frequency = <33000000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <210>;
hback-porch = <16>;
hsync-len = <30>;
vback-porch = <10>;
vfront-porch = <22>;
vsync-len = <13>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
};
&dss {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port {
reg = <0>;
dpi_out: endpoint {
remote-endpoint = <&lcd_in>;
data-lines = <24>;
};
};
};
};
在我的/dev目录下有fb、fb0两个文件.
我的vout1接口连接的是SSD2828,对于ssd2828没有进行任何操作,因为AM5728到ssd2828之间的vout1接口都没有数据,所以下游也没有连接LCD屏。这里请问有影响吗?
请问我如何检测我的设备树是否生效呢?
我需要做哪些修改使我的vout1接口产生时钟/数据?