This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM62P-LP:Libcamera

Guru**** 2362840 points
Other Parts Discussed in Thread: AM62P
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1505774/sk-am62p-lp-libcamera

器件型号:SK-AM62P-LP
主题:AM62P 中讨论的其他器件

工具/软件:

您好、我们正在尝试使用 AM62P 实现视频捕获器件、当我们运行命令"LIBCAMERA_LOG_LEVELs=*:debug、V4L2:trace cam -l"时、我们收到此输出错误

[0:17:21.532829080][1119] INFO V4L2 v4l2_subdevice.cpp:1662 "nvp6324 4ch AHD 解码器":log 7.
[0:17:21.532853700][1119]错误 V4L2 v4l2_subdevice.cpp:1664 'nvp6324 4ch AHD 解码器':VIDIOC_SUBDEV_S_routing:设备的 ioctl 不正确
[0:17:21.532885525][1119] INFO V4L2 v4l2_subdevice.cpp:1559 "nvp6324 4ch AHD 解码器":setRoutingLegacy
[0:17:21.532909170][1119] INFO V4L2 v4l2_subdevice.cpp:1561 'nvp6324 4ch AHD 解码器':路由包含4条路由。
[0:17:21.532933175][1119] INFO V4L2 v4l2_subdevice.cpp:1564 "nvp6324 4通道 AHD 解码器":路由0:SINK_PAD=0、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=0、flagsource_STREAM=0
[0:17:21.532960785][1119] INFO V4L2 v4l2_subdevice.cpp:1564 "nvp6324 4通道 AHD 解码器":路由1:SINK_PAD=1、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=1、flags=1
[0:17:21.532986445][1119] INFO V4L2 v4l2_subdevice.cpp:1564 "nvp6324 4通道 AHD 解码器":路由2:SINK_PAD=2、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=2、flags=1
[0:17:21.533012490][1119] INFO V4L2 v4l2_subdevice.cpp:1564 "nvp6324 4通道 AHD 解码器":路由3:SINK_PAD=3、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=3、FLAGS=1
[0:17:21.533038595][1119] INFO V4L2 v4l2_subdevice.cpp:1578 'nvp6324 4ch AHD 解码器':log setRoutingLegacy 其中:1.
[0:17:21.533062620][1119] INFO V4L2 v4l2_subdevice.cpp:1580 'nvp6324 4ch AHD 解码器':log setRoutingLegacy RT.num_routes:4.
[0:17:21.533086365][1119] INFO V4L2 v4l2_subdevice.cpp:1583 "nvp6324 4ch AHD 解码器":路由选择、选择:1.
[0:17:21.533109955][1119] INFO V4L2 v4l2_subdevice.cpp:1587 "nvp6324 4通道 AHD 解码器":路由0:SINK_PAD=0、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=0、flagsource_STREAM=1
[0:17:21.533136000][1119] INFO V4L2 v4l2_subdevice.cpp:1587 "nvp6324 4通道 AHD 解码器":路由1:SINK_PAD=1、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=1、flags = 1
[0:17:21.533161910][1119] INFO V4L2 v4l2_subdevice.cpp:1587 'nvp6324 4通道 AHD 解码器':路由2:SINK_PAD=2、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=2、FLAGS=1
[0:17:21.533187535][1119] INFO V4L2 v4l2_subdevice.cpp:1587 "nvp6324 4通道 AHD 解码器":路由3:SINK_PAD=3、SINK_STREAM=0、SOURCE_PAD=0、SOURCE_STREAM=3、flags = 1
[0:17:21.533213795][1119] debug V4L2 v4l2_device.cpp:565 "nvp6324 4ch AHD 解码器":调用 ioctl、请求代码:0x00000000c0285627请求:3223868967
[0:17:21.533240015][1119] debug V4L2 v4l2_device.cpp:863 "nvp6324 4通道 AHD 解码器":未专门处理 ioctl 请求、代码:0x0x00000000c0285627
[0:17:21.672862765][1119]错误 V4L2 v4l2_device.cpp:879 "nvp6324 4ch AHD 解码器":ioctl 请求0x0x00000000c0285627失败、错误:参数无效(22)
[0:17:21.672943635][1119]错误 V4L2 v4l2_subdevice.cpp:1597 'nvp6324 4ch AHD 解码器':无法设置路由:参数无效
[0:17:21.672975395][1119] INFO SimplePipeline simple.cpp:1558 GetRouting ActiveFormat
[0:17:21.672998510][1119]错误 SimplePipeline simple.cpp:1686无法重置/dev/v4l-subdev2的路由:参数无效
[0:17:21.712655220][1119]调试摄像头 camera_manager.cpp:143找到注册的流水线处理程序"uvcvideo"
可用摄像头:

我们已经推出了一些调试,但我们找不到为什么我们不能使用可用的相机的原因。


这是 media-ctl -p 输出

root@am62pxx-EVM:~# media-ctl -p
媒体控制器 API 版本6.6.32

媒体设备信息
----------------------------
驱动器 j721e-csi2rx
模型 TI-CSI2RX
串行
总线信息平台:30102000.ticsi2rx
硬件修订版本0x1
驱动程序版本6.6.32

器件拓扑
-实体1: 30102000.ticsi2rx (7个电极,7个连接,4条路由)
键入 V4L2 subdev 子类型未知标志0
器件节点名称/dev/v4l-subdev0
路线:
0/0 ->2/0 [活动]
0/1 -> 3/0 [有效]
0/2 -> 4/0 [有效]
0/3 -> 5/0 [有效]
pad0:水槽
[STREAM:0 fmt:UYVY8_1x16/1280x720字段:无]
[STREAM:1 fmt:UYVY8_1x16/1280x720字段:无]
[流:2 fmt:UYVY8_1x16/1280x720字段:无]
[流:3 fmt:UYVY8_1x16/1280x720字段:无]
<-"cdns_csi2rx.30101000.csi-bridge":1 [已启用、不可更改]
pad1:来源
->"30102000.ticsi2rx 上下文0":0 [已启用、不可更改]
pad2:来源
[STREAM:0 fmt:UYVY8_1x16/1280x720字段:无]
->"30102000.ticsi2rx 上下文1":0 [已启用、不可更改]
pad3:来源
[STREAM:0 fmt:UYVY8_1x16/1280x720字段:无]
->"30102000.ticsi2rx 上下文2":0 [已启用、不可更改]
pad4:来源
[STREAM:0 fmt:UYVY8_1x16/1280x720字段:无]
->"30102000.ticsi2rx 上下文3":0 [已启用、不可更改]
pad5:来源
[STREAM:0 fmt:UYVY8_1x16/1280x720字段:无]
->"30102000.ticsi2rx 上下文4":0 [已启用、不可更改]
pad6:来源
->"30102000.ticsi2rx 上下文5":0 [已启用、不可更改]

-实体9:cdns_csi2rx.30101000.csi-bridge (5个电极、2个链路、1条路由)
键入 V4L2 subdev 子类型未知标志0
器件节点名称/dev/v4l-subdev1
路线:
0/0 ->1/0 [活动]
pad0:水槽
[STREAM:0 fmt:UYVY8_1x16/1280x720字段:无]
<-"nvp6324 4通道 AHD 解码器":1 [已启用、不可更改]
pad1:来源
[STREAM:0 fmt:UYVY8_1x16/1280x720字段:无]
->"30102000.ticsi2rx":0 [已启用、不可更改]
pad2:来源
pad3:来源
pad4:来源

-实体15:nvp6324 4ch AHD 解码器(5个电极、1个链路、4条路由)
键入 V4L2 subdev 子类型传感器标志0
器件节点名称/dev/v4l-subdev2
路线:
0/0 -> 0/0 [活动]
1/0 -> 0/1 [正在供货]
2/0 -> 0/2 [活动]
3/0 -> 0/3 [活动]
pad0:未知
[stream:0 fmt:UYVY8_2X8/1280x720@1/30 field:none colorspace:rec709 xfer:sRGB YCbCr:xv709量化:lim-range
CROP.BOUNDS:(0、0)/1280x720
裁剪:(0、0)/0x0
compose.bounds:(0、0)/0x0
撰写:(0、0)/0x0]
[stream:1 fmt:UYVY8_2X8/1280x720@1/30 field:none colorspace:rec709 xfer:sRGB YCbCr:xv709量化:lim-range
CROP.BOUNDS:(0、0)/1280x720
裁剪:(0、0)/0x0
compose.bounds:(0、0)/0x0
撰写:(0、0)/0x0]
[stream:2 fmt:UYVY8_2X8/1280x720@1/30 field:none colorspace:rec709 xfer:sRGB YCbCr:xv709量化:lim-range
CROP.BOUNDS:(0、0)/1280x720
裁剪:(0、0)/0x0
compose.bounds:(0、0)/0x0
撰写:(0、0)/0x0]
[stream:3 fmt:UYVY8_2X8/1280x720@1/30 field:none colorspace:rec709 xfer:sRGB YCbCr:xv709量化:lim-range
CROP.BOUNDS:(0、0)/1280x720
裁剪:(0、0)/0x0
compose.bounds:(0、0)/0x0
撰写:(0、0)/0x0]
pad1:来源
->"Cdns_csi2rx.30101000.csi-bridge":0 [已启用、不可更改]
pad2:来源
pad3:来源
pad4:来源

-实体25: 30102000.ticsi2rx 上下文0 (1个 pad, 1个链接)
键入节点子类型 V4L 标志0
器件节点名称/dev/video2
pad0:水槽
<-"30102000.ticsi2rx":1 [已启用、不可更改]

-实体31: 30102000.ticsi2rx 上下文1 (1个 pad, 1个链接)
键入节点子类型 V4L 标志0
器件节点名称/dev/video3
pad0:水槽
<-"30102000.ticsi2rx":2 [已启用、不可更改]

-实体37: 30102000.ticsi2rx 上下文2 (1个 pad, 1个链接)
键入节点子类型 V4L 标志0
器件节点名称/dev/video4
pad0:水槽
<-"30102000.ticsi2rx":3 [已启用、不可更改]

-实体43: 30102000.ticsi2rx 上下文3 (1个 pad, 1个链接)
键入节点子类型 V4L 标志0
器件节点名称/dev/video5
pad0:水槽
<-"30102000.ticsi2rx":4 [已启用、不可更改]

-实体49: 30102000.ticsi2rx 上下文4 (1个 pad, 1个链接)
键入节点子类型 V4L 标志0
器件节点名称/dev/video6
pad0:水槽
<-"30102000.ticsi2rx":5 [已启用、不可更改]

-实体55: 30102000.ticsi2rx 上下文5(1个 pad, 1个链接)
键入节点子类型 V4L 标志0
器件节点名称/dev/video7
pad0:水槽
<-"30102000.ticsi2rx":6 [已启用、不可更改]


此致、


  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Sergio、

    我已将您的问题发送给我们的摄像头专家。 请期待尽快答复。

    此致、

    Suren

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢您、

    此致、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Sergio、

    您是否能够在不使用 libcamera 的情况下运行 v4l2-ctl、yavta 或 gstreamer 来捕获图像?

    谢谢你。

    建中

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、建中、

    当我使用 gst-launch 时、我得到了这个输出

    root@am62pxx-evm:~# gst-launch-1.0 -v \
    > v4l2src device=/dev/video3 ! video/x-raw,format=UYVY,width=1280,height=720,framerate=30/1 ! \
    > videoconvert ! video/x-raw, width=1280, height=720, framerate=30/1, format=NV12 ! waylandsink sync=false
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, format=(string)NV12, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
    Additional debug info:
    /usr/src/debug/gstreamer1.0-plugins-good/1.22.12/sys/v4l2/gstv4l2src.c(952): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    Buffer pool activation failed
    Execution ended after 0:00:01.785532400
    Setting pipeline to NULL ...
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
    Additional debug info:
    /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesrc.c(3134): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming stopped, reason not-negotiated (-4)
    Freeing pipeline ...
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您的传感器具有  UYVY8_2X8格式。  请注意、SDK 不支持 UYVY8_2X8:

    e2e.ti.com/.../am625-camera-porting-to-ti-am625-09_02_01_10-sdk

    能否将传感器输出格式更改为 UYVY8_1x16?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    yavta 或 v4l2-ctrl 捕获可以正常工作吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    以下是 v4l2-ctl 和 yavta 的测试


    root@am62pxx-EVM:~# v4l2-ctl --device=/dev/video3 --set-fmt-video=width=1280、height=720、pixelformat=UYVY --stream-mmap --stream-count=30 --stream-to=video.raw


    VIDIOC_STREAMON 返回-1 (无效参数)


    有了 yavta、我该如何使用它?

    此致、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    software-dl.ti.com/.../CSI2RX.html

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    software-dl.ti.com/.../CSI2RX.html

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Sergio、

    您能否执行以下操作来检查捕获的图像是否看起来良好?

    yavta -C5 -Fcapture-#.YUV -s 1280x720 -f UYVY /dev/video3

    您是否也可以尝试使用 GStreamer 将捕获结果转储到文件接收器?

    谢谢、

    建中

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我对视频解码器驱动程序进行了一些更改、现在我可以使用 gst-launch 命令重现视频、如下所示。

    gst-launch-1.0 -v \
    v4l2src device=/dev/video3! video/x-raw、format=UYVY、width=1280、height=720、帧速率=30/1! \
    视频转换! video/x-raw、width=1280、height=720、帧速率=30/1、format=NV12! waylandsink sync=false

    我们现在的问题是当我们运行"cam -l"命令时

    root@am62pxx-evm:~# cam -l
    [0:20:37.117257200] [1123]  INFO IPAManager ipa_manager.cpp:115 libcamera Path: 'NULO'
    [0:20:37.117635855] [1123]  INFO IPAManager ipa_manager.cpp:140 libcamera is not installed. Adding '//usr/lib/libcamera/ipa' to the IPA search path
    [0:20:37.163132340] [1123]  INFO Camera camera_manager.cpp:330 libcamera v0.4.0+dirty (2025-04-29T14:21:46-03)
    [0:20:37.353216920] [1124] ERROR V4L2 v4l2_device.cpp:897 'cdns_csi2rx.30101000.csi-bridge': Ioctl request 0x0x00000000c0e85667 failed with error: Inappropriate ioctl for device (25)
    [0:20:37.588403400] [1124] ERROR V4L2 v4l2_device.cpp:897 'cdns_csi2rx.30101000.csi-bridge': Ioctl request 0x0x00000000c0405626 failed with error: Inappropriate ioctl for device (25)
    [0:20:37.677997250] [1124] ERROR V4L2 v4l2_device.cpp:897 'cdns_csi2rx.30101000.csi-bridge': Ioctl request 0x0x00000000c0285626 failed with error: No space left on device (28)
    [0:20:38.006571855] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0e85667 failed with error: Inappropriate ioctl for device (25)
    [0:20:38.241516790] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0405626 failed with error: Inappropriate ioctl for device (25)
    [0:20:38.331112025] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0285626 failed with error: No space left on device (28)
    [0:20:38.659537960] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0e85667 failed with error: Inappropriate ioctl for device (25)
    [0:20:38.894537155] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0405626 failed with error: Inappropriate ioctl for device (25)
    [0:20:38.984139185] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0285626 failed with error: No space left on device (28)
    [0:20:39.312689270] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0e85667 failed with error: Inappropriate ioctl for device (25)
    [0:20:39.547686795] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0405626 failed with error: Inappropriate ioctl for device (25)
    [0:20:39.637272210] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0285626 failed with error: No space left on device (28)
    [0:20:39.965704555] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0e85667 failed with error: Inappropriate ioctl for device (25)
    [0:20:40.200691805] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0405626 failed with error: Inappropriate ioctl for device (25)
    [0:20:40.290310555] [1124] ERROR V4L2 v4l2_device.cpp:897 '30102000.ticsi2rx': Ioctl request 0x0x00000000c0285626 failed with error: No space left on device (28)
    [0:20:41.048443995] [1124] ERROR V4L2 v4l2_device.cpp:897 'nvp6324': Ioctl request 0x0x00000000c0e85667 failed with error: Inappropriate ioctl for device (25)
    [0:20:42.560816835] [1124] ERROR V4L2 v4l2_device.cpp:897 'nvp6324': Ioctl request 0x0x00000000c0305602 failed with error: Invalid argument (22)
    [0:20:43.955718785] [1124] ERROR V4L2 v4l2_device.cpp:897 'nvp6324': Ioctl request 0x0x00000000c040564a failed with error: Invalid argument (22)
    [0:20:45.350419665] [1124] ERROR V4L2 v4l2_device.cpp:897 'nvp6324': Ioctl request 0x0x00000000c040564a failed with error: Invalid argument (22)
    [0:20:45.350534965] [1124] ERROR V4L2 v4l2_subdevice.cpp:1235 'nvp6324': Could not add sizes for media bus code 8207 on pad 0
    [0:20:45.350570235] [1124] ERROR CameraSensor camera_sensor_legacy.cpp:227 'nvp6324': No image formats returned by subdevice.
    [0:20:45.358175195] [1124] ERROR CameraSensor camera_sensor.cpp:408 Failed to create sensor for 'nvp6324: -22
    [0:20:45.358236610] [1124] ERROR SimplePipeline simple.cpp:513 Failed to create camera sensor object for: nvp6324
    [0:20:45.358272825] [1124] ERROR SimplePipeline simple.cpp:1656 No valid pipeline for sensor 'nvp6324', skipping
    Available cameras:
    root@am62pxx-evm:~# 



    是否有任何使用 libcamera 的测试可以帮助我们找到问题?

    此致、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Sergio、

    我在您的"media-ctl -p"中看到了以下内容:

    -实体15:nvp6324_4ch_AHD_decoder (5个 PAD、1个链路、4个路由)
    键入 V4L2 subdev 子类型传感器标志0
    器件节点名称/dev/v4l-subdev2
    路线:
    0/0 -> 0/0 [活动]
    1/0 -> 0/1 [正在供货]
    2/0 -> 0/2 [活动]
    3/0 -> 0/3 [活动]

    它应该是以下代码、因为所有流都来自 PAD 0:

    0/0  -> 0/0 [活动]
    0/0  -> 0/1 [活动状态]
    0/0  -> 0/2 [活动]
    0/0  -> 0/3 [活动]

    此致、

    建中

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的建中:

    我在驱动程序中做了一些更改、现在我的 media-ctl -p 具有此输出

    root@am62pxx-evm:~# media-ctl -p 
    Media controller API version 6.6.32
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial          
    bus info        platform:30102000.ticsi2rx
    hw revision     0x1
    driver version  6.6.32
    
    Device topology
    - entity 1: 30102000.ticsi2rx (7 pads, 7 links, 4 routes)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev0
    	routes:
    		0/0 -> 2/0 [ACTIVE]
    		0/1 -> 3/0 [ACTIVE]
    		0/2 -> 4/0 [ACTIVE]
    		0/3 -> 5/0 [ACTIVE]
    	pad0: Sink
    		[stream:0 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:1 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:2 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:3 fmt:UYVY8_1X16/1280x720 field:none]
    		<- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
    	pad1: Source
    		-> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
    	pad2: Source
    		[stream:0 fmt:UYVY8_1X16/1280x720 field:none]
    		-> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
    	pad3: Source
    		[stream:0 fmt:UYVY8_1X16/1280x720 field:none]
    		-> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
    	pad4: Source
    		[stream:0 fmt:UYVY8_1X16/1280x720 field:none]
    		-> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
    	pad5: Source
    		[stream:0 fmt:UYVY8_1X16/1280x720 field:none]
    		-> "30102000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
    	pad6: Source
    		-> "30102000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE]
    
    - entity 9: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 4 routes)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev1
    	routes:
    		0/0 -> 1/0 [ACTIVE]
    		0/1 -> 1/1 [ACTIVE]
    		0/2 -> 1/2 [ACTIVE]
    		0/3 -> 1/3 [ACTIVE]
    	pad0: Sink
    		[stream:0 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:1 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:2 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:3 fmt:UYVY8_1X16/1280x720 field:none]
    		<- "nvp6324":0 [ENABLED,IMMUTABLE]
    	pad1: Source
    		[stream:0 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:1 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:2 fmt:UYVY8_1X16/1280x720 field:none]
    		[stream:3 fmt:UYVY8_1X16/1280x720 field:none]
    		-> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE]
    	pad2: Source
    	pad3: Source
    	pad4: Source
    
    - entity 15: nvp6324 (5 pads, 1 link, 4 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev2
    	routes:
    		0/0 -> 0/0 [ACTIVE]
    		0/0 -> 0/1 [ACTIVE]
    		0/0 -> 0/2 [ACTIVE]
    		0/0 -> 0/3 [ACTIVE]
    	pad0: Source
    		[stream:0 fmt:UYVY8_1X16/1280x720@1/30 field:none colorspace:rec709
    		 crop.bounds:(0,0)/1280x720
    		 crop:(0,0)/1280x720]
    		[stream:1 fmt:UYVY8_1X16/1280x720@1/30 field:none colorspace:rec709
    		 crop.bounds:(0,0)/1280x720
    		 crop:(0,0)/1280x720]
    		[stream:2 fmt:UYVY8_1X16/1280x720@1/30 field:none colorspace:rec709
    		 crop.bounds:(0,0)/1280x720
    		 crop:(0,0)/1280x720]
    		[stream:3 fmt:UYVY8_1X16/1280x720@1/30 field:none colorspace:rec709
    		 crop.bounds:(0,0)/1280x720
    		 crop:(0,0)/1280x720]
    		-> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
    	pad1: Source
    	pad2: Source
    	pad3: Source
    	pad4: Source
    
    - entity 25: 30102000.ticsi2rx context 0 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video2
    	pad0: Sink
    		<- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE]
    
    - entity 31: 30102000.ticsi2rx context 1 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video3
    	pad0: Sink
    		<- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE]
    
    - entity 37: 30102000.ticsi2rx context 2 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video4
    	pad0: Sink
    		<- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE]
    
    - entity 43: 30102000.ticsi2rx context 3 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video5
    	pad0: Sink
    		<- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE]
    
    - entity 49: 30102000.ticsi2rx context 4 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video6
    	pad0: Sink
    		<- "30102000.ticsi2rx":5 [ENABLED,IMMUTABLE]
    
    - entity 55: 30102000.ticsi2rx context 5 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video7
    	pad0: Sink
    		<- "30102000.ticsi2rx":6 [ENABLED,IMMUTABLE]
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您是否仍存在与"cam -l"相同的问题?