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

    IMX385 on Jetson Xavier NX JetPack5.01DP can't find camera

    Scheduled Pinned Locked Moved VEYE MIPI camera
    25 Posts 2 Posters 9.4k 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
      maponarooo @veye_xumm
      last edited by maponarooo

      @veye_xumm When I look the ffc connection is fine.

      This is gstreamer error log....

      ~$ gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY,width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nv3dsink -e
      Setting pipeline to PAUSED ...
      Pipeline is live and does not need PREROLL ...
      Setting pipeline to PLAYING ...
      New clock: GstSystemClock
      ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
      Caught SIGSEGV
      Additional debug info:
      gstv4l2src.c(660): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
      Buffer pool activation failed
      EOS on shutdown enabled -- waiting for EOS after Error
      Waiting for EOS...
      ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
      Additional debug info:
      gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
      streaming stopped, reason not-negotiated (-4)
      #0 0x0000ffff8b6ddf08 in __GI___poll
      #1 0x0000ffff8b80bb30 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
      #2 0x0000ffff8b80bef0 in g_main_loop_run ()
      #3 0x0000ffff8b9aeac4 in gst_bus_poll
      #4 0x0000aaaace904980 in event_loop
      #5 0x0000aaaace9038c8 in main (argc=<optimized out>, argv=<optimized out>)
      Spinning. Please run 'gdb gst-launch-1.0 2954' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

      After, dmesg logs....

      $dmesg
      [ 153.864552] ------------[ cut here ]------------
      [ 153.864582] WARNING: CPU: 4 PID: 2970 at /dvs/git/dirty/git-master_linux/kernel/nvidia/drivers/platform/tegra/rtcpu/capture-ivc.c:47 tegra_capture_ivc_tx+0x118/0x150
      [ 153.864913] Modules linked in: fuse xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter lzo_rle lzo_compress zram overlay bnep aes_ce_blk crypto_simd rtk_btusb snd_soc_tegra186_asrc cryptd ofpart snd_soc_tegra186_arad snd_soc_tegra186_dspk snd_soc_tegra210_ope snd_soc_tegra210_mvc btusb snd_soc_tegra210_afc cmdlinepart snd_soc_tegra210_iqc aes_ce_cipher snd_soc_tegra210_dmic ghash_ce btrtl snd_soc_tegra210_adx input_leds qspi_mtd snd_soc_tegra210_amx sha2_ce btbcm sha256_arm64 snd_soc_tegra210_i2s snd_soc_tegra210_admaif snd_soc_tegra210_mixer mtd btintel snd_soc_tegra210_sfc sha1_ce snd_soc_tegra_pcm leds_gpio snd_soc_tegra210_adsp snd_soc_spdif_tx pwm_fan snd_soc_tegra_machine_driver tegra210_adma snd_soc_tegra_utils tegra_bpmp_thermal snd_soc_simple_card_utils snd_soc_tegra210_ahub max77620_thermal rtl8822ce nvadsp userspace_alert cfg80211 snd_hda_codec_hdmi
      [ 153.865326] spi_tegra210_qspi veyecam(O) snd_hda_tegra snd_hda_codec snd_hda_core spi_tegra114 binfmt_misc loop nvgpu ina3221 ip_tables x_tables
      [ 153.865380] CPU: 4 PID: 2970 Comm: v4l2src0:src Tainted: G W O 5.10.65-tegra #1
      [ 153.865385] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
      [ 153.865392] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
      [ 153.865401] pc : tegra_capture_ivc_tx+0x118/0x150
      [ 153.865407] lr : tegra_capture_ivc_tx+0x2c/0x150
      [ 153.865411] sp : ffff8000174837d0
      [ 153.865417] x29: ffff8000174837d0 x28: ffff0000e8b25200
      [ 153.865433] x27: 0000000040045612 x26: 0000000000000000
      [ 153.865453] x25: 0000000000000118 x24: ffff0000eaa7b580
      [ 153.865466] x23: ffff800017483900 x22: ffff0000bbb58e80
      [ 153.865478] x21: ffff000083368400 x20: 0000000000000118
      [ 153.865490] x19: ffff000083222080 x18: 0000000000000010
      [ 153.865503] x17: 0000000000000000 x16: 0000000000000000
      [ 153.865514] x15: ffff0000bbb593f0 x14: ffffffffffffffff
      [ 153.865528] x13: ffff800097483627 x12: ffff80001748362f
      [ 153.865549] x11: 69762d6572757470 x10: 61632d6172676574
      [ 153.865562] x9 : 0000000000000000 x8 : ffff800017483a18
      [ 153.865574] x7 : 000000000000ffff x6 : 0000000000000002
      [ 153.865585] x5 : 0000000000000000 x4 : 0000000000000049
      [ 153.865597] x3 : 0000000000000000 x2 : ffff8000101b6d10
      [ 153.865612] x1 : 0000000000000000 x0 : 0000000000000000
      [ 153.865630] Call trace:
      [ 153.865638] tegra_capture_ivc_tx+0x118/0x150
      [ 153.865645] tegra_capture_ivc_control_submit+0x34/0x60
      [ 153.865653] vi_capture_ivc_send_control.isra.0+0x68/0x120
      [ 153.865660] csi_stream_tpg_disable+0x70/0xb0
      [ 153.865666] csi_stream_release+0x68/0xd0
      [ 153.865673] vi_capture_shutdown+0x48/0xf0
      [ 153.865680] vi_channel_close_ex+0x2c/0x80
      [ 153.865697] vi5_channel_start_streaming+0x230/0x320
      [ 153.865707] tegra_channel_start_streaming+0x50/0x80
      [ 153.865721] vb2_start_streaming+0x6c/0x150
      [ 153.865729] vb2_core_streamon+0x98/0x1a0
      [ 153.865736] vb2_streamon+0x30/0x80
      [ 153.865743] vb2_ioctl_streamon+0x54/0x60
      [ 153.865750] v4l_streamon+0x3c/0x50
      [ 153.865756] __video_do_ioctl+0x180/0x3f0
      [ 153.865763] video_usercopy+0x27c/0x730
      [ 153.865796] video_ioctl2+0x3c/0x180
      [ 153.865803] v4l2_ioctl+0x64/0x90
      [ 153.865810] __arm64_sys_ioctl+0xa8/0xf0
      [ 153.865818] el0_svc_common.constprop.0+0x7c/0x1c0
      [ 153.865828] do_el0_svc+0x34/0xa0
      [ 153.865836] el0_svc+0x1c/0x30
      [ 153.865852] el0_sync_handler+0xa8/0xb0
      [ 153.865859] el0_sync+0x16c/0x180
      [ 153.865865] ---[ end trace 077e1aa560ee9778 ]---
      [ 153.865981] tegra194-vi5 15c10000.vi: IVC control submit failed
      [ 153.866126] tegra194-vi5 15c10000.vi: csi_stream_release: failed to disable nvcsi tpg on stream 2 virtual channel 0

      quad@quad-nx:~$

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

        @maponarooo
        I think this is caused by a mipi data parsing error.
        It could be hardware or it could be a software reason.
        You can follow this link https://elinux.org/Jetson/l4t/Camera_BringUp#Tips_for_debugging to check the mipi errror details, but I don't recommend it because everything is working fine on my end.
        Here is my suggestion that

        1. Check the hardware connection.
        2. If you have another motherboard, like raspberry pi or jetson other boards that can be used to test the camera, I suggest you test it first.
        3. re-burn the nx's system with sdk manager, then do the driver and dtb installation. In other words, start over with the software installation.

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

          @veye_xumm I have tried my old jetPack 4.61 old image with same IMX385 camera board and Jetson Xavier. But it working well....
          Picture
          I think this is software problem....

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

            @veye_xumm The manual is something wrong...
            Pls check.

            3.5.3 Download the bsp package to the Jetson board
            On Jetson Board:

            wget https://github.com/veyeimaging/nvidia_jetson_veye_bsp/releases/latest/download/nvidia_jetson_veye_bsp.tgz

            Or type in the address bar of your browser:https://github.com/veyeimaging/nvidia_jetson_veye_bsp/releases/latest/download/nvidia_jetson_veye_bsp.tgz

            tar -xzvf nvidia_jetson_veye_bsp.tgz

            But...

            $ wget https://github.com/veyeimaging/nvidia_jetson_veye_bsp/releases/latest/download/nvidia_jetson_veye_bsp.tgz
            --2022-08-15 20:03:06-- https://github.com/veyeimaging/nvidia_jetson_veye_bsp/releases/latest/download/nvidia_jetson_veye_bsp.tgz
            Resolving github.com (github.com)... 20.200.245.247
            Connecting to github.com (github.com)|20.200.245.247|:443... connected.
            HTTP request sent, awaiting response... 302 Found
            Location: https://github.com/veyeimaging/nvidia_jetson_veye_bsp/releases/download/v1.08/nvidia_jetson_veye_bsp.tgz [following]
            --2022-08-15 20:03:06-- https://github.com/veyeimaging/nvidia_jetson_veye_bsp/releases/download/v1.08/nvidia_jetson_veye_bsp.tgz
            Reusing existing connection to github.com:443.
            HTTP request sent, awaiting response... 404 Not Found
            2022-08-15 20:03:06 ERROR 404: Not Found.

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

              @maponarooo
              Thank you for the reminder, I've modified it.
              The file should have a tar.gz suffix instead of tgz.

              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