Hey everyone, I’m stuck trying to get Arducam drivers installed on my setup. Running a Jetson Orin NX 16GB on an ARK PAB Jetson Carrier. When I try to install the kernel package I get a failure right at the post-install script.
Here’s what I ran:
dpkg --install arducam-nvidia-l4t-kernel
It starts off fine then bombs out with what looks like a DTB lookup problem. The installer spits out “An unknown error occurred while installing dtoverlays” and then dpkg fails with exit status 255.
Anyone seen this before? Is the ARK PAB carrier even supported?
That error usually points to the Jetson-IO scripts not being able to match a device tree blob for your board. Can you share the full traceback from the install? It’ll be in the dpkg output - look for the Python traceback from /opt/arducam/jetson-io/config-by-hardware.py. That’ll tell us exactly which DTB lookup is failing.
Yeah here’s the full traceback from the post-install script:
File "/opt/arducam/jetson-io/config-by-hardware.py", line 126, in <module>
main()
File "/opt/arducam/jetson-io/config-by-hardware.py", line 95, in main
jetson = board.Board()
File "/opt/arducam/jetson-io/Jetson/board.py", line 242, in __init__
self.dtb = _board_get_dtb(self.compat, self.model, dtbdir)
File "/opt/arducam/jetson-io/Jetson/board.py", line 151, in _board_get_dtb
raise RuntimeError("No DTB found for %s!" % model)
RuntimeError: No DTB found for NVIDIA Jetson Orin NX 16GB ARK PAB Jetson Carrier!
And then dpkg reports:
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
Looks like it’s choking on line 151 of board.py - the _board_get_dtb function can’t find a matching DTB for my carrier board combo.
Right, that confirms what I suspected. The root cause is that the arducam-nvidia-l4t-kernel package’s Jetson-IO scripts are designed around NVIDIA’s reference carrier board DTBs. The _board_get_dtb() function in /opt/arducam/jetson-io/Jetson/board.py tries to match against a known set of DTB files, and your ARK PAB Jetson Carrier is a third-party board - there’s simply no DTB entry registered for the combination “NVIDIA Jetson Orin NX 16GB ARK PAB Jetson Carrier”.
The DTB lookup mechanism at line 151 doesn’t have a fallback for unrecognized carriers, so it raises that RuntimeError and the whole post-installation script exits with 255, which dpkg interprets as a fatal failure.
I’ve put together a patch that adds the necessary DTB registration for the ARK PAB carrier so the lookup won’t fail. I’ve sent it to you through private message - check your inbox.
Thanks for the patch. I’ve got it downloaded but I want to make sure I’m applying it correctly. The setup guide I was following just said to run a bash script - there was no mention of patches or manual steps. Is there a git repo I should be cloning to apply this against? Just want to make sure I don’t mess up my system by applying it to the wrong files.
Good question. The patch targets the files already installed on your system by the package under /opt/arducam/jetson-io/. You don’t need a git repo - the package extracts those scripts to that location during installation, and that’s where the DTB lookup logic lives.
You have a couple of ways to apply it:
Option 1 - Using the patch command directly:
cd /opt/arducam/jetson-io/
patch -p1 < /path/to/the/patchfile.patch
Option 2 - If you prefer git-style application:
cd /opt/arducam/jetson-io/
git apply /path/to/the/patchfile.patch
(assuming that directory was set up as a git working tree, which it may not be)
The patch command approach is the safer bet. After applying it, re-run the dpkg install and the post-installation script should be able to find the DTB entry for your ARK PAB carrier and proceed normally.
One thing to keep in mind though - since the ARK PAB is a third-party carrier, this patch addresses the DTB lookup specifically, but I can’t guarantee every hardware interface on that carrier will be mapped exactly the same way as on NVIDIA’s reference design. If you hit any further issues after the install completes, post back and we can dig into them.