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

    Xavier AGX Jetpack4.6不能刷入MPI327相机驱动

    Scheduled Pinned Locked Moved VEYE MIPI camera
    11 Posts 2 Posters 2.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.
    • W Offline
      wudecao @wudecao
      last edited by

      @wudecao debug.txt
      这是从串口拷贝的dmsg信息

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

        @wudecao
        您好,如之前讨论过,你的操作是没问题的。而且你的系统中/boot/删掉都可以正常启动,很可能是jetpack4.6新的机制——rootfs冗余机制引起的。
        请参考一下nVidia的文档:
        https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra Linux Driver Package Development Guide/rootfs_custom.html#wwpID0E06E0HA

        进一步排查一下,期待update进展。

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

        W 2 Replies Last reply Reply Quote 0
        • W Offline
          wudecao @veye_xumm
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • W Offline
            wudecao @veye_xumm
            last edited by

            @veye_xumm我查阅资料,并使用命令:

            sudo nvbootctrl -t rootfs get-current-slot

            提示双rootfs并未开启(默认是不开的,需要手动配置),目前不知道删除boot还能正常启动的原因

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

              @wudecao
              这个问题暂时我没有思路。你如果愿意,可以把你的agx寄到我公司,我尝试追踪解决一下。
              私信我,会给你邮寄地址。

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

              W 4 Replies Last reply Reply Quote 0
              • W Offline
                wudecao @veye_xumm
                last edited by

                @veye_xumm 已解决,使用host PC方法刷入固件,更新成功。Jetpack 4.6包含rootfs的备份隐藏分区,需要在host PC上使用flash -k命令才能同步更新隐藏分区。

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wudecao @veye_xumm
                  last edited by

                  @veye_xumm Oh No!出现错误

                  agx@agx-desktop:~$ dmesg | grep veye327
                  [ 4.777449] i2c i2c-35: of_i2c: modalias failure on /i2c@3180000/tca9548@70/i2c@5/veye327_f@3b
                  [ 4.777453] i2c i2c-35: Failed to create I2C device for /i2c@3180000/tca9548@70/i2c@5/veye327_f@3b
                  [ 4.778924] veye327 30-003b: probing v4l2 sensor
                  [ 4.779299] veye327 30-003b: devm_clk_get failed for pllp_grtba
                  [ 4.779392] veye327 30-003b: tegracam sensor driver:veye327_v2.0.6
                  [ 4.780429] veye327 30-003b: read sensor id 6
                  [ 4.780551] veye327 30-003b: Detected VEYE327 sensor
                  [ 4.780594] veye327 31-003b: probing v4l2 sensor
                  [ 4.780749] veye327 31-003b: devm_clk_get failed for pllp_grtba
                  [ 4.780835] veye327 31-003b: tegracam sensor driver:veye327_v2.0.6
                  [ 4.781528] veye327 31-003b: veye327_board_setup: error during i2c read probe (-121)
                  [ 4.781629] veye327 31-003b: board setup failed
                  [ 4.781712] veye327: probe of 31-003b failed with error -121
                  [ 4.781746] veye327 32-003b: probing v4l2 sensor
                  [ 4.781837] veye327 32-003b: devm_clk_get failed for pllp_grtba
                  [ 4.781894] veye327 32-003b: tegracam sensor driver:veye327_v2.0.6
                  [ 4.782584] veye327 32-003b: veye327_board_setup: error during i2c read probe (-121)
                  [ 4.782665] veye327 32-003b: board setup failed
                  [ 4.782732] veye327: probe of 32-003b failed with error -121
                  [ 4.782764] veye327 33-003b: probing v4l2 sensor
                  [ 4.783110] veye327 33-003b: devm_clk_get failed for pllp_grtba
                  [ 4.783190] veye327 33-003b: tegracam sensor driver:veye327_v2.0.6
                  [ 4.784262] veye327 33-003b: veye327_board_setup: error during i2c read probe (-121)
                  [ 4.784418] veye327 33-003b: board setup failed
                  [ 4.784511] veye327: probe of 33-003b failed with error -121
                  [ 4.784545] veye327 34-003b: probing v4l2 sensor
                  [ 4.784658] veye327 34-003b: devm_clk_get failed for pllp_grtba
                  [ 4.784739] veye327 34-003b: tegracam sensor driver:veye327_v2.0.6
                  [ 4.818131] veye327 34-003b: veye327_board_setup: error during i2c read probe (-121)
                  [ 4.822306] veye327 34-003b: board setup failed
                  [ 4.822383] veye327: probe of 34-003b failed with error -121
                  [ 4.822458] veye327 35-003b: probing v4l2 sensor
                  [ 4.822640] veye327 35-003b: tegracam sensor driver:veye327_v2.0.6
                  [ 4.838064] veye327 35-003b: veye327_board_setup: error during i2c read probe (-121)
                  [ 4.838069] veye327 35-003b: board setup failed
                  [ 4.838168] veye327: probe of 35-003b failed with error -121
                  [ 9.414327] tegra194-vi5 15c10000.vi: subdev veye327 30-003b bound

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wudecao @veye_xumm
                    last edited by wudecao

                    @veye_xumm 但是驱动都已经显示装上了呀

                    agx@agx-desktop:~$ ls /proc/device-tree/i2c@3180000/tca9548@70/i2c@*
                    /proc/device-tree/i2c@3180000/tca9548@70/i2c@0:
                    '#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_a@3b

                    /proc/device-tree/i2c@3180000/tca9548@70/i2c@1:
                    '#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_b@3b

                    /proc/device-tree/i2c@3180000/tca9548@70/i2c@2:
                    '#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_c@3b

                    /proc/device-tree/i2c@3180000/tca9548@70/i2c@3:
                    '#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_d@3b

                    /proc/device-tree/i2c@3180000/tca9548@70/i2c@4:
                    '#address-cells' i2c-mux,deselect-on-exit name reg '#size-cells' veye327_e@3b

                    /proc/device-tree/i2c@3180000/tca9548@70/i2c@5:
                    '#address-cells' name '#size-cells' veye327_g@3b
                    i2c-mux,deselect-on-exit reg veye327_f@3b
                    agx@agx-desktop:~$ ls /sys/bus/i2c/drivers/
                    bq27xxx-battery imx390 max9295 'PEX9749 thermal sensor' tps65132
                    cs53l30 imx477 max9296 rt5640 ucsi_ccg
                    cssc132 ina219x nct1008_nct72 rt5659 usb3503
                    csx307 ina230x ov10823 rtc-rx8025 veye327
                    dummy ina3221x ov23850 sgtl5000 veyecam
                    i2c-ds90ub954 lc898212 ov9281 stepper_pca
                    imx219 lp855x pca953x tas2552
                    imx268 lt6911uxc pca954x tegra_edid
                    imx318 max77620 pca9570 tmpm32xi2c

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wudecao @veye_xumm
                      last edited by

                      @veye_xumm 但是,虽然报错。
                      使用命令:gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvoverlaysink sync=false

                      相机是能够工作的...

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

                        @wudecao
                        这个不能算是错误,因为你并没有插入6个摄像头。所以会提示有的摄像头检测到,有的检测不到。

                        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

                        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