AR0234 camera driver install fails on NVIDIA Orin NX with L4T 35.2.1

Hi, I’m trying to adapt an Arducam AR0234 camera on an NVIDIA Orin NX Developer Kit running L4T 35.2.1. The driver install keeps failing during the post-installation script when it tries to install the dtoverlays. The package is arducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb. Any ideas what’s going wrong?

Can you post the exact install command and the full terminal output? Also confirm the L4T version and hardware details, since the dtoverlay step is pretty sensitive to board detection.

Sure. I ran:

dpkg -i arducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb

It started unpacking without any obvious problem:

(Reading database … 146488 files and directories currently installed.)
Preparing to unpack arducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb …
Unpacking arducam-nvidia-l4t-kernel (5.10.104-tegra-35.2.1-20230315052005) over (5.10.104-tegra-35.2.1-20230315052005) …
Setting up arducam-nvidia-l4t-kernel (5.10.104-tegra-35.2.1-20230315052005) …

Okay, so the package unpacks and starts setup normally, which means it’s not a corrupt .deb. What came right after the ‘Setting up…’ line? The failure trace should be the next block.

Right after that I get a Python traceback:

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 NVIDIA Orin NX Developer Kit!

Then it prints:

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

Thanks, that matches what I suspected. First, to answer the support side of this: L4T 35.2.1 does support the AR0234. This failure is not happening at the camera driver stage - it’s in the post-installation dtoverlay configuration step. The package’s config-by-hardware.py script is crashing before any overlay gets applied. To keep troubleshooting, could you share front and back pictures of the Jetson Orin NX? You can send them via PM if you’d rather not post photos publicly. I want to verify the board and carrier before suggesting the next adaptation step.

Good to know it’s not a camera support issue. Just so I have it straight: does the AR0234 actually work with the Orin NX, and if it does, what additional adaptations do I need to make?

Yes, the AR0234 is supported on L4T 35.2.1, so that part is confirmed. The actual blocker is DTB detection. During install, config-by-hardware.py calls board.Board(), which calls _board_get_dtb() to find a matching device tree blob for the detected model ‘NVIDIA Orin NX Developer Kit’. When no matching DTB is found, it raises RuntimeError, which bubbles up as ‘No DTB found for NVIDIA Orin NX Developer Kit!’. That’s what causes the dtoverlay install to report the unknown error and dpkg to exit with status 255. So the next step is verifying the exact board/carrier hardware - the front and back pictures will help with that. Once we confirm the board details, we can work through the DTB matching and the adaptation needed.