Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    UNSOLVED 树莓派64位连接CS-MIPI-IMX307问题

    Raspberry Pi App Software
    2
    26
    3141
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • veye_xumm
      veye_xumm @fancong last edited by

      @fancong
      https://wiki.veye.cc/index.php/Raspberry_Pi_Application_Note_Index/zh
      估计你看错了文档。64位系统不能使用legacy模式,需要使用v4l2模式。
      v4l2模式才生成/dev/video0节点。

      F 1 Reply Last reply Reply Quote 0
      • F
        fancong @veye_xumm last edited by

        @veye_xumm
        大神您好,按照这个文档,我加载驱动后重启,dmesg打印如下错误:
        fancong@raspberrypi:~$ dmesg | grep imx
        [ 0.067734] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/csimx307@3b
        [ 7.304776] csimx307: loading out-of-tree module taints kernel.
        [ 7.307571] csimx307 10-003b: supply VANA not found, using dummy regulator
        [ 7.307929] csimx307 10-003b: supply VDIG not found, using dummy regulator
        [ 7.308083] csimx307 10-003b: supply VDDL not found, using dummy regulator
        [ 7.316034] csimx307 10-003b: csimx307_identify_module: error during i2c read probe (-121)
        [ 7.317349] csimx307: probe of 10-003b failed with error -121
        我想知道,这个cs-mipi-imx307是否需要接红黑电源线,我看接线文档里面说不需要,imx307小板上面上电之后,会有啥表现吗?例如有指示灯之类的

        veye_xumm 1 Reply Last reply Reply Quote 0
        • veye_xumm
          veye_xumm @fancong last edited by

          @fancong
          没有指示灯。
          不需要接红黑电源线。
          你看一下fpc线的方向,有没有接反了?
          或者拍一下fpc接口的照片我看看。

          F 1 Reply Last reply Reply Quote 0
          • F
            fancong @veye_xumm last edited by

            @veye_xumm ![替代文字](screenshot-20240319-105841.png screenshot-20240319-105828.png 图片地址)

            veye_xumm 1 Reply Last reply Reply Quote 0
            • veye_xumm
              veye_xumm @fancong last edited by

              @fancong 看起来树莓派那头插反了

              F 2 Replies Last reply Reply Quote 0
              • F
                fancong @veye_xumm last edited by

                @veye_xumm 线没接错哦,我换了一个imx290,可以识别到:
                [ 0.068153] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx290@1a
                [ 7.133686] csimx307: loading out-of-tree module taints kernel.
                [ 7.138194] csimx307 10-003b: supply VANA not found, using dummy regulator
                [ 7.150271] csimx307 10-003b: supply VDIG not found, using dummy regulator
                [ 7.150441] csimx307 10-003b: supply VDDL not found, using dummy regulator
                [ 7.158951] csimx307 10-003b: csimx307_identify_module: error during i2c read probe (-121)
                [ 7.159789] csimx307: probe of 10-003b failed with error -121
                [ 7.209372] imx290 10-001a: 16-bit write to 0x301c failed: -121
                [ 7.211146] imx290 10-001a: 24-bit write to 0x3020 failed: -121
                [ 7.212098] imx290 10-001a: 24-bit write to 0x3018 failed: -121
                [ 7.213639] imx290 10-001a: 24-bit write to 0x3020 failed: -121
                [ 7.213706] imx290 10-001a: Consider updating driver imx290 to match on endpoints

                1 Reply Last reply Reply Quote 0
                • F
                  fancong @veye_xumm last edited by

                  @veye_xumm 有没有可能是相机固件需要重新刷?

                  veye_xumm 1 Reply Last reply Reply Quote 0
                  • veye_xumm
                    veye_xumm @fancong last edited by

                    @fancong 不需要重刷固件。如果排线方向没问题,那么有可能需要红黑线供电。
                    我现在不清楚你的底板的供电能力如何,你可以短时间用红黑线给307供电试一下。不要长期这么用。
                    回头测试完成告诉我结果。

                    F 4 Replies Last reply Reply Quote 0
                    • F
                      fancong @veye_xumm last edited by

                      @veye_xumm 收到,我试试,谢谢大佬

                      1 Reply Last reply Reply Quote 0
                      • F
                        fancong @veye_xumm last edited by

                        @veye_xumm 我试了一下,单独加上供电,也不行,我还原成老版本的32位系统看看吧

                        1 Reply Last reply Reply Quote 0
                        • F
                          fancong @veye_xumm last edited by

                          @veye_xumm 还原成32位版本,也不能识别,这个是咋回事儿啊?老板大神,求指教

                          1 Reply Last reply Reply Quote 0
                          • F
                            fancong @veye_xumm last edited by

                            @veye_xumm 相机接上红黑线之后,也在发热

                            veye_xumm 1 Reply Last reply Reply Quote 0
                            • veye_xumm
                              veye_xumm @fancong last edited by

                              @fancong
                              这个跟64位系统和32位系统没有关系,都能支持。
                              看你的提示,

                              [ 7.158951] csimx307 10-003b: csimx307_identify_module: error during i2c read probe (-121)
                              [ 7.159789] csimx307: probe of 10-003b failed with error -121
                              

                              显示i2c-10上面找不到摄像头。
                              你这个板子总共引出了几个camera接口? 确定测试307的时候是插到i2c-10的吗?

                              F 2 Replies Last reply Reply Quote 0
                              • F
                                fancong @veye_xumm last edited by

                                @veye_xumm 一共只有一个CSI口和一个DSI口

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fancong @veye_xumm last edited by

                                  @veye_xumm 应该是插在CSI0了,如何选择哪个CSI呢?

                                  veye_xumm 1 Reply Last reply Reply Quote 0
                                  • veye_xumm
                                    veye_xumm @fancong last edited by

                                    @fancong said in 树莓派64位连接CS-MIPI-IMX307问题:

                                    [ 0.068153] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx290@1a

                                    [ 7.133686] csimx307: loading out-of-tree module taints kernel.

                                    [ 7.138194] csimx307 10-003b: supply VANA not found, using dummy regulator

                                    [ 7.150271] csimx307 10-003b: supply VDIG not found, using dummy regulator

                                    [ 7.150441] csimx307 10-003b: supply VDDL not found, using dummy regulator

                                    [ 7.158951] csimx307 10-003b: csimx307_identify_module: error during i2c read probe (-121)

                                    [ 7.159789] csimx307: probe of 10-003b failed with error -121

                                    [ 7.209372] imx290 10-001a: 16-bit write to 0x301c failed: -121

                                    [ 7.211146] imx290 10-001a: 24-bit write to 0x3020 failed: -121

                                    [ 7.212098] imx290 10-001a: 24-bit write to 0x3018 failed: -121

                                    [ 7.213639] imx290 10-001a: 24-bit write to 0x3020 failed: -121

                                    [ 7.213706] imx290 10-001a: Consider updating driver imx290 to match on endpoints

                                    你调试290也是放在同一个CSI接口的吗? 是不是dtb有冲突啊?
                                    你把/boot/config.txt里面的内容贴出来我看看。你把/boot/config.txt中其他相机相关的东西注掉试试。

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      fancong @veye_xumm last edited by

                                      @veye_xumm 我后面重新烧录了32位的了,没有290的驱动了,只是我们自己的cs-mipi-imx307的,新的打印如下:
                                      $ dmesg | grep imx
                                      [ 5.458365] csimx307: loading out-of-tree module taints kernel.
                                      [ 5.470420] csimx307 10-003b: csimx307_identify_module: error during i2c read probe (-121)
                                      [ 5.475082] csimx307: probe of 10-003b failed with error -121
                                      fancong@raspberrypi:~$
                                      fancong@raspberrypi:~$
                                      $ dmesg | grep csi
                                      [ 5.458365] csimx307: loading out-of-tree module taints kernel.
                                      [ 5.470420] csimx307 10-003b: csimx307_identify_module: error during i2c read probe (-121)
                                      [ 5.475082] csimx307: probe of 10-003b failed with error -121

                                      veye_xumm 1 Reply Last reply Reply Quote 0
                                      • veye_xumm
                                        veye_xumm @fancong last edited by

                                        @fancong 你的底板是自己做的对吧? 引出的是CM4的CAM1还是CAM0?对应的I2C是什么?

                                        F 4 Replies Last reply Reply Quote 0
                                        • F
                                          fancong @veye_xumm last edited by

                                          @veye_xumm 不是自己做的,是买的第三方的

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            fancong @veye_xumm last edited by

                                            @veye_xumm 我看你们文档里面有说明:
                                            "对于只有1个MIPI CSI-2口的树莓派主板,i2c总线序号是10。如果你的piOS很老,那么有可能是0。"
                                            默认是10吧

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post