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.

[参考译文] TDA4VM:[TDA4VM-SK]将摄像头模块 3 集成到 Linux SDK (11.00.00.08)

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1617827/tda4vm-tda4vm-sk-integrating-camera-module-3-to-linux-sdk-11-00-00-08

器件型号: TDA4VM

尊敬的团队:

我们已下载 Linux Processor SDK 11.00.00.08、并且能够刷写目标并查看边缘 AI 库。 该 SDK 支持 Raspberry Camer 模块 2 (imx219)、但我们希望集成 Raspberry 摄像头模块 3 (imx708)。 是否有任何应用手册或如何指导如何集成到 Linux SDK 中?  

请同样指导我们。

此致、

Soorya

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

    尊敬的 Soorya Prakash Sakthivel

    有一个关于安装并运行新传感器的应用手册: https://www.ti.com/lit/an/spradh2a/spradh2a.pdf 

    此致、
    Jared

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

    您好 Jared McArthur 

    感谢分享本应用手册。 我按照程序操作并刷写到 SD 卡中。

    但 imx708 传感器未被正确检测到、相关的引导日志

    [ 10.931317]/bus@10000/i2c@2030000/i2c-mux@70/i2c@1/imx708-1@10:/bus@10000/ticsi2rx@4510000/CSI 桥@4514000 时的固定依赖周期
    [ 10.947100]/bus@10000/ticsi2rx@4510000/CSI 桥@4514000:固定依赖周期、其中/bus@10000/i2c@2030000/i2c-mux@70/i2c@1/imx708-1@10
    [ 10.962547] k3-DSP-rproc 64800000.dsp:分配了保留的存储器节点 vision-apps-C71-dma-memory@b2000000
    [ 10.969017] CDN - csi2rx 4514000.CSI 桥接器:已探测具有 2/4 个通道、4 个流和外部 D-PHY 的 CSI2RX
    [ 10.981133] k3-DSP-rproc 64800000.dsp:配置的 DSP 用于仅 IPC 模式
    [ 10.987991] Remoteproc Remoteproc4:64800000.dsp 可用
    [ 10.994270] Remoteproc Remoteproc4:连接到 64800000.dsp

    PFA dtso 文件我用于 imx708 在 zip
    e2e.ti.com/.../imx708.zip

    此致、

    Soorya

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

    尊敬的 Soorya Prakash Sakthivel

    [10.931317]/bus@10000/i2c@2030000/i2c-mux@70/i2c@1/imx708-1@10:/bus@10000/ticsi2rx@4510000/CSI-bridge@4514000 的固定依赖周期
    [ 10.947100]/bus@10000/ticsi2rx@4510000/CSI 桥@4514000:固定依赖周期、其中/bus@10000/i2c@2030000/i2c-mux@70/i2c@1/imx708-1@10
    [ 10.962547] k3-DSP-rproc 64800000.dsp:分配了保留的存储器节点 vision-apps-C71-dma-memory@b2000000
    [ 10.969017] CDN - csi2rx 4514000.CSI 桥接器:已探测具有 2/4 个通道、4 个流和外部 D-PHY 的 CSI2RX
    [ 10.981133] k3-DSP-rproc 64800000.dsp:配置的 DSP 用于仅 IPC 模式
    [ 10.987991] Remoteproc Remoteproc4:64800000.dsp 可用
    [ 10.994270] Remoteproc Remoteproc4:连接到 64800000.dsp

    这些日志似乎不是问题。

    如果运行 i2cdetect -y -r 您是否看到了 imx708 应该是的“U"?“?

    如果您运行 lsmod、是否显示 imx708?

    media-ctl -p 的输出是什么?

    此致、
    Jared

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

    i2cdetect -y -r 5(我将 imx708 reg 配置为 1a,可以看到内核驱动程序未声明它)

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

    lsmod 无法检测 imx708、如下所示

    root@tda4vm-sk:/opt/edgeai-gst-apps# lsmod
    Module                  Size  Used by
    onboard_usb_dev        20480  0
    rpmsg_ctrl             12288  0
    rpmsg_char     im        20480  1 rpmsg_ctrl
    cdns3                  40960  0
    pru_rproc              20480  0
    irq_pruss_intc         12288  0
    cdns_usb_common        20480  1 cdns3
    crct10dif_ce           12288  1
    mux_gpio               12288  0
    ti_tfp410              12288  0
    display_connector      12288  0
    phy_can_transceiver    12288  4
    omap_mailbox           12288  9
    omap_hwspinlock        12288  0
    ti_k3_r5_remoteproc    24576  0
    overlay               139264  0
    j721e_csi2rx           24576  0
    cdns_csi2rx            16384  3 j721e_csi2rx
    videobuf2_dma_contig    16384  1 j721e_csi2rx
    videobuf2_v4l2         28672  1 j721e_csi2rx
    tidss                  65536  0
    cdns_mhdp8546          36864  0
    videobuf2_memops       12288  1 videobuf2_dma_contig
    videobuf2_common       57344  4 j721e_csi2rx,videobuf2_dma_contig,videobuf2_v4l2,videobuf2_memops
    drm_dma_helper         20480  1 tidss
    at24                   24576  0
    drm_display_helper    172032  2 cdns_mhdp8546,tidss
    v4l2_fwnode            20480  1 cdns_csi2rx
    pci_endpoint_test      16384  0
    drm_kms_helper        180224  6 drm_dma_helper,display_connector,cdns_mhdp8546,drm_display_helper,tidss,ti_tfp410
    v4l2_async             20480  3 v4l2_fwnode,j721e_csi2rx,cdns_csi2rx
    k3_j72xx_bandgap       12288  0
    pruss                  16384  1 pru_rproc
    videodev              253952  5 v4l2_async,v4l2_fwnode,j721e_csi2rx,videobuf2_v4l2,cdns_csi2rx
    ti_k3_dsp_remoteproc    12288  0
    cdns_dphy_rx           12288  0
    mc                     57344  6 v4l2_async,videodev,j721e_csi2rx,videobuf2_v4l2,cdns_csi2rx,videobuf2_common
    ti_k3_common           20480  1 ti_k3_dsp_remoteproc
    m_can_platform         12288  0
    sa2ul                  32768  0
    bluetooth             516096  2
    m_can                  32768  1 m_can_platform
    cdns3_ti               12288  0
    can_dev                40960  1 m_can
    ecdh_generic           16384  1 bluetooth
    cfg80211              413696  0
    ecc                    36864  1 ecdh_generic
    rfkill                 28672  3 bluetooth,cfg80211
    rti_wdt                12288  0
    fuse                  139264  1
    drm                   552960  8 drm_kms_helper,drm_dma_helper,display_connector,cdns_mhdp8546,drm_display_helper,tidss,ti_tfp410
    drm_panel_orientation_quirks    28672  1 drm
    backlight              20480  2 drm_display_helper,drm
    ipv6                  475136  34
    

    media-ctl -p 日志

    root@tda4vm-sk:/opt/edgeai-gst-apps# media-ctl -p
    Media controller API version 6.12.17
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial
    bus info        platform:4500000.ticsi2rx
    hw revision     0x1
    driver version  6.12.17
    
    Device topology
    - entity 1: 4500000.ticsi2rx (17 pads, 0 link, 0 routes)
                type V4L2 subdev subtype Unknown flags 0
            pad0: SINK
            pad1: SOURCE
            pad2: SOURCE
            pad3: SOURCE
            pad4: SOURCE
            pad5: SOURCE
            pad6: SOURCE
            pad7: SOURCE
            pad8: SOURCE
            pad9: SOURCE
            pad10: SOURCE
            pad11: SOURCE
            pad12: SOURCE
            pad13: SOURCE
            pad14: SOURCE
            pad15: SOURCE
            pad16: SOURCE
    
    - entity 19: cdns_csi2rx.4504000.csi-bridge (5 pads, 0 link, 0 routes)
                 type V4L2 subdev subtype Unknown flags 0
            pad0: SINK
            pad1: SOURCE
            pad2: SOURCE
            pad3: SOURCE
            pad4: SOURCE
    

    dtso 文件中是否存在错误? 我随附了 dtso 文件以供参考

    e2e.ti.com/.../k3_2D00_j721e_2D00_sk_2D00_csi2_2D00_imx708.zip

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

    尊敬的 Soorya Prakash Sakthivel

    您是否已将器件树叠加层添加到 uEnv.txt?

    您需要将其添加到 name_overlays 变量中:

    name_overlays=ti/k3-j721e-sk-csi2-imx708.dtbo

    您还可以检查 imx708 是否显示在/proc/device-tree 中:

    $ cd /proc/device-tree/
    $ find -name *imx*

    此致、
    Jared

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

    你好 Jared McArthur ,

    驱动程序文件 imx708.c 文件在编译时没有正确包含,修复了,但仍然无法在 edge ai 库的自定义相机选项中查看相机

    从地址 1a 正确绑定到内核驱动程序

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

    lsmod 正确检测 imx708

    root@tda4vm-sk:/opt/edgeai-gst-apps# lsmod
    Module                  Size  Used by
    onboard_usb_dev        20480  0
    rpmsg_ctrl             12288  0
    rpmsg_char             20480  1 rpmsg_ctrl
    irq_pruss_intc         12288  0
    pru_rproc              20480  0
    cdns3                  40960  0
    cdns_usb_common        20480  1 cdns3
    crct10dif_ce           12288  1
    mux_gpio               12288  0
    ti_tfp410              12288  0
    display_connector      12288  0
    phy_can_transceiver    12288  4
    omap_mailbox           12288  9
    omap_hwspinlock        12288  0
    ti_k3_r5_remoteproc    24576  0
    overlay               139264  0
    tidss                  65536  1
    cdns_mhdp8546          36864  0
    at24                   24576  0
    drm_dma_helper         20480  3 tidss
    j721e_csi2rx           24576  0
    k3_j72xx_bandgap       12288  0
    pruss                  16384  1 pru_rproc
    cdns_csi2rx            16384  3 j721e_csi2rx
    drm_display_helper    172032  2 cdns_mhdp8546,tidss
    videobuf2_dma_contig    16384  1 j721e_csi2rx
    cfg80211              413696  0
    videobuf2_v4l2         28672  1 j721e_csi2rx
    drm_kms_helper        180224  6 drm_dma_helper,display_connector,cdns_mhdp8546,drm_display_helper,tidss,ti_tfp410
    m_can_platform         12288  0
    videobuf2_memops       12288  1 videobuf2_dma_contig
    imx708                 28672  0
    sa2ul                  32768  0
    videobuf2_common       57344  4 j721e_csi2rx,videobuf2_dma_contig,videobuf2_v4l2,videobuf2_memops
    ti_k3_dsp_remoteproc    12288  0
    m_can                  32768  1 m_can_platform
    pci_endpoint_test      16384  0
    ti_k3_common           20480  1 ti_k3_dsp_remoteproc
    v4l2_fwnode            20480  3 imx708,cdns_csi2rx
    can_dev                40960  1 m_can
    v4l2_async             20480  4 v4l2_fwnode,j721e_csi2rx,imx708,cdns_csi2rx
    cdns_dphy_rx           12288  0
    cdns3_ti               12288  0
    videodev              253952  6 v4l2_async,v4l2_fwnode,j721e_csi2rx,imx708,videobuf2_v4l2,cdns_csi2rx
    bluetooth             516096  2
    mc                     57344  7 v4l2_async,videodev,j721e_csi2rx,imx708,videobuf2_v4l2,cdns_csi2rx,videobuf2_common
    ecdh_generic           16384  1 bluetooth
    rti_wdt                12288  0
    ecc                    36864  1 ecdh_generic
    rfkill                 28672  3 bluetooth,cfg80211
    fuse                  139264  1
    drm                   552960  8 drm_kms_helper,drm_dma_helper,display_connector,cdns_mhdp8546,drm_display_helper,tidss,ti_tfp410
    drm_panel_orientation_quirks    28672  1 drm
    backlight              20480  2 drm_display_helper,drm
    ipv6                  475136  34
    

    media-ctl -p 日志

    root@tda4vm-sk:/opt/edgeai-gst-apps# media-ctl -p
    Media controller API version 6.12.17
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial
    bus info        platform:4500000.ticsi2rx
    hw revision     0x1
    driver version  6.12.17
    
    Device topology
    - entity 1: 4500000.ticsi2rx (17 pads, 0 link, 0 routes)
                type V4L2 subdev subtype Unknown flags 0
      pad0: SINK
      pad1: SOURCE
      pad2: SOURCE
      pad3: SOURCE
      pad4: SOURCE
      pad5: SOURCE
      pad6: SOURCE
      pad7: SOURCE
      pad8: SOURCE
      pad9: SOURCE
      pad10: SOURCE
      pad11: SOURCE
      pad12: SOURCE
      pad13: SOURCE
      pad14: SOURCE
      pad15: SOURCE
      pad16: SOURCE
    
    - entity 19: cdns_csi2rx.4504000.csi-bridge (5 pads, 0 link, 0 routes)
                 type V4L2 subdev subtype Unknown flags 0
      pad0: SINK
      pad1: SOURCE
      pad2: SOURCE
      pad3: SOURCE
      pad4: SOURCE
    

    imx708 在设备树下可见
    root@tda4vm-sk:/proc/device-tree 查找-name “*IMX*"</s>“
    ./regulator-imx708-vana1-2v8.
    ./imx708-倾斜
    ./bus@10000/i2c@2030000/i2c-mux@70/i2c@0/imx708-0@1a
    ./bus@10000/i2c@2030000/i2c-mux@70/i2c@1/imx708-1@1a
    ./regulator-imx708-vdiG-1V1.
    ./regulator-imx708-vana2-1v8.
    ./regulator-imx708-vddl-1v8.
    .//__symbols___/clk_imx708_fixed
    .//_symbols___/imx708_1.
    .//_symbols___/imx708_vana2_1v8
    .//_symbols___/imx708_vDIG_1V1
    .//_symbols___/imx708_vddl_1v8
    .//_symbols___/imx708_0
    .//_symbols___/imx708_vana1_2v8

     如果我遗漏了一些内容、请提供指南。 我需要能够在 Edge AI GUI 的自定义摄像头视图中使用此功能

    此致、

    Soorya

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

     Jared McArthur , 一个修正我之前的评论有关 media-ctl -p ,相机 imx708 连接到/dev/media1 ,这里是对应的 media-ctl 日志/dev/media1

    根据日志、我可以看到 imx708 到 CSI 桥接器连接正确

    root@tda4vm-sk:/opt/edgeai-gst-apps# media-ctl -d /dev/media1 -p
    Media controller API version 6.12.17
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial          
    bus info        platform:4510000.ticsi2rx
    hw revision     0x1
    driver version  6.12.17
    
    Device topology
    - entity 1: 4510000.ticsi2rx (17 pads, 17 links, 1 route)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev0
    	routes:
    		0/0 -> 1/0 [ACTIVE]
    	pad0: SINK
    		[stream:0 fmt:SRGGB10_1X10/2304x1296 field:none]
    		<- "cdns_csi2rx.4514000.csi-bridge":1 [ENABLED,IMMUTABLE]
    	pad1: SOURCE
    		[stream:0 fmt:SRGGB10_1X10/2304x1296 field:none]
    		-> "4510000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
    	pad2: SOURCE
    		-> "4510000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
    	pad3: SOURCE
    		-> "4510000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
    	pad4: SOURCE
    		-> "4510000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
    	pad5: SOURCE
    		-> "4510000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
    	pad6: SOURCE
    		-> "4510000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE]
    	pad7: SOURCE
    		-> "4510000.ticsi2rx context 6":0 [ENABLED,IMMUTABLE]
    	pad8: SOURCE
    		-> "4510000.ticsi2rx context 7":0 [ENABLED,IMMUTABLE]
    	pad9: SOURCE
    		-> "4510000.ticsi2rx context 8":0 [ENABLED,IMMUTABLE]
    	pad10: SOURCE
    		-> "4510000.ticsi2rx context 9":0 [ENABLED,IMMUTABLE]
    	pad11: SOURCE
    		-> "4510000.ticsi2rx context 10":0 [ENABLED,IMMUTABLE]
    	pad12: SOURCE
    		-> "4510000.ticsi2rx context 11":0 [ENABLED,IMMUTABLE]
    	pad13: SOURCE
    		-> "4510000.ticsi2rx context 12":0 [ENABLED,IMMUTABLE]
    	pad14: SOURCE
    		-> "4510000.ticsi2rx context 13":0 [ENABLED,IMMUTABLE]
    	pad15: SOURCE
    		-> "4510000.ticsi2rx context 14":0 [ENABLED,IMMUTABLE]
    	pad16: SOURCE
    		-> "4510000.ticsi2rx context 15":0 [ENABLED,IMMUTABLE]
    
    - entity 19: cdns_csi2rx.4514000.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:SRGGB10_1X10/2304x1296 field:none]
    		<- "imx708":0 [ENABLED,IMMUTABLE]
    	pad1: SOURCE
    		[stream:0 fmt:SRGGB10_1X10/2304x1296 field:none]
    		-> "4510000.ticsi2rx":0 [ENABLED,IMMUTABLE]
    	pad2: SOURCE
    	pad3: SOURCE
    	pad4: SOURCE
    
    - entity 25: imx708 (2 pads, 1 link, 0 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev2
    	pad0: SOURCE
    		[stream:0 fmt:SRGGB10_1X10/2304x1296 field:none colorspace:raw xfer:none ycbcr:601 quantization:full-range
    		 crop.bounds:(16,24)/4608x2592
    		 crop:(16,24)/4608x2592]
    		-> "cdns_csi2rx.4514000.csi-bridge":0 [ENABLED,IMMUTABLE]
    	pad1: SOURCE
    		[stream:0 fmt:META_14/28800x1 field:none
    		 crop.bounds:(16,24)/4608x2592
    		 crop:(16,24)/4608x2592]
    
    - entity 32: 4510000.ticsi2rx context 0 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video0
    	pad0: SINK
    		<- "4510000.ticsi2rx":1 [ENABLED,IMMUTABLE]
    
    - entity 38: 4510000.ticsi2rx context 1 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video1
    	pad0: SINK
    		<- "4510000.ticsi2rx":2 [ENABLED,IMMUTABLE]
    
    - entity 44: 4510000.ticsi2rx context 2 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video2
    	pad0: SINK
    		<- "4510000.ticsi2rx":3 [ENABLED,IMMUTABLE]
    
    - entity 50: 4510000.ticsi2rx context 3 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video3
    	pad0: SINK
    		<- "4510000.ticsi2rx":4 [ENABLED,IMMUTABLE]
    
    - entity 56: 4510000.ticsi2rx context 4 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video4
    	pad0: SINK
    		<- "4510000.ticsi2rx":5 [ENABLED,IMMUTABLE]
    
    - entity 62: 4510000.ticsi2rx context 5 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video5
    	pad0: SINK
    		<- "4510000.ticsi2rx":6 [ENABLED,IMMUTABLE]
    
    - entity 68: 4510000.ticsi2rx context 6 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video6
    	pad0: SINK
    		<- "4510000.ticsi2rx":7 [ENABLED,IMMUTABLE]
    
    - entity 74: 4510000.ticsi2rx context 7 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video7
    	pad0: SINK
    		<- "4510000.ticsi2rx":8 [ENABLED,IMMUTABLE]
    
    - entity 80: 4510000.ticsi2rx context 8 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video8
    	pad0: SINK
    		<- "4510000.ticsi2rx":9 [ENABLED,IMMUTABLE]
    
    - entity 86: 4510000.ticsi2rx context 9 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video9
    	pad0: SINK
    		<- "4510000.ticsi2rx":10 [ENABLED,IMMUTABLE]
    
    - entity 92: 4510000.ticsi2rx context 10 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video10
    	pad0: SINK
    		<- "4510000.ticsi2rx":11 [ENABLED,IMMUTABLE]
    
    - entity 98: 4510000.ticsi2rx context 11 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video11
    	pad0: SINK
    		<- "4510000.ticsi2rx":12 [ENABLED,IMMUTABLE]
    
    - entity 104: 4510000.ticsi2rx context 12 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video12
    	pad0: SINK
    		<- "4510000.ticsi2rx":13 [ENABLED,IMMUTABLE]
    
    - entity 110: 4510000.ticsi2rx context 13 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video13
    	pad0: SINK
    		<- "4510000.ticsi2rx":14 [ENABLED,IMMUTABLE]
    
    - entity 116: 4510000.ticsi2rx context 14 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video14
    	pad0: SINK
    		<- "4510000.ticsi2rx":15 [ENABLED,IMMUTABLE]
    
    - entity 122: 4510000.ticsi2rx context 15 (1 pad, 1 link)
                  type Node subtype V4L flags 0
                  device node name /dev/video15
    	pad0: SINK
    		<- "4510000.ticsi2rx":16 [ENABLED,IMMUTABLE]

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

    尊敬的 Soorya Prakash Sakthivel

    驱动程序文件 imx708.c 文件以前没有正确包含在编译中、修复了、但仍然无法在 edge ai gallery 的自定义相机选项中查看相机

    您是否将 IMX708 添加到 setup_cameras.sh 脚本中?

    此致、
    Jared

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

    你好 Jared McArthur ,

    感谢您的建议,现在我修改了 setup_cameras.sh 以包括 imx708。

    我现在会在启动过程中获取此日志

    IMX708 Camera 1 detected
        device = /dev/video-imx708-cam0
        name = imx708
        format = [fmt:SRGGB10_1X10/1536x864 field:none]
        subdev_id = /dev/v4l-imx708-subdev0
        isp_required = yes
    

    作为定制摄像头选项的一部分、我可以看到 IMX708 摄像头 1 已列出、但当我点击“开始“时、我根本看不到摄像头预览。

    我试图捕捉原始图像、我得到了损坏的管道

    root@tda4vm-sk:/opt/edgeai-gst-apps# v4l2-ctl -d /dev/video0 \
    >          --set-fmt-video=width=1536,height=864,pixelformat=RG10 \
    >          --stream-mmap \
    >          --stream-count=30 \
    >          --stream-to=imx708.raw
            VIDIOC_STREAMON returned -1 (Broken pipe)
    

    我 也遇到了 4608x2592 分辨率的相同问题。

    请指导如何继续。

    此致、

    Soorya

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

    尊敬的 Soorya Prakash Sakthivel

    你可以尝试 yavta 吗?

    $ yavta -c1 -s1536x864 -fSRGGB10 -Fimage-#.raw /dev/video-imx708-cam0

    此致、
    Jared

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

    您好 Jared McArthur 

    问题在于 imx708、CSI2 桥接器和 CSI2RX 的格式和分辨率不匹配。

    使用以下命令更正所有内容以匹配相同的格式和规范后、我可以使用 v4l2-ctl 和 yavta 捕获原始图像

    media-ctl -d /dev/media1 -r
    
    media-ctl -d /dev/media1 \
        --set-v4l2 '"imx708":0[fmt:SRGGB10_1X10/1536x864]'
    	
    media-ctl -d /dev/media1 \
        --set-v4l2 '"cdns_csi2rx.4514000.csi-bridge":1[fmt:SRGGB10_1X10/1536x864]'
    
    media-ctl -d /dev/media1 \
        --set-v4l2 '"4510000.ticsi2rx":0[fmt:SRGGB10_1X10/1536x864]'

    但我无法查看图像、因为它是原始格式。 还想知道如何在 HDMI 中开始 imx708 摄像头视频流的直播。

    此致、

    Soorya

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

    尊敬的 Soorya Prakash Sakthivel

    很高兴问题得到解决。

    但我无法查看图像、因为它是原始格式。

    您可以使用名为 PixelViewer 的应用程序查看/检查图像

    还想知道如何在 HDMI 中启动 imx708 摄像机源的直播。

    这将需要 RTOS SDK 或 EdgeAI SDK。 我们有一个应用程序可指导您完成这些步骤: https://www.ti.com/lit/an/sprad86a/sprad86a.pdf 

    如果由于原始问题已解决、您还有其他问题、请打开新 TT。

    此致、
    Jared