Hi, I’m stuck right at the very first part of the Camarray 4-camera setup instructions. When I run the install script it just dies with a dtoverlays error and the dpkg post-install step fails with exit status 255. Not sure what I’m doing wrong, has anyone else hit this?
Hey, happy to help figure this out. Can you tell me what hardware you’re running and which setup guide you’re following? Also paste the exact command you ran and the full output/error you saw, so I can see where it’s breaking.
Sure. Hardware is a Jetson NX with an NVMe SSD. uname -a gives:
Linux nx2 4.9.253-tegra #1 SMP PREEMPT Sun Apr 17 02:37:44 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
And the release info shows:
R32 (release), REVISION: 7.2, GCID: 30192233, BOARD: t186ref, EABI: aarch64, DATE: Sun Apr 17 09:53:50 UTC 2022
I’m following this page: Redirecting...
Thanks, that helps a lot. What command did you actually run from the guide? And can you paste the full terminal output so I can see the whole install sequence?
This is the command:
./install_full.sh -m arducam
And here’s the output I get:
2022-10-30 10:57:02 (1.40 MB/s) - ‘arducam-nvidia-l4t-kernel-t194-4.9.253-tegra-32.7.2-20220525063328_arm64.deb’ saved [8364004/8364004]
(Reading database ... 194328 files and directories currently installed.)
Preparing to unpack arducam-nvidia-l4t-kernel-t194-4.9.253-tegra-32.7.2-20220525063328_arm64.deb ...
Unpacking arducam-nvidia-l4t-kernel (4.9.253-tegra-32.7.2-20220525063328) over (4.9.253-tegra-32.7.2-20220525063328) ...
Setting up arducam-nvidia-l4t-kernel (4.9.253-tegra-32.7.2-20220525063328) ...
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 [email protected]
So it downloads the .deb, unpacks it, then blows up during setup with that dtoverlays error.
Ok, that output is actually a really useful clue. The failure isn’t coming from the Arducam driver itself — the post-install script is bailing while writing the dtoverlays, and it’s returning 255. That ‘unknown error while installing dtoverlays’ pattern on R32.7.2 is a known bug in Jetpack 4.6.2, specifically cboot on 32.7.2 failing to read extlinux.conf. Because cboot can’t read the config properly, the overlay install step fails.
So the fix isn’t on the Arducam side, it’s getting the system booting cleanly first. The process is: compile and replace cboot, then re-flash the system with SDKmanager, and only after that re-install the camera driver.
There’s an NVIDIA developer thread that documents the cboot issue and the fix. You’ll need to grab the patched cboot .bin from there, replace it, and reflash. I’ll also send you the driver package link through private message so you have it ready for after the reflash.
Ok I read through that NVIDIA thread and downloaded the .bin file they mention, then reflashed cboot. Rebooted and tried installing the drivers again per the instructions page, but it still doesn’t work. The camera just doesn’t show up anywhere in dmesg. Any idea what’s next?
Got it — a few things to check so we can narrow this down:
- Did you re-flash the full system with SDKmanager after replacing cboot, or only the cboot partition? The document calls for recompiling/replacing cboot and then rewriting the system via SDKmanager; the overlay install depends on the reflash being done properly.
- After the reflash, did you re-run the B0331 driver install from the guide, and did the dtoverlays step complete without the 255 error this time?
- Can you share the output of
dmesg | grep -i -E "arducam|camarray|ov9782|imx"and alsols /sys/bus/i2c/devices/so we can see if the sensors are being detected at all on the I2C bus?
If the install completed but nothing shows in dmesg, it usually means either the reflash step wasn’t fully applied or the overlay isn’t loading — the i2c listing will tell us which.
I replaced cboot and reflashed. The driver install runs now (I don’t get the 255 error anymore), but after reboot the camera doesn’t appear in any of the dmesg logs at all. Running:
dmesg | grep -i -E “arducam|camarray|ov9782|imx”
just returns nothing. So the overlay install error is gone, but the camera is still invisible to the system.
Good — that’s real progress, the dtoverlays 255 failure is gone, which confirms the cboot/reflash fix resolved the original problem. What you’re seeing now is a separate detection issue: the driver installs fine but the sensors aren’t showing up on the bus, so nothing gets logged in dmesg.
To move forward I need two things:
- The output of
ls /sys/bus/i2c/devices/after a fresh reboot, so we can see if the quad-camera board is even registering on I2C. - The contents of your extlinux.conf (
sudo cat /boot/extlinux/extlinux.conf), so we can confirm the right DTB/overlay is actually being loaded after the reflash.
Also double-check the ribbon/cable orientation on the Camarray board and that you’re on the correct CSI connectors for the NX.
Summary so far: the original ‘unknown error while installing dtoverlays’ / dpkg exit status 255 was a Jetpack 4.6.2 cboot bug, not an Arducam driver problem, and reflashing fixed it. The remaining issue is sensor detection — send the i2c and extlinux info and we’ll keep digging.