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

    在orin nano 8G上尝试使用cssc132失败

    Scheduled Pinned Locked Moved CS MIPI camera
    25 Posts 2 Posters 380 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.
    • R Offline
      robot @veye_xumm
      last edited by

      @veye_xumm 我说的原厂系统指的就是nvidia原厂系统,然后驱动用的是你们预编译的ko和dtbo,只做了这些操作

      1 Reply Last reply Reply Quote 0
      • R Offline
        robot @veye_xumm
        last edited by

        @veye_xumm
        mr123@ubuntu:~$ sudo dmesg |grep sc132
        [sudo] password for mr123:
        [ 11.962504] cs_sc132: module verification failed: signature and/or required key missing - tainting kernel
        [ 11.964932] cssc132 9-003b: probing v4l2 sensor
        [ 11.965743] cssc132 9-003b: tegracam sensor driver:cssc132_v2.0.6
        [ 11.966346] cssc132 9-003b: read sensor id 0132
        [ 11.966352] cssc132 9-003b: camera id is cs-mipi-sc132
        [ 11.966405] tegra-camrtc-capture-vi tegra-capture-vi: subdev cssc132 9-003b bound
        [ 11.970148] cssc132 9-003b: Detected CS_MIPI_SC132 camera
        [ 11.977337] cssc132 10-003b: probing v4l2 sensor
        [ 11.978659] cssc132 10-003b: tegracam sensor driver:cssc132_v2.0.6
        [ 11.983230] cssc132 10-003b: cs_sc132_board_setup: error during i2c read probe (-121)
        [ 11.983237] cssc132 10-003b: board setup failed
        [ 11.983316] cssc132: probe of 10-003b failed with error -121
        mr123@ubuntu:~$

        1 Reply Last reply Reply Quote 0
        • R Offline
          robot @veye_xumm
          last edited by

          @veye_xumm 我今天尝试了在jeston nano和jeston tx2nx两个核心板上用同一个硬件平台上面同步验证了一下,这两个平台使用预编译的驱动都能正常出图没有问题,我为了以防万一搞了一个新的orin nano核心板来验证,Orin这边还是不出图......

          1 Reply Last reply Reply Quote 0
          • R Offline
            robot @veye_xumm
            last edited by

            @veye_xumm 我发现orin的设计手册里面关于mipi这部分的硬件设计要求似乎更严格了,您方便提供一下您那边测试使用的开发板的具体型号吗?我想使用更统一的环境来测试确认一下

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

              @robot
              参考我们这个文档,安装gstreamer之后,使用如下命令,预览取图是成功的。

              gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1280, height=(int)1080, framerate=(fraction)45/1" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nv3dsink sync=false
              

              使用如下v4l2-ctl取图也是成功的。

              v4l2-ctl --set-fmt-video=width=1280,height=1080,pixelformat=UYVY --stream-mmap --stream-count=-1 --stream-to=/dev/null
              

              不过我需要提醒你的是,现在这个型号的模组已经步入生命周期的尾声,早已进入【新产品不建议】的列表里。
              建议你如果选择SC132,可以考虑RAW-MIPI-SC132M这款,这款的缺点是没有自动曝光功能。
              如果需要自动曝光,可以选择RAW-MIPI-AR0234M这款。

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

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                robot @veye_xumm
                last edited by

                @veye_xumm 我们正在计划使用mv-sc130那款,cssc132是我们手头现有的相机我们拿来测试,但是我们同时还是希望在等待新相机到货之前明确原因,防止在sc130上遇到同样的问题,因此如果你能提供测试平台的开发板的具体型号我们将非常感激

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

                  @robot
                  我们就是用orin nx和orin nano的官方开发板。你这个问题不是硬件问题,试试我给你的命令,应该可以。

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

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    robot @veye_xumm
                    last edited by

                    @veye_xumm 我使用nano和tx2nx使用这两个命令确实能出图,但是使用orin不行

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

                      @robot
                      我们今天刚用orin nx做的验证。
                      你把出错的时候的dmesg 命令的输出结果发过来我看看。

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

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        robot @veye_xumm
                        last edited by

                        @veye_xumm dmesg.txt 这是我的dmesg打印,辛苦您帮忙确认一下

                        R 1 Reply Last reply Reply Quote 0
                        • R Offline
                          robot @robot
                          last edited by

                          7401e5c1-e8e4-4c12-ada7-fb7438582a52-image.jpeg

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

                            @robot
                            确认一下你的jetpacck版本。orin nano底板型号和厂家。

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

                            R 1 Reply Last reply Reply Quote 0
                            • R Offline
                              robot @veye_xumm
                              last edited by

                              @veye_xumm 用的那个r365,jp6.2.2,板子是微雪的JETSON-ORIN-IO-BASE-H

                              R 1 Reply Last reply Reply Quote 0
                              • R Offline
                                robot @robot
                                last edited by

                                760676a0-0bf6-432e-9924-8aa9b4c98db3-image.jpeg 我刚刚又试了一下nano,能正常出图,以证明在测试orin时硬件平台连接上没有问题😥

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

                                  @robot 你的orin nano跟我们的唯一区别就是你用的微雪的底板,而我们用的nvidia官方开发板底板。
                                  我们遇到过某些第三方厂家的底板,在兼容高速相机(MV系列)的时候有问题,但是确实没有遇到过你这个现象。
                                  建议你找一个nvidia官方开发板底板做一个对比验证。

                                  还有一种可能是微雪的底板mipi csi接口的原理图不兼容nvidia官方,但是看他们资料应该是兼容的。

                                  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 @robot
                                    last edited by

                                    @robot
                                    ec8e7057-0f93-43f8-9e52-0b9b73007b5f-image.jpeg
                                    这个地方写的比较模糊,建议你问问他们,是不是mipi csi接口原理图兼容英伟达官方开发板?

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

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      robot @veye_xumm
                                      last edited by

                                      @veye_xumm 接口是兼容的,因为我们在同一块板子上面测试了nano和tx2nx能出图至少证明他这个原理图设计和你们预编译的设备树是匹配的,我们也在怀疑他的兼容性问题,因此我们正在想办法买nvidia官方开发底板

                                      1 Reply 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