Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    NVidia Jetson Jetpack 6 support?

    VEYE MIPI camera
    3
    55
    8195
    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.
    • veye_xumm
      veye_xumm @Otca last edited by

      @otca You are welcome.
      I just tested it on my side with the Orin NX 8G version (P3767-0001), and both camera channels are working fine.
      This issue is a bit strange.
      Do you have any other cameras? Could you check if the cam1 on your board is functioning properly?

      O 1 Reply Last reply Reply Quote 0
      • O
        Otca @veye_xumm last edited by

        @veye_xumm Sure, I'll Check it.
        would mind helping me for getting Max FPS please?

        export WIDTH=1920             
        export HEIGHT=1080                                                                
        export FPS=67                                                                                                                                                                              
        v4l2-ctl --set-fmt-video=width=$WIDTH,height=$HEIGHT,pixelformat=GREY --stream-mmap --stream-count=-1 --stream-to=/dev/null
        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
        
        

        According to Veye Wiki, I can get 67 frames per second.
        5eb1ba6f-8223-47de-9bdc-10c4ec26b529-image.png

        Would you please tell me what should I do in addition to get the highest FPS?
        Thanks

        O 1 Reply Last reply Reply Quote 0
        • O
          Otca @Otca last edited by

          @otca Solved:

          ./mv_mipi_i2c.sh -r -f roi -b 9
          ./mv_mipi_i2c.sh -w -f roi -p1 0 -p2 0 -p3 1920 -p4 1080 -b 9
          ./mv_mipi_i2c.sh -r -f maxfps -b 9
          ./mv_mipi_i2c.sh -r -f fps -b 9
          ./mv_mipi_i2c.sh -w -f fps -p1 67 -b 9
          
          1 Reply Last reply Reply Quote 0
          • V
            vitob last edited by

            Ok, I have the same mvcam imx296m with adp-mv1 adapter connected to Orin nx 16GB board from seeed studio.
            IMG_3473.jpg

            I used overlay dtbo loading method. The ‘sudo insmod veye_mvcam.ko’ ran w/o error returning.
            But I got these errors checking ‘dmesg| grep -i mvcam’:
            IMG_3475.jpg

            What could be the reason? I tried both local build .ko and downloaded (latest version) .ko files. Same symptom.

            My system is R36.3 Jetpack 6.0.

            BTW, where does the tegra_camera.ko come from? I seem do not find place to compile it. Thanks.

            veye_xumm 2 Replies Last reply Reply Quote 0
            • V
              vitob last edited by

              Also, besides the tegra-camera.ko question, I noticed the v4l2-core/*.ko also different between nvidia_jetson_veye_bsp release tar ball and default *.ko in /lib/modules/$(uname -r)/kernel/drivers/media/v4l2-core/. How are these *.ko files are compiled in nvidia_jetson_veye_bsp.tar.gz and where are the source files?

              sudo cp nvidia_jetson_veye_bsp/ko/$(uname -r)/upstream/*.ko /lib/modules/$(uname -r)/kernel/drivers/media/v4l2-core/ -f

              V 1 Reply Last reply Reply Quote 0
              • veye_xumm
                veye_xumm @vitob last edited by

                @vitob
                I think the first thing you need to check is whether this baseboard from seed is compatible with the official nVidia carrier board and whether it uses the same dtb?

                V 1 Reply Last reply Reply Quote 0
                • veye_xumm
                  veye_xumm @vitob last edited by

                  @vitob Pls try to get version:
                  https://wiki.veye.cc/index.php/Mv_mipi_i2c.sh_user_guide#model

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    vitob @veye_xumm last edited by vitob

                    @veye_xumm

                    nvidia@ubuntu:/work/git_repo/nvidia_jetson_veye_bsp/mv_tools_jetson/i2c_tools$ ./mv_mipi_i2c.sh -r -f model -b 0
                    model 0 not recognized
                    nvidia@ubuntu:/work/git_repo/nvidia_jetson_veye_bsp/mv_tools_jetson/i2c_tools$ ./mv_mipi_i2c.sh -r -f model -b 1
                    model 0 not recognized
                    nvidia@ubuntu:/work/git_repo/nvidia_jetson_veye_bsp/mv_tools_jetson/i2c_tools$ ./mv_mipi_i2c_new.sh -r -f model -b 1
                    NOT SUPPORTED!
                    nvidia@ubuntu:/work/git_repo/nvidia_jetson_veye_bsp/mv_tools_jetson/i2c_tools$ ./mv_mipi_i2c_new.sh -r -f model -b 0
                    NOT SUPPORTED!

                    1 Reply Last reply Reply Quote 0
                    • V
                      vitob @veye_xumm last edited by

                      @veye_xumm , let me confirm this, although I used sdkmanager to flash the board with nvidia native packages w/o issues.

                      veye_xumm 1 Reply Last reply Reply Quote 0
                      • V
                        vitob @vitob last edited by

                        @vitob said in NVidia Jetson Jetpack 6 support?:

                        tegra-camera.ko question, I noticed the v4l2-core/*.ko

                        In the meantime, can you help explain this question on tegra-camera.ko and v4l2-core/*.ko? Why they needs to be updated and where can I find the source code of them? Once updating them using the veye release .ko, will that affect other cameras (for example, I want to port/develop driver for another sensor myself)? Thanks.

                        veye_xumm 1 Reply Last reply Reply Quote 0
                        • veye_xumm
                          veye_xumm @vitob last edited by

                          @vitob
                          Please use -b 9 or -b 10 as an argument.

                          https://wiki.veye.cc/index.php/I2c_bus_number_and_video_node

                          For i2c bus number, please refer to this link above.

                          1 Reply Last reply Reply Quote 0
                          • veye_xumm
                            veye_xumm @vitob last edited by

                            @vitob said in NVidia Jetson Jetpack 6 support?:

                            In the meantime, can you help explain this question on tegra-camera.ko and v4l2-core/*.ko? Why they needs to be updated and where can I find the source code of them? Once updating them using the veye release .ko, will that affect other cameras (for example, I want to port/develop driver for another sensor myself)? Thanks.

                            These driver changes add support for RAW8 RAW10 RAW12 data types on the one hand, and externally triggered modes on the other.
                            Their code reference:
                            https://github.com/veyeimaging/nvidia_jetson_veye_bsp/tree/master/kernel_patch_4_mv/l4t-r36.3

                            Compile step by step reference::
                            https://wiki.veye.cc/index.php/VEYE_CS_Camera_source_for_Jetson

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post