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

    Orin上使用IMX307的问题

    Scheduled Pinned Locked Moved Jetson App Software
    41 Posts 3 Posters 24.3k 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.
    • S Offline
      skys
      last edited by

      我的硬件平台是Orin developer Kit with JP5.0.1DP,目前已完成的wiki的教程如下:
      1.下载bsp包
      wget https://github.com/veyeimaging/nvidia_jetson_veye_bsp/releases/download/v1.08/nvidia_jetson_veye_bsp.tar.gz
      2. 安装modlues(wiki 3.5.5节)
      sudo cp nvidia_jetson_veye_bsp/ko/$(uname -r)/* /lib/modules/$(uname -r)/kernel/drivers/media/i2c/ -f
      3. 升级dtb(wiki 3.5.6节),已确保/boot/veyecam/下存在bsp包内的dtb文件,修改后的extlinux.conf内容如下

      d971a8c9-7848-4ffc-b7f5-fb03a19ab170-屏幕截图(3).png

      但现在通过3.7.2节的验证流程中,未能发现imx307型号的数据
      ls /proc/device-tree/i2c@3180000/tca9548@70/i2c@* (不存在)
      ls /proc/device-tree/i2c@3180000/tca9548@77/i2c@*(存在,但是不包含imx307,而是ov5693_g@36,如下图所示)
      a77bc29a-1217-498d-9fe1-97521ced4500-屏幕截图(2).png
      请问这个问题有什么解决思路吗?

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

        @skys
        Orin现在应该只有一个版本,我发一下我这边的状态你做一下对比。
        首先请确认一下文件是否使用了正确的版本:

        md5sum tegra234-p3701-0000-p3737-0000.dtb 
        8c277e9f751a16295975f79d361d516f  tegra234-p3701-0000-p3737-0000.dtb
        

        驱动的状态:
        8f299ed0-159a-4eda-9983-1605f946e35d-image.png
        dts的状态:
        2f173024-dcbc-4d6b-a69f-67d47f5f33f3-image.png

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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          skys @veye_xumm
          last edited by

          @veye_xumm 你好,我核验了,使用的是同一个dtb文件。
          1.DTB文件MD5验证结果如下:
          截屏2022-08-14 15.39.57.png
          2./sys/bus/i2c/drivers/的驱动状态结果如下:
          c89e75bb-1bd0-48de-a204-b5f80466e200-image.png
          3.device-tree的信息和之前一致,没有变化。
          使用的JP5.0.1DP是新刷的,还没有其他库安装。

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

            @skys
            安装modules的时候,下面这个命令执行过吗?
            4a39eb9c-fc63-414f-8ab7-9376b19faa06-image.png

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

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              skys @veye_xumm
              last edited by

              @veye_xumm 执行过的

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

                @skys 有点奇怪。你可以用dmesg看一下内核启动的初步阶段,看看生效的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.)

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  skys @veye_xumm
                  last edited by

                  @veye_xumm 请问抓取哪些关键词会比较快的找到?我对这部分不太熟悉

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

                    @skys 你可以全部导出来放到txt里,贴到这里,我看看。

                    dmesg > dmesg.txt
                    

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

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      skys @veye_xumm
                      last edited by

                      @veye_xumm 好的,请查看附件
                      dmesg.txt

                      veye_xummV 3 Replies Last reply Reply Quote 0
                      • veye_xummV Offline
                        veye_xumm @skys
                        last edited by

                        @skys
                        根据下面这个提示,你现在系统生效的还是原版系统自带的dtb,而不是extlinux.conf修改过的。
                        这问题确实有点奇怪。

                        DTS File Name: /dvs/git/dirty/git-master_linux/kernel/kernel-5.10/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.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.)

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

                          @skys 方便的话,可以将你的orin主板寄到我公司,我们帮你看一下。 现在远程解决感觉没有什么思路。

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

                            @skys
                            胡乱猜测一个,你试试,下面这行删掉,或者在#后面加一个空格。
                            841edfdf-9121-4766-8d81-251723f351bd-image.png

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

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              skys @veye_xumm
                              last edited by

                              @veye_xumm 之前只有一行的版本我也试过,还是一样的问题。我准备刷JP5.0.2试一试是否可以正常工作

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

                                @skys said in Orin上使用IMX307的问题:

                                JP5.0.2

                                这个版本刚刚发布,我们也在移植驱动中。

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

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  skys @veye_xumm
                                  last edited by skys

                                  @veye_xumm 好的,请问有预计时间吗?以及dtb文件未生效的问题,我能否顺着dmesg内的路径直接替换?

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

                                    @skys 估计得一个星期左右吧

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

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      skys @veye_xumm
                                      last edited by

                                      @veye_xumm 刚刚编辑掉了一个问题,如果直接替换掉dtb文件是否会影响正常使用?

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

                                        @skys 5.0.2的我们没有发布,不能保证。最坏的情况是系统起不来。

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

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          skys @veye_xumm
                                          last edited by

                                          @veye_xumm 好的,如果用5.0.1DP的话直接替换掉是可以的吗?

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

                                            @skys 可以

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

                                            S 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