Navigation

    VEYE IMAGING Forum

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

    SOLVED 树莓派CM4安装双目驱动问题

    VEYE MIPI camera
    2
    30
    4006
    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.
    • F
      ff1211 last edited by

      1b650815-107b-46e3-995e-b36481a20e9e-image.png
      这个文件我在下载的编译好的驱动文件里没找到,自己在树莓派上编译出来也没有。

      我编译出来的只有这些文件:
      d16f8311-f852-4627-bb65-d97736fa31c9-image.png

      下载好对应内核版本的驱动里面只有这些文件:
      8e5d6b15-d3db-41b5-8afc-9357e367b7ae-image.png

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

        @ff1211 rpi-5.10.103+版本目录下有你要的dts。 两条路

        1. 升级一下你的rpi操作系统。
        2. 自己参考现在rpi-5.10.103+版本下的dts,移植到你现在的版本。
        F 1 Reply Last reply Reply Quote 0
        • F
          ff1211 @veye_xumm last edited by

          @veye_xumm said in 树莓派CM4安装双目驱动问题:

          rpi-5.10.103

          给下这个版本树莓派cm4 os的链接?

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

            @ff1211 我认为树莓派网站上现在最新的pios版本即可。
            https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit

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

              @veye_xumm 您不是说要移植dts文件?这块编程我也不会呀。

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

                @ff1211 升级操作系统到已经提供了dtbo的版本,不需要移植dts。

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

                  @veye_xumm 我现在用的就是最新版的树莓派系统5.15.61-v7l+,对于我来说用rpi-5.10.103是倒退。同时,我上面的截图就是您5.15.61-v7l+ release里面的,并没有这个cm4的文件。您说有两条路,第一是用rpi-5.10.103系统;第二自己移植dts。我不会移植dts所以我选择换系统。但是现在官网上最新的树莓派系统是5.15.61-v7l+,我不知道去哪里下载rpi-5.10.103,所以我问您去哪里下载这个系统。

                  此外,第二个问题,我之前按照安装一个摄像头的教程在cm4上安装了驱动,输入dmesg | grep mvcam后显示如下信息:
                  bf74447c-3a22-485b-bad9-127094d0b529-image.png
                  我相机接的是cam0接口,/dev中的video设备是从video10开始的,没有video0。

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

                    @ff1211 不好意思,版本的问题我搞错了,需要rpi-5.15.y目录下,模仿现在307的那个做法做一个mv的。
                    第二个问题,
                    http://wiki.veye.cc/index.php/I2c_bus_number_and_video_node
                    建议你装到camera1接口上去,这个对应的i2c-10的。

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

                      @veye_xumm 我不知道怎么做这个mv的,所以我才问您怎么换系统。或者如果可以的话,麻烦您上传一个吧。

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

                        @ff1211 好的,我安排一下,尽快做一个版本给您。一两天之内。

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

                          @veye_xumm 辛苦了,如果可以告诉我一声哈。

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

                            @ff1211 研发进度略有推迟,晚一两天。

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

                              @veye_xumm 好的

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

                                @ff1211
                                你好驱动已经完成。请参考:
                                https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.09
                                http://wiki.veye.cc/index.php/Mv_series_camera_appnotes_4_rpi/zh#CM4.E7.9A.84.E8.A1.A5.E5.85.85.E8.AF.B4.E6.98.8E

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

                                  @veye_xumm 您好,我按照您新发的驱动安装了,但是只能探测到一个摄像头。
                                  f884f252-3734-49ce-88fb-c0b2e5012892-image.png

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

                                    @ff1211
                                    http://wiki.veye.cc/index.php/Mv_series_camera_appnotes_4_rpi/zh
                                    这个链接的6.8.3做了吗? 截个图我看看。

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

                                      @veye_xumm b2e71afc-ee70-4e38-85c5-b177efa12cc0-image.png
                                      上面那些带注释的是昨天尝试的,今天重新编译安装了下驱动后就被自动注释掉了。下面这个最后一行是我刚加的,加完重启之后还是这个问题。

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

                                        @ff1211 6.8.1章节的执行了吗? 有没有/dev/i2c-0设备文件?

                                        F 3 Replies Last reply Reply Quote 0
                                        • F
                                          ff1211 @veye_xumm last edited by

                                          @veye_xumm said in 树莓派CM4安装双目驱动问题:

                                          /dev/i2c-0
                                          做了的。
                                          这是iic
                                          9ba71066-d59c-4443-8c3d-447a1e777e7b-image.png
                                          这是video
                                          d6260737-26ad-4124-b971-08f87a5a19aa-image.png

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

                                            @veye_xumm
                                            我看到了这步,如果写-y 10的话确实0x3b那里有个“UU”,但是改成-y 0的话就什么都没有输出。
                                            95317efd-0356-4e43-9437-7a8191b871b6-image.png

                                            d58cc3a4-d661-400b-a04f-8697e55df908-image.png

                                            会不会是这个问题。

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