Jetson Nano unable to run RPi V2 Camera[jetson-io.py NOT functioning]

I need to use the Raspberry Pi V2 Camera with the Jetson Nano 4GB Developer Kit.

I followed the following Jetson Hacks tutorial( Jetson Nano + Raspberry Pi Camera), but that did not work for me.

I then followed the instructions from the official Nvidia documentation(Configuring the CSI Connector).

I ran following command(s)

sudo /opt/nvidia/jetson-io/jetson-io.py

and

sudo python3 /opt/nvidia/jetson-io/jetson-io.py

a window appears for less then a second and then the program exited. There was no any error message from the program.

Any help would be great.

Regards.

For Reference :

Jetson-Info :

  • NVIDIA Jetson Nano (Developer Kit Version)
  • L4T 32.6.1 [ JetPack 4.6 ]
  • Ubuntu 18.04.6 LTS
  • Kernel Version: 4.9.253-tegra
  • CUDA 10.2.300
  • CUDA Architecture: 5.3
  • OpenCV version: 4.5.5
  • OpenCV Cuda: YES
  • CUDNN: 8.2.1.32
  • TensorRT: 8.0.1.6
  • Vision Works: 1.6.0.501
  • VPI: ii libnvvpi1 1.1.15 arm64 NVIDIA Vision Programming Interface library
  • Vulcan: 1.2.70

Hi,
Raspberry Pi camera v2 is enabled by default. Should not need additional steps. Please re-install system image and try the command:

gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink

BTW, Jetson Nano emmc version don’t support jetson-io

We are using the Nvidia Jetson Nano Developer Kit with 4GB RAM(bought in 2019). Is it same as emmc version ?

As we were unable to run using

sudo /opt/nvidia/jetson-io/jetson-io.py

we tried following the ArduCam documentation (since we have used it once before)
and installed from the provided repo(we are unable to post more than one link as we are new forum users).

After that we executed

sudo /opt/arducam/jetson-io/jetson-io.py

It worked fine and we were able to reconfigure the CSI connector to IMX219 and then rebooted the system. The RPi V2 Camera worked after that.
But, using script from ArduCam is still an ad-hoc solution and we would like to be able to run various CSI cameras using Nvidia’s default scripts itself.

We think that the system image installation is fine, since,
we have been able to run multiple OpenCV DNN examples(10 watt mode) TensorRT examples on this, and,
even accessed the encoder and decoder using GStreamer.
The specs which we wrote in the description was by using the jetsonInfo.py script from the jetsonUtilities repo.

Essentially, the Nano is behaving as it should in all aspects till now, except for the /opt/nvidia/jetson-io/jetson-io.py script.
We would like to avoid system image reinstallation if possible.

Kindly, guide us further so we may resolve the issue.

Regards,

Do you have SD card to install the system image? If not, your device could be emmc version.

How do we check if our device is emmc version or not ?

Check by dmesg | grep -i kernel
If the applied tegra210-p3448-0002-p3449-0000-b00.dts device tree that’s emmc version.

nvidia@nvidia-desktop:~$ dmesg | grep -i kernel
[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000 gpt  earlycon=uart8250,mmio32,0x70006000  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1
[    0.000000] Memory: 3568596K/4159488K available (15358K kernel code, 2956K rwdata, 6692K rodata, 8640K init, 612K bss, 115756K reserved, 475136K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000458] kmemleak: Kernel memory leak detector disabled
[    0.207944] DTS File Name: /media/snchen/project/project/32.6/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0002-p3449-0000-b00.dts
[    0.321955] alternatives: patching kernel code
[    0.416512] DTS File Name: /media/snchen/project/project/32.6/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0002-p3449-0000-b00.dts
[    0.554465] eventlib_kernel: keventlib is initialized, test id: 0
[    2.521004] KERNEL: PMC reset status reg: 0x0
[    2.571125] Freeing unused kernel memory: 8640K

1 Like

Here is our output -

In our case it is:

tegra210-p3448-0000-p3449-0000-a02.dts

Detailed output is -

[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt  earlycon=uart8250,mmio32,0x70006000  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0
[    0.000000] Memory: 3568452K/4159488K available (15358K kernel code, 2956K rwdata, 6748K rodata, 8640K init, 612K bss, 115900K reserved, 475136K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.001626] kmemleak: Kernel memory leak detector disabled
[    0.207927] DTS File Name: /var/jenkins_home/workspace/n_nano_kernel_l4t-32.6.1-arducam/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-a02.dts
[    0.321313] alternatives: patching kernel code
[    0.412208] DTS File Name: /var/jenkins_home/workspace/n_nano_kernel_l4t-32.6.1-arducam/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-a02.dts
[    0.549942] eventlib_kernel: keventlib is initialized, test id: 0
[    1.932593] KERNEL: PMC reset status reg: 0x3
[    1.982919] Freeing unused kernel memory: 8640K
[    2.960365] systemd[1]: Listening on udev Kernel Socket.