Arducam Jetvariety install fails on Jetson Orin NX 8GB with Forecr DSBOARD-NX2 (No DTB found)

Hi everyone, I’m stuck trying to get an Arducam 1MP*2 OV9281 Global Shutter Monochrome Stereoscopic Camera Bundle working on a Jetson Orin NX 8GB mounted on a Forecr DSBOARD-NX2 carrier board. I’m following the Jetvariety quick-start guide and running ./install_full.sh -m arducam, but it dies partway through with: RuntimeError: No DTB found for Orin NX 8GB for DSBOARD-NX2! It looks like the failure happens while the kernel package is installing device tree overlays. Anyone seen this on the DSBOARD-NX2?

Can you post the full terminal output from the point where it starts unpacking the package onwards, and let me know which camera bundle and L4T version you’re on? Also, has this exact setup ever worked before on a different module?

Sure. Hardware is a Jetson Orin NX 8GB on a Forecr DSBOARD-NX2, with the Arducam 1MP*2 OV9281 Global Shutter Monochrome Stereoscopic Camera Bundle, following the guide at Quick start - Arducam Wiki

Command: ./install_full.sh -m arducam

The first part looks normal - it downloads the kernel package fine:

  • Saving to: ‘arducam-nvidia-l4t-kernel-t234-nx-5.10.192-tegra-35.5.0-20240307155836_arm64.deb’
  • arducam-nvidia-l4t-kernel-t234-nx-5.10.192-te 100%[=================================================================================================>] 9.43M 3.76MB/s in 2.5s
  • 2024-04-10 12:28:58 (3.76 MB/s) - ‘arducam-nvidia-l4t-kernel-t234-nx-5.10.192-tegra-35.5.0-20240307155836_arm64.deb’ saved [9888828/9888828]

Then it asks for sudo, reads the dpkg database (148148 files and directories currently installed), prepares and unpacks the package, and starts ‘Setting up arducam-nvidia-l4t-kernel (5.10.192-tegra-35.5.0-20240307155836)…’ - that’s where things go wrong.

Thanks - the download and unpack are fine. The problem is in the package’s post-installation script. Can you paste everything from the traceback onward? One thing that stands out: the ‘Unpacking … over …’ line shows the same version was already there, so I’m wondering if there was an earlier failed install attempt on this board.

Here’s the rest of it:
Traceback (most recent call last):
File “/opt/arducam/jetson-io/config-by-hardware.py”, line 125, in
main()
File “/opt/arducam/jetson-io/config-by-hardware.py”, line 94, in main
jetson = board.Board()
File “/opt/arducam/jetson-io/Jetson/board.py”, line 230, in init
self.dtb = _board_get_dtb(self.compat, self.model, dtbdir)
File “/opt/arducam/jetson-io/Jetson/board.py”, line 114, in _board_get_dtb
raise RuntimeError(“No DTB found for %s!” % model)
RuntimeError: No DTB found for Orin NX 8GB for DSBOARD-NX2!
An unknown error occurred while installing dtoverlays.
dpkg: error processing package arducam-nvidia-l4t-kernel (–install):
installed arducam-nvidia-l4t-kernel package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
arducam-nvidia-l4t-kernel
Unknown error, please send the error message to Arducam support

Also - I previously got this exact setup working on a Jetson Orin Nano 8GB instead of the Orin NX 8GB.

Thanks, that’s the key part. The postinst script runs /opt/arducam/jetson-io/config-by-hardware.py to auto-detect your board and pick the matching device tree overlay. It calls board.Board(), which calls _board_get_dtb() and raises ‘No DTB found for Orin NX 8GB for DSBOARD-NX2!’ - meaning the package simply doesn’t contain a DTB for that module + carrier combination. When that script exits non-zero, dpkg fails the postinst and reports exit status 255. The fact that the same camera bundle worked on the Orin Nano 8GB is a strong hint that the failure is specific to the Orin NX 8GB + DSBOARD-NX2 combo rather than the cameras themselves.

I’m using the Forecr DSBOARD-NX2 because it has features the standard dev board doesn’t. The relevant hardware should be mapped at the same locations across the boards though. Is there a way to manually do whatever install_full.sh is doing? Honestly I can’t remember if I ran install_full.sh on the original dev board and then swapped modules. My existing Jetson Orin Nano on the same DSBOARD-NX2 has /dev/video0 working fine. I can pull files from that working setup and send them over if that would help.

To summarize where this stands: install_full.sh downloads arducam-nvidia-l4t-kernel-t234-nx-5.10.192-tegra-35.5.0-20240307155836_arm64.deb and installs it, then the postinst calls config-by-hardware.py to select and install the dtoverlay for the detected hardware. On your board it detects ‘Orin NX 8GB for DSBOARD-NX2’ and can’t find a matching DTB, so it aborts - there’s no device tree support in the package for that third-party carrier + module combination. Because of that, I don’t have a supported manual overlay procedure for the Orin NX 8GB on the DSBOARD-NX2; we can’t confirm whether the problem is the camera or the platform. Since the same setup works on your Orin Nano + DSBOARD-NX2, the cameras are most likely fine. Current recommendation: test the cameras on the official Arducam development kit, and if they don’t work there either, reach out and we’ll continue from there.