参考
配置
tpg配置,
frmbuf_wr配置,
在zynqmp上输入,
# media-ctl -d /dev/media0 -p
Media controller API version 4.19.0
Media device information
------------------------
driver xilinx-video
model Xilinx Video Composite Device
serial
bus info
hw revision 0x0
driver version 4.19.0
Device topology
- entity 1: vcap_tp0 output 0 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "a0010000.v_tpg":0 [ENABLED]
- entity 5: a0010000.v_tpg (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Source
[fmt:UYVY8_1X16/0x0@1/30 field:none colorspace:srgb]
-> "vcap_tp0 output 0":0 [ENABLED]
现在执行命令media-ctl -d /dev/media0 -V '"a0010000.v_tpg":0 [fmt:Y8/1024x1024@1/25 field:none]'
,再使用media-ctl -d /dev/media0 -p
发现输出无变化。