Hi, trying to install the driver for the Arducam 2MP*2 Stereo Camera (Dual OV2311 Monochrome Global Shutter Camera Module) on a Jetson Nano and the installer just bails out with:
Cannot find the corresponding deb package, please send the following information to [email protected]
It never even starts downloading anything, so I assume there’s just no package for my kernel. Environment:
Kernel: 4.9.299-tegra-32.7.3-20221122092935
Board: Jetson Nano
Camera: Arducam 2MP*2 Stereo Camera / Dual OV2311 monochrome global shutter
Is there a deb for this kernel, or do I have to build the driver myself?
Thanks for the details. That message means the install script looked for a prebuilt deb matching your running kernel and didn’t find one — there’s no matching package for 4.9.299-tegra-32.7.3. Have a look at this thread, it covers the same driver compatibility problem on Jetson Nano/NX:
That should get you pointed in the right direction for building against your kernel.
OK, read through it. So the root cause is simply that there’s no deb for the newer kernel version, right? I’m fine building it, I just want to confirm the mechanism before I start. Here’s what the script prints right before it fails:
Checking kernel version…
Kernel version: 4.9.299-tegra-32.7.3-20221122092935
Cannot find the corresponding deb package
Do I follow the same steps as in that thread, or is it IMX477-specific and won’t apply to OV2311?
Same idea. The thread is written around IMX477 but the underlying issue is the kernel/driver mismatch, not the sensor model, so the build steps carry over. Follow the guide there to get the driver compiled against your running kernel. If you hit a specific error during the build, paste it here along with the command you ran and we can take a look.
Alright, so I got further but I’ve run into a different wall. I’m not on an Nvidia dev kit carrier board — I’m using an A203v2 from Seeed Studio with a Jetson Nano 4GB. Seeed ships their own DTS that I have to use, otherwise things like the SD card slot on the carrier board don’t come up at all. But if I install the Arducam kernel with its DTS, it wipes out the Seeed DTS changes.
I know you can include .dts files inside one another and rebuild the kernel — I’m not fully familiar with the process but I can follow instructions. Could someone look at the Seeed DTS and suggest how to merge the Arducam bits in without breaking it?
For context: I had an older kernel with an OEM carrier board and the 2mp jetvariety camera worked fine there, but on that setup the carrier board SD card doesn’t work.
Thanks for laying that out. One important caveat up front: the A203v2 is a third-party carrier board, not an Nvidia-official one. Our camera drivers are only validated against Nvidia’s official carrier boards, so we can’t guarantee they will work on third-party designs — that limitation is already stated on the product page. Officially we’re not able to support that combination.
I understand it’s technically out of scope and I’m not asking you to guarantee anything, I’m asking for pointers. Two approaches I think would work:
Recompile the driver into the kernel with the Seeed dts included, so both sets of nodes exist in the same tree.
Use the reserved-memory directive and include the Arducam dts inside the a203 dts as a container, so the two don’t stomp on each other.
Either should be doable — I mainly need to know which device tree nodes the Arducam driver actually needs, so I don’t clobber the SD card controller configuration in the Seeed one. If you can tell me what to change, I’ll do the rebuild and report back.
Sorry again that the Jetvariety cameras can’t be guaranteed on third-party carrier boards. There are a lot of vendors shipping carrier boards, and our engineering resources are quite limited, which is why the statement is listed on the product page. That said, we’re willing to try to help. If you can send over details of the carrier board you’re using, plus what you’ve already tried with the dts, we’ll take a look and see what we can suggest. Anything you can share about the current dts and the build errors will help.
Fair enough, appreciate the willingness. I’ve mostly found a workaround now, so I’ll write it up in case it helps someone else landing here.
The real issue is that the carrier board vendor’s custom DTS should be a DTS overlay. Because it’s baked into the kernel created during flash, when the Arducam kernel driver installs it overwrites that flashed kernel with its own DTS, and the vendor changes — specifically the SD card slot on the carrier board — are gone.
Installed an NVMe drive, since I needed the disk space to keep working on this board with the module attached at all.
Kept the Arducam nodes in the DTS and re-added the Seeed SD card changes by hand, since letting the driver install replace the kernel was always going to lose them.
Not the cleanest solution but it works, and it’s running.
Glad you worked it out, and thanks for posting the details — that’ll definitely help other people on the same carrier board. Summarizing the thread for anyone reading:
Root cause part 1: no matching deb for kernel 4.9.299-tegra-32.7.3-20221122092935, so the install script fails with “Cannot find the corresponding deb package.”
Root cause part 2: on third-party carrier boards, installing the Arducam driver kernel overwrites the DTS from the flashed kernel, which removes board-specific changes such as the SD card slot support on the Seeed A203v2.
Recommended approach: use a DTS overlay rather than a custom baked-in DTS so the carrier board changes and the camera nodes can coexist.
Workaround used here: preserve the Seeed DTS changes while adding the Arducam nodes, plus an NVMe drive for additional disk space.
If anything else comes up during use, feel free to post back and we’ll take a look.