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-TDA4VM:无法打开 IMX390-RCM

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1513497/sk-tda4vm-ca-not-open-imx390-rcm

器件型号:SK-TDA4VM

工具/软件:

您好导出、

很抱歉再次打扰。 我们已经使用了 D3embedding 的相机 imx390-RCM

我们的配置:

SK-TDA4VM、DS90UB960Q1-EVM、D3Emmed imx390-RCM 摄像头。

但有一些问题,我们尝试使用,但它不起作用.

gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
video/x-bayer, width=1936, height=1100, framerate=30/1, format=rggb12 ! queue leaky=2 ! \
tiovxisp sink_0::device=/dev/v4l-subdev10 sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin \
format-msb=11 ! tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
sink_0::pool-size=8 c::pool-size=8 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
kmssink sync=false driver-name=tidss

以下是运行日志:

root@tda4vm-sk:/opt/edgeai-gst-apps# gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
> video/x-bayer, width=1936, height=1100, framerate=30/1, format=rggb12 ! queue leaky=2 ! \
> tiovxisp sink_0::device=/dev/v4l-subdev10 sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
> dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin \
> format-msb=11 ! tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
> sink_0::pool-size=8 c::pool-size=8 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
> kmssink sync=false driver-name=tidss
APP: Init ... !!!
    56.401915 s: MEM: Init ... !!!
    56.402035 s: MEM: Initialized DMA HEAP (fd=8) !!!
    56.402147 s: MEM: Init ... Done !!!
    56.402156 s: IPC: Init ... !!!
    56.463789 s: IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    56.471240 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    56.475973 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    56.476008 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    56.476016 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    56.484394 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0
    56.484587 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1
    56.484667 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2
    56.484738 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3
    56.484749 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
    56.484756 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

新时钟:SstSystemClock。

我们还确认驾驶员工作正常。


root@tda4vm-sk:/opt/edgeai-gst-apps # dmesg | grep IMX
[ 12.395491] imx390 10-001A:插入频率:27027027 Hz
[12.478748] imx390 10-001A:探测 imx390

root@tda4vm-sk:/opt/edgeai-gst-apps # dmesg | grep DS9
[10.518185] ds90ub960 6-003d:未找到电源 VDDIO、使用虚拟调节器
[ 10.735575] ds90ub960 6-003d:固定依赖周期、带/bus@10000/i2c@2030000/i2c-mux@70/i2c@0/deser@3D/links/link@0/串行器
[ 12.134227] ds90ub953 6-0044:找到 ub953 rev/mask 0x20
[ 12.157149] ds90ub953 6-0044:固定依赖周期、/bus@10000/i2c@2030000/i2c-mux@70/i2c@0/deser@3D/links/link@0/serial/i2c/sensor@1a

最好的注意、

Kathy

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

    尊敬的 Kathy:

    感谢您提供日志和 GStreamer 流水线。

    我的第一个怀疑是、在流水线中的解决/格式转换可能存在问题。 能否运行以下两个流水线:

    • gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
      video/x-Bayer、宽度=1936、高度=1100、帧速率=30/1、格式=rggb12! 队列泄漏=2! \
      tiovxisp sink_0::device=/dev/v4l-subdev10 sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
      dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin \
      格式 — MSB=11! tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
      sink_0::pool-size=8 c::pool-size=8! 自动视频接收器
    • gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
      video/x-Bayer、宽度=1936、高度=1100、帧速率=30/1、格式=rggb12! 队列泄漏=2! \
      tiovxisp sink_0::device=/dev/v4l-subdev10 sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
      dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin \
      格式 — MSB=11! tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
      sink_0::pool-size=8 c::pool-size=8! 视频转换 ! video/x-raw、格式=NV12、宽度=1920、高度=1080、帧速率=30/1! \
      kmssink sync=false driver-name=tidss

    这两种方法都不同、可以以非最佳方式提取一些视频分辨率/格式转换、但适合故障排除。 请告诉我其中的任何一个是否有效、或者是否将相同的行为视为原始流水线、或者是否观察到不同的行为。

    此致、

    Takuma

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

    很抱歉、延迟回复、测试结果刚刚是相同的错误。

    root@tda4vm-sk:/opt/edgeai-gst-apps# gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
    > video/x-bayer, width=1936, height=1100, framerate=30/1, format=rggb12 ! queue leaky=2 ! \
    > tiovxisp sink_0::device=/dev/v4l-subdev10 sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
    > dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin \
    > format-msb=11 ! tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
    > sink_0::pool-size=8 c::pool-size=8 ! autovideosink
    APP: Init ... !!!
       143.282791 s: MEM: Init ... !!!
       143.282838 s: MEM: Initialized DMA HEAP (fd=8) !!!
       143.282933 s: MEM: Init ... Done !!!
       143.282942 s: IPC: Init ... !!!
       143.337282 s: IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
       143.344567 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
       143.344632 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
       143.344641 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
       143.344647 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
       143.345224 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0
       143.345346 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1
       143.345440 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2
       143.345610 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3
       143.345623 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
       143.345632 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    Setting pipeline to PAUSED ...
    [   70.102891] audit: type=1006 audit(1747619994.252:27): pid=1949 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=4 res=1
    [   70.119379] audit: type=1300 audit(1747619994.252:27): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffffb3aa988 a2=4 a3=1 items=0 ppid=1 pid=1949 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    [   70.147632] audit: type=1327 audit(1747619994.252:27): proctitle="(systemd)"
    [   70.384205] audit: type=1006 audit(1747619994.532:28): pid=1946 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=5 res=1
    [   70.397947] audit: type=1300 audit(1747619994.532:28): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffff25b6f8 a2=4 a3=1 items=0 ppid=1 pid=1946 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=5 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    [   70.425598] audit: type=1327 audit(1747619994.532:28): proctitle="(weston)"
    warning: queue 0xffff78000be0 destroyed while proxies still attached:
      xdg_wm_base@6 still attached
      wl_subcompositor@5 still attached
      wl_compositor@4 still attached
      wl_registry@2 still attached
    Pipeline is live and does not need PREROLL ...
    Got context from element 'autovideosink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ^Chandling interrupt.
    Interrupt: Stopping pipeline ...
    Execution ended after 0:00:08.343300533
    Setting pipeline to NULL ...
    warning: queue 0xffff7807f110 destroyed while proxies still attached:
      xdg_wm_base@11 still attached
      wl_subcompositor@7 still attached
      wl_compositor@10 still attached
      wl_registry@13 still attached
    Freeing pipeline ...
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
       152.520606 s: IPC: Deinit ... !!!
       152.521219 s: IPC: DeInit ... Done !!!
       152.521247 s: MEM: Deinit ... !!!
       152.521254 s: DDR_SHARED_MEM: Alloc's: 6 alloc's of 25555200 bytes
       152.521261 s: DDR_SHARED_MEM: Free's : 6 free's  of 25555200 bytes
       152.521268 s: DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes
       152.521279 s: MEM: Deinit ... Done !!!
    APP: Deinit ... Done !!!
    root@tda4vm-sk:/opt/edgeai-gst-apps# gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
    > video/x-bayer, width=1936, height=1100, framerate=30/1, format=rggb12 ! queue leaky=2 ! \
    > tiovxisp sink_0::device=/dev/v4l-subdev10 sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
    > dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin \
    > format-msb=11 ! tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
    > sink_0::pool-size=8 c::pool-size=8 ! autovideosink
    APP: Init ... !!!
       161.656221 s: MEM: Init ... !!!
       161.656253 s: MEM: Initialized DMA HEAP (fd=8) !!!
       161.656348 s: MEM: Init ... Done !!!
       161.656357 s: IPC: Init ... !!!
       161.711746 s: IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
       161.719205 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
       161.719266 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
       161.719275 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
       161.719282 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
       161.719860 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0
       161.719987 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1
       161.720067 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2
       161.720147 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3
       161.720159 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
       161.720166 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    Setting pipeline to PAUSED ...
    warning: queue 0xffff8c000be0 destroyed while proxies still attached:
      xdg_wm_base@6 still attached
      wl_subcompositor@5 still attached
      wl_compositor@4 still attached
      wl_registry@2 still attached
    Pipeline is live and does not need PREROLL ...
    Got context from element 'autovideosink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    

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

    尊敬的 Kathy:

    那么它似乎不应该是格式问题。

    我不确定以下内容是否能正常协商并运行、但您能否尝试使用下面的流水线并共享日志:

    • gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
      video/x-Bayer、宽度=1936、高度=1100、帧速率=30/1、格式=rggb12!  fakesink

    目的是查看我们是否可以通过使用 任何格式的“假“显示元素缩小问题范围。 根据这是否表现出与 GstSystemClock 相同的行为、或者流水线运行并生成时间戳、我们可以将问题缩小到摄像头或 ISP/LDC。

    此致、

    Takuma

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

    尊敬的 Takuma:

    这是我们的错误消息

    root@tda4vm-sk:/opt/edgeai-gst-apps# gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
    > video/x-bayer, width=1936, height=1100, framerate=30/1, format=rggb12 ! fakesink
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: No downstream pool to import from.
    Additional debug info:
    /usr/src/debug/gstreamer1.0-plugins-good/1.22.12/sys/v4l2/gstv4l2object.c(5471): gst_v4l2_object_decide_allocation (): /GstPipeline:pipel:
    When importing DMABUF or USERPTR, we need a pool to import from
    Execution ended after 0:00:00.000898375
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
    Setting pipeline to NULL ...
    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 ...
    

    传感器似乎没有任何数据输入。

    我尝试确认 imx390 的 i2c、并在下面附加警告:

    root@tda4vm-sk:/opt/edgeai-gst-apps# i2cdetect -r -y 10
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f[ 1007.635227] ds90ub960 6-003d: client 0x08 not mapped!
    
    00:                         [ 1007.644653] ds90ub960 6-003d: client 0x09 not mapped!
    -- [ 1007.652280] ds90ub960 6-003d: client 0x0a not mapped!
    -- [ 1007.657597] ds90ub960 6-003d: client 0x0b not mapped!
    -- [ 1007.662891] ds90ub960 6-003d: client 0x0c not mapped!
    -- [ 1007.668201] ds90ub960 6-003d: client 0x0d not mapped!
    -- [ 1007.673489] ds90ub960 6-003d: client 0x0e not mapped!
    -- [ 1007.678793] ds90ub960 6-003d: client 0x0f not mapped!
    -- [ 1007.684099] ds90ub960 6-003d: client 0x10 not mapped!
    -- 
    10: [ 1007.689392] ds90ub960 6-003d: client 0x11 not mapped!
    -- [ 1007.695205] ds90ub960 6-003d: client 0x12 not mapped!
    -- [ 1007.700506] ds90ub960 6-003d: client 0x13 not mapped!
    -- [ 1007.705808] ds90ub960 6-003d: client 0x14 not mapped!
    -- [ 1007.711107] ds90ub960 6-003d: client 0x15 not mapped!
    -- [ 1007.716404] ds90ub960 6-003d: client 0x16 not mapped!
    -- [ 1007.721706] ds90ub960 6-003d: client 0x17 not mapped!
    -- [ 1007.727009] ds90ub960 6-003d: client 0x18 not mapped!
    -- [ 1007.732349] ds90ub960 6-003d: client 0x19 not mapped!
    -- [ 1007.737629] ds90ub960 6-003d: client 0x1b not mapped!
    -- UU [ 1007.742935] ds90ub960 6-003d: client 0x1c not mapped!
    -- [ 1007.748478] ds90ub960 6-003d: client 0x1d not mapped!
    -- [ 1007.753836] ds90ub960 6-003d: client 0x1e not mapped!
    -- [ 1007.759073] ds90ub960 6-003d: client 0x1f not mapped!
    -- [ 1007.764386] ds90ub960 6-003d: client 0x20 not mapped!
    -- 
    20: [ 1007.769672] ds90ub960 6-003d: client 0x21 not mapped!
    -- [ 1007.775494] ds90ub960 6-003d: client 0x22 not mapped!
    -- [ 1007.780789] ds90ub960 6-003d: client 0x23 not mapped!
    -- [ 1007.786093] ds90ub960 6-003d: client 0x24 not mapped!
    -- [ 1007.791388] ds90ub960 6-003d: client 0x25 not mapped!
    -- [ 1007.796689] ds90ub960 6-003d: client 0x26 not mapped!
    -- [ 1007.801984] ds90ub960 6-003d: client 0x27 not mapped!
    -- [ 1007.807285] ds90ub960 6-003d: client 0x28 not mapped!
    -- [ 1007.812580] ds90ub960 6-003d: client 0x29 not mapped!
    -- [ 1007.817881] ds90ub960 6-003d: client 0x2a not mapped!
    -- [ 1007.823177] ds90ub960 6-003d: client 0x2b not mapped!
    -- [ 1007.828493] ds90ub960 6-003d: client 0x2c not mapped!
    -- [ 1007.833776] ds90ub960 6-003d: client 0x2d not mapped!
    -- [ 1007.839078] ds90ub960 6-003d: client 0x2e not mapped!
    -- [ 1007.844373] ds90ub960 6-003d: client 0x2f not mapped!
    -- [ 1007.849686] ds90ub960 6-003d: client 0x30 not mapped!
    -- 
    30: [ 1007.854984] ds90ub960 6-003d: client 0x31 not mapped!
    -- [ 1007.860803] ds90ub960 6-003d: client 0x32 not mapped!
    -- [ 1007.866093] ds90ub960 6-003d: client 0x33 not mapped!
    -- [ 1007.871393] ds90ub960 6-003d: client 0x34 not mapped!
    -- [ 1007.876688] ds90ub960 6-003d: client 0x35 not mapped!
    -- [ 1007.881989] ds90ub960 6-003d: client 0x36 not mapped!
    -- [ 1007.887292] ds90ub960 6-003d: client 0x37 not mapped!
    -- [ 1007.892590] ds90ub960 6-003d: client 0x38 not mapped!
    -- [ 1007.897886] ds90ub960 6-003d: client 0x39 not mapped!
    -- [ 1007.903185] ds90ub960 6-003d: client 0x3a not mapped!
    -- [ 1007.908482] ds90ub960 6-003d: client 0x3b not mapped!
    -- [ 1007.913785] ds90ub960 6-003d: client 0x3c not mapped!
    -- [ 1007.919106] ds90ub960 6-003d: client 0x3d not mapped!
    -- [ 1007.924387] ds90ub960 6-003d: client 0x3e not mapped!
    -- [ 1007.929681] ds90ub960 6-003d: client 0x3f not mapped!
    -- [ 1007.934988] ds90ub960 6-003d: client 0x40 not mapped!
    -- 
    40: [ 1007.940278] ds90ub960 6-003d: client 0x41 not mapped!
    -- [ 1007.946098] ds90ub960 6-003d: client 0x42 not mapped!
    -- [ 1007.951401] ds90ub960 6-003d: client 0x43 not mapped!
    -- [ 1007.956698] ds90ub960 6-003d: client 0x44 not mapped!
    -- [ 1007.961994] ds90ub960 6-003d: client 0x45 not mapped!
    -- [ 1007.967296] ds90ub960 6-003d: client 0x46 not mapped!
    -- [ 1007.972593] ds90ub960 6-003d: client 0x47 not mapped!
    -- [ 1007.977895] ds90ub960 6-003d: client 0x48 not mapped!
    -- [ 1007.983192] ds90ub960 6-003d: client 0x49 not mapped!
    -- [ 1007.988493] ds90ub960 6-003d: client 0x4a not mapped!
    -- [ 1007.993790] ds90ub960 6-003d: client 0x4b not mapped!
    -- [ 1007.999091] ds90ub960 6-003d: client 0x4c not mapped!
    -- [ 1008.004386] ds90ub960 6-003d: client 0x4d not mapped!
    -- [ 1008.009688] ds90ub960 6-003d: client 0x4e not mapped!
    -- [ 1008.014989] ds90ub960 6-003d: client 0x4f not mapped!
    -- [ 1008.020292] ds90ub960 6-003d: client 0x50 not mapped!
    -- 
    50: [ 1008.025585] ds90ub960 6-003d: client 0x51 not mapped!
    -- [ 1008.031405] ds90ub960 6-003d: client 0x52 not mapped!
    -- [ 1008.036708] ds90ub960 6-003d: client 0x53 not mapped!
    -- [ 1008.042010] ds90ub960 6-003d: client 0x54 not mapped!
    -- [ 1008.047301] ds90ub960 6-003d: client 0x55 not mapped!
    -- [ 1008.052607] ds90ub960 6-003d: client 0x56 not mapped!
    -- [ 1008.057909] ds90ub960 6-003d: client 0x57 not mapped!
    -- [ 1008.063211] ds90ub960 6-003d: client 0x58 not mapped!
    -- [ 1008.068503] ds90ub960 6-003d: client 0x59 not mapped!
    -- [ 1008.073810] ds90ub960 6-003d: client 0x5a not mapped!
    -- [ 1008.079105] ds90ub960 6-003d: client 0x5b not mapped!
    -- [ 1008.084408] ds90ub960 6-003d: client 0x5c not mapped!
    -- [ 1008.089701] ds90ub960 6-003d: client 0x5d not mapped!
    -- [ 1008.095003] ds90ub960 6-003d: client 0x5e not mapped!
    -- [ 1008.100298] ds90ub960 6-003d: client 0x5f not mapped!
    -- [ 1008.105608] ds90ub960 6-003d: client 0x60 not mapped!
    -- 
    60: [ 1008.110897] ds90ub960 6-003d: client 0x61 not mapped!
    -- [ 1008.116717] ds90ub960 6-003d: client 0x62 not mapped!
    -- [ 1008.122013] ds90ub960 6-003d: client 0x63 not mapped!
    -- [ 1008.127314] ds90ub960 6-003d: client 0x64 not mapped!
    -- [ 1008.132614] ds90ub960 6-003d: client 0x65 not mapped!
    -- [ 1008.137911] ds90ub960 6-003d: client 0x66 not mapped!
    -- [ 1008.143213] ds90ub960 6-003d: client 0x67 not mapped!
    -- [ 1008.148513] ds90ub960 6-003d: client 0x68 not mapped!
    -- [ 1008.153810] ds90ub960 6-003d: client 0x69 not mapped!
    -- [ 1008.159110] ds90ub960 6-003d: client 0x6a not mapped!
    -- [ 1008.164404] ds90ub960 6-003d: client 0x6b not mapped!
    -- [ 1008.169704] ds90ub960 6-003d: client 0x6c not mapped!
    -- [ 1008.175001] ds90ub960 6-003d: client 0x6d not mapped!
    -- [ 1008.180304] ds90ub960 6-003d: client 0x6e not mapped!
    -- [ 1008.185599] ds90ub960 6-003d: client 0x6f not mapped!
    -- [ 1008.190907] ds90ub960 6-003d: client 0x70 not mapped!
    -- 
    70: [ 1008.196202] ds90ub960 6-003d: client 0x71 not mapped!
    -- [ 1008.202019] ds90ub960 6-003d: client 0x72 not mapped!
    -- [ 1008.207316] ds90ub960 6-003d: client 0x73 not mapped!
    -- [ 1008.212617] ds90ub960 6-003d: client 0x74 not mapped!
    -- [ 1008.217912] ds90ub960 6-003d: client 0x75 not mapped!
    -- [ 1008.223214] ds90ub960 6-003d: client 0x76 not mapped!
    -- [ 1008.228510] ds90ub960 6-003d: client 0x77 not mapped!
    -- --                         
    

    此致、

    Kathy

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

    尊敬的 Kathy:

    第一个错误日志、我认为这只是一个坏的管道、因此不指示问题。 这是我的错。 要么 fakesink 不喜欢 Bayer 格式,要么不喜欢 io-mode=dmabuf-import ,这导致了一些协商问题。  

    但是、您的第二个日志更有趣、这表明 解串器和/或摄像头存在潜在问题。 您能否共享 “dmesg"中“中的完整引导日志以查看初始化解串器或摄像头时是否出现错误?

    此致、

    Takuma

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

    尊敬的 Kathy:

    感谢您分享日志和 DTS。 到目前为止、我没有看到任何看起来不合适的东西。  

    回顾您之前的日志、我确实注意到已探测到 I2C 总线 10。 在探测 6 号和 7 号总线时、您是否看到相同的错误? 浏览 dmesg 日志、我认为这些日志与解串器相关。

    此致、

    Takuma

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

    尊敬的 Takuma:

    我尝试调用 i2cdetect 总线 5 和 6、没有如下所示的错误

    root@tda4vm-sk:/opt/edgeai-gst-apps# i2cdetect -r -y 5
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:                         -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- --
    40: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: UU -- -- -- -- -- -- --
    root@tda4vm-sk:/opt/edgeai-gst-apps# i2cdetect -r -y 6
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:                         -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- --
    40: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: UU -- -- -- -- -- -- --
    

    它正常工作、并探测正常、但如果我转储 0x44 和 0x3D、它会告诉我“错误:无法将地址设置为 0x3D:器件或资源繁忙“

    我们的硬件安装方法如图所示

    此致、

    Kathy

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

    尊敬的 Kathy:

    "错误“错误:无法将地址设置为 0x3D:设备或资源繁忙“

    这些日志应该没有问题。 这仅意味着 Linux 内核可以控制这些 I2C 地址、这意味着解串器已初始化。 除了日志之外、似乎 从 Linux 内核的角度而言、摄像头和解串器都已正确配置。

    因此、不同的想法是、配置摄像头时可能缺少一些步骤?

    我建议浏览此常见问题解答: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1403218/faq-what-are-the-common-reasons-v4l2-based-applications-fail-to-capture-images-from-a-probed-csi-sensor

    上述常见问题解答也适用于 SK-TDA4VM。 可能是 media-ctl 命令需要手动运行。 常见问题解答中还有其他一些疑难解答信息、因此我认为很适合介绍一下。

    此致、

    Takuma

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

    尊敬的 Takuma:

    我真的很抱歉打扰你这么多。 我们尝试检查这里的每个节点以进行确认、还更改了视频节点。 使用所有视频节点的结果仍然相同、因此我假设需要检查硬件配置。 我是否需要了解有关 ds90ub960q1-EVM 硬件配置的任何信息?

    此致、

    Kathy

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

    尊敬的 Kathy:

    是否可以共享“media-ctl -p“中的日志、以便我也可以重复检查以防万一?

    至于硬件、是否需要为正在使用的解串器电路板提供外部电源? 我知道有多个版本的解串器电路板、它们需要外部电源上电、本常见问题解答中介绍了一个上电顺序: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1452909/faq-am67a-enabling-csi2-sensors-via-fusion-board-on-am6x

    我在上面的常见问题解答中使用了名为“Fusion 1 子板“的电路板、我的理解是、如果解串器板未先通电、可能会导致 I2C 地址发生变化。 这是因为 I2C 地址取决于解串器板上其中一个引脚的电压电平、首先为 SK 板上电会导致 SK 板错误地看到解串器板的 I2C 地址为非预期值。 由于您可以在正确的位置看到 I2C 地址、因此我怀疑是否发生了这种情况、但无论如何、最好检查是否需要外部电源。

    此致、

    Takuma

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

    尊敬的 Takuma:

    下面是 media-ctl 提供的结果  

    root@tda4vm-sk:/opt/edgeai-gst-apps/apps_cpp# media-ctl -p
    Media controller API version 6.6.44
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial
    bus info        platform:4500000.ticsi2rx
    hw revision     0x1
    driver version  6.6.44
    
    Device topology
    - entity 1: 4500000.ticsi2rx (17 pads, 17 links, 1 route)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev0
            routes:
                    0/0 -> 2/0 [ACTIVE]
            pad0: Sink
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    <- "cdns_csi2rx.4504000.csi-bridge":1 [ENABLED,IMMUTABLE]
            pad1: Source
                    -> "4500000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
            pad2: Source
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    -> "4500000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
            pad3: Source
                    -> "4500000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
            pad4: Source
                    -> "4500000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
            pad5: Source
                    -> "4500000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
            pad6: Source
                    -> "4500000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE]
            pad7: Source
                    -> "4500000.ticsi2rx context 6":0 [ENABLED,IMMUTABLE]
            pad8: Source
                    -> "4500000.ticsi2rx context 7":0 [ENABLED,IMMUTABLE]
            pad9: Source
                    -> "4500000.ticsi2rx context 8":0 [ENABLED,IMMUTABLE]
            pad10: Source
                    -> "4500000.ticsi2rx context 9":0 [ENABLED,IMMUTABLE]
            pad11: Source
                    -> "4500000.ticsi2rx context 10":0 [ENABLED,IMMUTABLE]
            pad12: Source
                    -> "4500000.ticsi2rx context 11":0 [ENABLED,IMMUTABLE]
            pad13: Source
                    -> "4500000.ticsi2rx context 12":0 [ENABLED,IMMUTABLE]
            pad14: Source
                    -> "4500000.ticsi2rx context 13":0 [ENABLED,IMMUTABLE]
            pad15: Source
                    -> "4500000.ticsi2rx context 14":0 [ENABLED,IMMUTABLE]
            pad16: Source
                    -> "4500000.ticsi2rx context 15":0 [ENABLED,IMMUTABLE]
    
    - entity 19: cdns_csi2rx.4504000.csi-bridge (5 pads, 2 links, 1 route)
                 type V4L2 subdev subtype Unknown flags 0
                 device node name /dev/v4l-subdev1
            routes:
                    0/0 -> 1/0 [ACTIVE]
            pad0: Sink
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    <- "ds90ub960 6-003d":4 [ENABLED,IMMUTABLE]
            pad1: Source
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    -> "4500000.ticsi2rx":0 [ENABLED,IMMUTABLE]
            pad2: Source
            pad3: Source
            pad4: Source
    
    - entity 25: ds90ub960 6-003d (6 pads, 2 links, 1 route)
                 type V4L2 subdev subtype Unknown flags 0
                 device node name /dev/v4l-subdev2
            routes:
                    0/0 -> 4/0 [ACTIVE]
            pad0: Sink
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    <- "ds90ub953 6-0044":1 [ENABLED,IMMUTABLE]
            pad1: Sink
            pad2: Sink
            pad3: Sink
            pad4: Source
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    -> "cdns_csi2rx.4504000.csi-bridge":0 [ENABLED,IMMUTABLE]
            pad5: Source
    
    - entity 34: ds90ub953 6-0044 (2 pads, 2 links, 1 route)
                 type V4L2 subdev subtype Unknown flags 0
                 device node name /dev/v4l-subdev3
            routes:
                    0/0 -> 1/0 [ACTIVE]
            pad0: Sink
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    <- "imx390 9-001a":0 [ENABLED,IMMUTABLE]
            pad1: Source
                    [stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
                    -> "ds90ub960 6-003d":0 [ENABLED,IMMUTABLE]
    
    - entity 39: imx390 9-001a (1 pad, 1 link, 2 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev4
            routes:
                    0/0 -> 0/0 [ACTIVE]
                    0/0 -> 0/1 [INACTIVE]
            pad0: Source
                    [stream:0 fmt:SRGGB12_1X12/1936x1100@1/30 field:none colorspace:smpte170m]
                    -> "ds90ub953 6-0044":0 [ENABLED,IMMUTABLE]
    
    - entity 45: 4500000.ticsi2rx context 0 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video2
            pad0: Sink
                    <- "4500000.ticsi2rx":1 [ENABLED,IMMUTABLE]
    
    - entity 51: 4500000.ticsi2rx context 1 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video3
            pad0: Sink
                    <- "4500000.ticsi2rx":2 [ENABLED,IMMUTABLE]
    
    - entity 57: 4500000.ticsi2rx context 2 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video4
            pad0: Sink
                    <- "4500000.ticsi2rx":3 [ENABLED,IMMUTABLE]
    
    - entity 63: 4500000.ticsi2rx context 3 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video5
            pad0: Sink
                    <- "4500000.ticsi2rx":4 [ENABLED,IMMUTABLE]
    
    - entity 69: 4500000.ticsi2rx context 4 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video6
            pad0: Sink
                    <- "4500000.ticsi2rx":5 [ENABLED,IMMUTABLE]
    
    - entity 75: 4500000.ticsi2rx context 5 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video7
            pad0: Sink
                    <- "4500000.ticsi2rx":6 [ENABLED,IMMUTABLE]
    
    - entity 81: 4500000.ticsi2rx context 6 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video8
            pad0: Sink
                    <- "4500000.ticsi2rx":7 [ENABLED,IMMUTABLE]
    
    - entity 87: 4500000.ticsi2rx context 7 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video9
            pad0: Sink
                    <- "4500000.ticsi2rx":8 [ENABLED,IMMUTABLE]
    
    - entity 93: 4500000.ticsi2rx context 8 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video10
            pad0: Sink
                    <- "4500000.ticsi2rx":9 [ENABLED,IMMUTABLE]
    
    - entity 99: 4500000.ticsi2rx context 9 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video11
            pad0: Sink
                    <- "4500000.ticsi2rx":10 [ENABLED,IMMUTABLE]
    
    - entity 105: 4500000.ticsi2rx context 10 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video12
            pad0: Sink
                    <- "4500000.ticsi2rx":11 [ENABLED,IMMUTABLE]
    
    - entity 111: 4500000.ticsi2rx context 11 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video13
            pad0: Sink
                    <- "4500000.ticsi2rx":12 [ENABLED,IMMUTABLE]
    
    - entity 117: 4500000.ticsi2rx context 12 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video14
            pad0: Sink
                    <- "4500000.ticsi2rx":13 [ENABLED,IMMUTABLE]
    
    - entity 123: 4500000.ticsi2rx context 13 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video15
            pad0: Sink
                    <- "4500000.ticsi2rx":14 [ENABLED,IMMUTABLE]
    
    - entity 129: 4500000.ticsi2rx context 14 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video16
            pad0: Sink
                    <- "4500000.ticsi2rx":15 [ENABLED,IMMUTABLE]
    
    - entity 135: 4500000.ticsi2rx context 15 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video17
            pad0: Sink
                    <- "4500000.ticsi2rx":16 [ENABLED,IMMUTABLE]
    

    我们有一个过程是首先启动融合板、然后启动 sk-tda4vm。  
    但问题仍然存在(使用 v4l2-ctl -D3 --set-fmt-video=width=1936、height=1100、pixelformat=RG12 --stream-mmap 没有数据流)

    根据我的理解、i2c 设置可能存在一些小问题。 UB960 通道是否可能设置不正确? 除了 0x4C 设置外、是否还需要更改其他寄存器位置?

    此致、

    Kathy

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

    尊敬的 Kathy:

    如果担心 UB960 上的某些寄存器未设置、我建议使用 UB960 器件型号创建新主题、以便将其路由到我们的解串器团队。 我假设寄存器配置正确、因为驱动程序已被其他客户充分使用、所以应该相当成熟。 不过、您可以随时向解串器团队发布另一个问题。

    另一方面、与其他一些故障排除方法一样:

    • 您能否发布“v4l2-ctl --all“中的输出?
    • 您能否发布 v4l2-ctl -d3 --set-fmt-video 的输出 ---stream-mmap 命令在最新的文章中提到? 如果根本没有日志、这是很好的信息。

    此致、

    Takuma

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

    尊敬的 Takuma:

    root@tda4vm-sk:/opt/edgeai-gst-apps/apps_python# v4l2-ctl --all
    Driver Info:[   54.643331] img_dec 4300000.video-decoder: get_header_info Next src buffer is null
    
            Driver name      : vxd-dec
            Card type        : vxd-dec
            Bus info         : platform:vxd-dec
            Driver version   : 6.6.44
            Capabilities     : 0x84204000
                    Video Memory-to-Memory Multiplanar
                    Streaming
                    Extended Pix Format
                    Device Capabilities
            Device Caps      : 0x04204000
                    Video Memory-to-Memory Multiplanar
                    Streaming
                    Extended Pix Format
    Priority: 2
    Format Video Capture Multiplanar:
            Width/Height      : 0/0
            Pixel Format      : 'NV12' (Y/UV 4:2:0)
            Field             : None
            Number of planes  : 1
            Flags             :
            Colorspace        : Default
            Transfer Function : Default
            YCbCr/HSV Encoding: Default
            Quantization      : Default
            Plane 0           :
               Bytes per Line : 0
               Size Image     : 0
    Format Video Output Multiplanar:
            Width/Height      : 0/0
            Pixel Format      : 'NV12'
            Field             : None
            Number of planes  : 1
            Flags             :
            Colorspace        : Default
            Transfer Function : Default
            YCbCr/HSV Encoding: Default
            Quantization      : Default
            Plane 0           :
               Bytes per Line : 0
               Size Image     : 2073600
    Selection Video Capture: compose, Left 0, Top 0, Width 0, Height 0, Flags:
    Selection Video Capture: compose_default, Left 0, Top 0, Width 0, Height 0, Flags:
    Selection Video Capture: compose_bounds, Left 0, Top 0, Width 0, Height 0, Flags:
    Selection Video Capture: compose_padded, Left 0, Top 0, Width 0, Height 0, Flags:
    
    User Controls
    
            max_dec_frame_buffering 0x00981901 (int)    : min=0 max=16 step=1 default=0 value=0
              display_pipeline_size 0x00981902 (int)    : min=0 max=6 step=1 default=3 value=3
           img_extra_decode_buffers 0x00981903 (int)    : min=-1 max=3 step=1 default=-1 value=-1
          override_spec_dpb_buffers 0x00981904 (int)    : min=-1 max=16 step=1 default=-1 value=-1
    

    命令: v4l2-ctl -D3 --set-fmt-video=width=1936、height=1100、pixelformat=RG12 --stream-mmap 这里没有日志。

    此致、

    Kathy

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

    尊敬的 Kathy:

    我没有与 TDA4VM-SK 兼容的融合板、但我发现有一个与类似器件 AM69-SK 兼容的融合板。 下面是日志、它看起来功能正常:

    root@am69-sk:/opt/edgeai-gst-apps# v4l2-ctl -d /dev/video-imx390-cam0 --set-fmt-video=width=1936,height=1100,pixelformat=RG12      --stream-mmap --stream-count=10 --stream-to=/dev/null --verbose
    VIDIOC_QUERYCAP: ok
    VIDIOC_G_FMT: ok
    VIDIOC_S_FMT: ok
    Format Video Capture:
            Width/Height      : 1936/1100
            Pixel Format      : 'RG12' (12-bit Bayer RGRG/GBGB)
            Field             : None
            Bytes per Line    : 3872
            Size Image        : 4259200
            Colorspace        : Default
            Transfer Function : Default (maps to Rec. 709)
            YCbCr/HSV Encoding: Default (maps to ITU-R 601)
            Quantization      : Default (maps to Full Range)
            Flags             :
                    VIDIOC_REQBUFS returned 0 (Success)
                    VIDIOC_QUERYBUF returned 0 (Success)
                    VIDIOC_QUERYBUF returned 0 (Success)
                    VIDIOC_QUERYBUF returned 0 (Success)
                    VIDIOC_QUERYBUF returned 0 (Success)
                    VIDIOC_G_FMT returned 0 (Success)
                    VIDIOC_QBUF returned 0 (Success)
                    VIDIOC_QBUF returned 0 (Success)
                    VIDIOC_QBUF returned 0 (Success)
                    VIDIOC_QBUF returned 0 (Success)
                    VIDIOC_STREAMON returned 0 (Success)
    cap dqbuf: 0 seq:      0 bytesused: 4259200 ts: 111.827353 field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 1 seq:      1 bytesused: 4259200 ts: 111.860641 delta: 33.288 ms field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 2 seq:      2 bytesused: 4259200 ts: 111.893939 delta: 33.298 ms field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 3 seq:      3 bytesused: 4259200 ts: 111.927239 delta: 33.300 ms field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 0 seq:      4 bytesused: 4259200 ts: 111.960538 delta: 33.299 ms fps: 30.03 field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 1 seq:      5 bytesused: 4259200 ts: 111.993837 delta: 33.299 ms fps: 30.03 field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 2 seq:      6 bytesused: 4259200 ts: 112.027139 delta: 33.302 ms fps: 30.03 field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 3 seq:      7 bytesused: 4259200 ts: 112.060436 delta: 33.297 ms fps: 30.03 field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 0 seq:      8 bytesused: 4259200 ts: 112.093735 delta: 33.299 ms fps: 30.03 field: Any (ts-monotonic, ts-src-eof)
    cap dqbuf: 1 seq:      9 bytesused: 4259200 ts: 112.127034 delta: 33.299 ms fps: 30.03 field: Any (ts-monotonic, ts-src-eof)
    
    root@am69-sk:/opt/edgeai-gst-apps#
    

    因此、我不知道为什么摄像头流会暂停。

    您可以尝试手动运行 setup_cameras.sh 脚本并共享日志吗?

    它应位于/opt/edgeai-gst-apps/scripts/setup_cameras.sh 中。 预期输出为:

    root@am69-sk:/opt/edgeai-gst-apps/scripts# /opt/edgeai-gst-apps/scripts/setup_cameras.sh
    IMX390 Camera 0 detected
        device = /dev/video-imx390-cam0
        name = imx390
        format = [fmt:SRGGB12_1X12/1936x1100 field: none]
        subdev_id = /dev/v4l-imx390-subdev0
        isp_required = yes
        ldc_required = yes
    root@am69-sk:/opt/edgeai-gst-apps/scripts#
    

    此致、

    Takuma

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

    尊敬的 Takuma:


    root@tda4vm-sk:/opt/edgeai-gst-apps ./scripts/setup_cameras.sh
    检测到 IMX390 摄像头 0
    Device =/dev/video-imx390-cam0
    名称= imx390
    格式=[fmt:SRGGB12_1x12/1936x1100 字段:无]
    subdev_id =/dev/v4l-imx390-subdev0
    ISP_Required =是
    LDC_REQUIRED =是

    输出与上述相同。

    此致、

    Kathy

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

    尊敬的 Kathy:

    感谢您的日志。 和预期的一样。 到目前为止、似乎没有什么特别的。 到目前为止、我们所看到的一切都看起来很好、摄像头应该能正常工作。

    我目前想问一些人、 是否可以  在本地获取 DS90UB960Q1-EVM、以便复制您的确切硬件设置。 到目前为止、我找不到该精确的板。 不过、也有很多具有 DS90UB960 的不同电路板、比如我在上一篇回复中使用的 Arducam 的“微型融合“电路板。 因此,可能需要一两周的时间来订购和获得相同的董事会。

    同时、在 v4l2-ctl 和 gstreamer 实验中指定器件时、您是否可以尝试使用符号链接/dev/video-imx390-cam0 而不是视频编号? 看起来您在 v4l2-ctl 的最新日志中使用了正确的设备编号、但最好进行检查、以防万一、因为视频设备编号的更改是我们在设置符号链接之前遇到的常见问题。

    此致、

    Takuma  

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

    尊敬的 Takuma:

    感谢您的更新、感谢您花时间查看日志。

    DS90UB960Q1-EVM 可用性的相关信息。 感谢您努力尽可能地复制硬件设置。 在此期间、我将继续在我这边进行测试。

    我还会按照您的建议、在我使用 v4l2-ctl 和 gstreamer 进行实验中尝试使用符号链接/dev/video-imx390-cam0。 这是有道理的、务必谨慎处理器件枚举问题。

    如果我发现任何异常或有任何更新、我会让您保持发布。

    此致、
    Kathy

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

    尊敬的 Kathy:

    谢谢你的耐心,同样,我会让你发布的任何更新,我在我身边.

    此致、

    Takuma

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

    尊敬的 Kathy:

    我联系了我们的 FPD Link 小组、他们愿意查看这个问题。 要将该问题发送给他们、您能否“提出相关问题“并使用 DS90UB960Q1-EVM 作为器件型号来创建一个新的 E2E 工单?

    此致、

    Takuma

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

    尊敬的 Takuma:

    非常感谢您在跟进我的问题并建议适当的后续步骤方面提供的帮助。 我已建议在 Interface/FPD-Link 论坛下创建了一个新的 E2E 主题、如下所示:

    https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1525622/ds90ub960-q1evm-unable-to-bring-up-imx390-camera-using-sk-tda4vm-and-ds90ub960


    此致、
    Kathy

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

    尊敬的 Kathy:

    好的。  

    此致、

    Takuma