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

    IMX385 无法被roc-3588s-pc驱动

    Scheduled Pinned Locked Moved CS MIPI camera
    26 Posts 2 Posters 8.0k 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.
    • F Offline
      flaty
      last edited by

      今天收到买的 这个imx385,并移植了驱动源码到内核,在roc-3588s-pc无法驱动,查看DMESG没有发现 硬件被PROBE,检查I2CDECDETOR
      49735844-542c-43bd-9b45-883e20048fea-image.png

      本系统跑系统为Debian系统 LINUX内核版本为:5.10.我目前系统可以跑FIREFLY 的XC7160的相机,也能驱动我们自己的FPGA的板,目前不同
      错误信息如下内核:
      a85a9cb3-00de-41cd-aca7-c22b8072f227-image.png

      驱动按照文档移植:如下 系统编译生成目标目标文件:
      85954ce9-db90-4d56-97ba-fd1bb4384dee-image.png
      firefly-linux.config:
      3765d89d-4416-4a3e-aad1-417662a16323-image.png
      makfile
      29d06a17-8342-4320-af3c-8708e7ac7e98-image.png
      kconfig:
      e312d0e6-d21d-4c80-aaca-d2bd3df1aef1-image.png

      veye_xummV 2 Replies Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @flaty
        last edited by

        @flaty 你好,
        dmesg | grep veye 的输出是什么? 有没有/dev/video0生成?

        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.)

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

          @flaty 另外,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.)

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

            @veye_xumm 都编译 移植了,理论上 I2C通了 至少PROBE可以,DTB 移植了,我感觉你们的主控芯片和SENSOR之间是不是没通

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

              @flaty dmesg | grep veye 的输出是什么?

              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.)

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

                02eb49f6-0edc-4252-9b80-99432601b951-image.png @flaty b8a11928-21a9-4205-9285-5206a15ef21f-image.png

                设备树 已经添加好了啥也没有

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

                  @veye_xumm !d347016b-2c62-4259-8f8e-a65afdfeecaf-image.png

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

                    @flaty
                    看起来摄像机是运行中,但是dts并未生效。
                    我们开发用的ubuntu系统做的,并没有验证debain系统。 现在唯一的差异是debain VS ubuntu。
                    你能否直接试一下ubuntu系统? 不需要重新编译,按照wiki步骤替换一下资源即可。

                    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.)

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

                      @veye_xumm 好滴 我测试一下,理论上ubuntu是debian构建来的,应该差距不大

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

                        @veye_xumm 67696b89-f169-454d-96bc-21b6196d9f0c-image.png
                        这个有没有百度网盘的地址 github有点慢

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

                          @flaty 没有,你可以给一个邮箱我转给你

                          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.)

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

                            @veye_xumm flaty_star@163.com

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

                              @veye_xumm 我看你的设备树了,发现了个地方,估计是这个问题 您确认一下
                              d01a61b5-f731-4acb-8885-32330a94675a-image.png

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

                                @veye_xumm 2eb918e5-d67b-4604-891f-c30034102dbb-image.png

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

                                  @veye_xumm 这是之前测试I2C的 另外一个截图也发给您看一下
                                  291522d9-b561-497f-9304-d3ba16044029-image.png

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

                                    @flaty 这几个pin没关系。 现在转接板的这几个pin都是默认使能的,不受控的。

                                    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.)

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

                                      @flaty 你应该加上-b 7,指名i2c bus.

                                      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.)

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

                                        @veye_xumm ubuntu 系统下确实可以了,这个什么问题呢

                                        veye_xummV 2 Replies Last reply Reply Quote 0
                                        • veye_xummV Offline
                                          veye_xumm @flaty
                                          last edited by

                                          @flaty 不清楚啊,我也以为这俩系统的内核和驱动部分应该是一样的。难道debain跟ubuntu不是用的同一个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.)

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

                                            @flaty 你们选择debain做开发OS的想法是? 比ubuntu有什么优势吗?

                                            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.)

                                            F 3 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