VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    MV-MIPI-IMX264M+CM4+CM4-NANO-A 需要怎么配置?

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    31 Posts 2 Posters 18.7k Views 1 Watching
    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.
    • M Offline
      maifengW2023 @veye_xumm
      last edited by

      @veye_xumm
      68bbf8e6-e34a-4544-8cc8-b94954025c72-image.png

      1 Reply Last reply Reply Quote 0
      • M Offline
        maifengW2023 @veye_xumm
        last edited by

        @veye_xumm
        我现在又重新安装了系统,添加驱动后,不认摄像头了;
        板子跟摄像头不动,用老卡上的系统能连上摄像头
        c7e9f05c-69aa-47e7-952f-5564a21dd692-image.png

        veye_xummV 1 Reply Last reply Reply Quote 0
        • veye_xummV Offline
          veye_xumm @maifengW2023
          last edited by

          @maifengw2023
          你的新卡和老卡有啥区别?
          新卡上,执行dmesg | grep mvcam看看输出如何?

          Questions will be answered as soon as possible, please be patient.
          如果你使用中文,请直接用中文提问。
          May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            maifengW2023 @veye_xumm
            last edited by

            @veye_xumm
            nano-a 不支持 bullseye ;说这个有bug;
            支持buster系统,所以我又在新sd卡上灌了5.10.103-v7l系统,安装驱动后,不认摄像头,就是上一楼的提示,我把老sd卡换上去,树莓派跟摄像头都没动,摄像头是正常的

            1 Reply Last reply Reply Quote 0
            • M Offline
              maifengW2023 @veye_xumm
              last edited by

              @veye_xumm
              e9c9af60-b209-470e-9fe6-66b3cf34c438-image.png

              veye_xummV 1 Reply Last reply Reply Quote 0
              • veye_xummV Offline
                veye_xumm @maifengW2023
                last edited by

                @maifengw2023
                你这个驱动的版本有点老了,不识别264这个型号。因为我们研发开发完成一个新的camera之后,往往只在较新的OS版本上编译出ko。
                最好结合代码重新编译一个ko出来。

                Questions will be answered as soon as possible, please be patient.
                如果你使用中文,请直接用中文提问。
                May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  maifengW2023 @veye_xumm
                  last edited by

                  @veye_xumm
                  重新编译驱动吗?

                  veye_xummV 1 Reply Last reply Reply Quote 0
                  • veye_xummV Offline
                    veye_xumm @maifengW2023
                    last edited by

                    @maifengw2023 是的

                    Questions will be answered as soon as possible, please be patient.
                    如果你使用中文,请直接用中文提问。
                    May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                    M 2 Replies Last reply Reply Quote 0
                    • M Offline
                      maifengW2023 @veye_xumm
                      last edited by

                      @veye_xumm
                      我先试一下吧,不行的话,还需要你们帮忙编译一下驱动

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        maifengW2023 @veye_xumm
                        last edited by

                        @veye_xumm
                        d2195d1a-8e0a-47f6-b895-207ebc7d7ec8-image.png

                        veye_xummV 1 Reply Last reply Reply Quote 0
                        • veye_xummV Offline
                          veye_xumm @maifengW2023
                          last edited by

                          @maifengw2023
                          看起来是kernel版本中.remove函数原型定义的差异导致的。你用这个函数替代掉原代码中的对应函数。

                          static int mvcam_remove(struct i2c_client *client)
                          {
                          	struct v4l2_subdev *sd = i2c_get_clientdata(client);
                          	struct mvcam *mvcam = to_mvcam(sd);
                          
                          	v4l2_async_unregister_subdev(sd);
                          	media_entity_cleanup(&sd->entity);
                          	mvcam_free_controls(mvcam);
                          
                          	mutex_destroy(&mvcam->mutex);
                              return 0;
                          }
                          

                          Questions will be answered as soon as possible, please be patient.
                          如果你使用中文,请直接用中文提问。
                          May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                          M 2 Replies Last reply Reply Quote 0
                          • M Offline
                            maifengW2023 @veye_xumm
                            last edited by

                            @veye_xumm
                            好的,我试试

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              maifengW2023 @veye_xumm
                              last edited by

                              @veye_xumm
                              在5.10.103-v7l+上安装好了驱动,在base-a上跟4b上都能正常调用了,但是换成nano-a扩展板,就连接不上摄像头
                              e5a9e43b-2972-4a87-967b-5894a0c27542-8fdf1f870d81c400a7baa41e212270b.png

                              veye_xummV 1 Reply Last reply Reply Quote 0
                              • veye_xummV Offline
                                veye_xumm @maifengW2023
                                last edited by

                                @maifengw2023
                                执行一下
                                dmesg | grep mvcam

                                Questions will be answered as soon as possible, please be patient.
                                如果你使用中文,请直接用中文提问。
                                May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  maifengW2023 @veye_xumm
                                  last edited by

                                  @veye_xumm said in MV-MIPI-IMX264M+CM4+CM4-NANO-A 需要怎么配置?:

                                  dmesg | grep mvcam

                                  223389da-0ebd-4a7d-aceb-c0606155bb6a-image.png

                                  veye_xummV 1 Reply Last reply Reply Quote 0
                                  • veye_xummV Offline
                                    veye_xumm @maifengW2023
                                    last edited by

                                    @maifengw2023
                                    现在i2c0和i2c10都检测不到摄像头,那么有两种可能:

                                    1. 没有给摄像头供电。—— 这种加上供电即可解决。
                                    2. 微雪的这个底板,在i2c硬件方面跟树莓派官方的不同。你需要根据微雪这个板子,改一下设备树文件dts,编译成dtb才可以。

                                    Questions will be answered as soon as possible, please be patient.
                                    如果你使用中文,请直接用中文提问。
                                    May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      maifengW2023 @veye_xumm
                                      last edited by

                                      @veye_xumm
                                      供电我量了一下J3连接器的1、2脚;电压是4.98V;
                                      设备树文件dts怎样修改有没有教程或说明,我好参考一下;我问了微雪的技术他们连imx219摄像头没有问题

                                      veye_xummV 1 Reply Last reply Reply Quote 0
                                      • veye_xummV Offline
                                        veye_xumm @maifengW2023
                                        last edited by

                                        @maifengw2023
                                        这东西没有教程了,就是一点点源码。你可以参考一下微雪的imx219在这个板子上的dts。

                                        Questions will be answered as soon as possible, please be patient.
                                        如果你使用中文,请直接用中文提问。
                                        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          maifengW2023 @veye_xumm
                                          last edited by maifengW2023

                                          @veye_xumm
                                          按你们文档上这个,下载下来可以用吗?
                                          d2be52fd-a041-4e3f-824f-69a0448c796e-image.png

                                          还有这个双摄像头这个
                                          11dceaf6-396d-4463-be71-d461ba76963a-image.png

                                          veye_xummV 1 Reply Last reply Reply Quote 0
                                          • veye_xummV Offline
                                            veye_xumm @maifengW2023
                                            last edited by

                                            @maifengw2023
                                            我们的这个代码是open source的,你可以作为参考。
                                            但是原则上,软件肯定要去符合硬件,你要参考我们的dts,改动一下配置,去吻合到微雪的底板上。
                                            说白了就是驱动移植。

                                            Questions will be answered as soon as possible, please be patient.
                                            如果你使用中文,请直接用中文提问。
                                            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                                            M 2 Replies Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post