Hi, I got a couple of IMX477 cameras recently and I’m trying to get the driver installed on my Jetson Nano B01. When I run ./install_imx477.sh it just bails out with this:
Cannot find the corresponding deb package, please send the following information to [email protected]
Is there something I’m doing wrong in how I’m running the script? The cameras won’t show up at all without the driver.
Hi, sorry you’re hitting that. That message basically means the install script couldn’t find a .deb that matches the kernel you’re actually running. Can you share a bit more about your setup so I can point you at the right package?
Which Jetson board (Nano, Xavier NX, etc.)?
Output of uname -a or just the kernel version string
And running ./install_imx477.sh prints exactly this:
Cannot find the corresponding deb package, please send the following information to [email protected]
Kernel version: 4.9.201-tegra-32.5.2-20210709090126
Jetson type: Nano
Thanks, that’s helpful. A couple of things to check — do you have any Arducam deb packages already downloaded on the system? Also, where did you get the install script from, and are you running it with sudo?
Found it. Look closely at the two version strings:
The deb you have is built for kernel 4.9.201-tegra-32.5.1-20210302195021
Your running kernel is 4.9.201-tegra-32.5.2-20210709090126
That’s a kernel version mismatch. The script looks for a deb that matches the running kernel exactly, so even though the file exists, it’s for 32.5.1 and your board is on 32.5.2. That’s why it reports “Cannot find the corresponding deb package” — there’s no matching package for your exact kernel.
Don’t try to force-install the 32.5.1 deb on a 32.5.2 kernel. The right path here is the automatic driver installation procedure, which handles building/fetching the right driver for the kernel you’re actually on. It’s documented in the “Automatic Driver Installation (only for L4T32.4.3 and later versions)” section here:
Ah, I totally missed that the versions differ by that last digit. I was staring at “4.9.201-tegra” and assuming it matched. Let me go through the automatic install section and see how it goes.
Okay, following the documented automatic procedure instead of the script. It’s progressing differently now — it’s not throwing the “cannot find deb package” error anymore. It’s going through the install steps. I’ll report back once it finishes and I can test the camera.
Great, that’s the expected behavior — the automatic procedure targets the running kernel so it won’t hit that mismatch. A couple of tips while it runs:
Make sure you’re on the exact L4T version the doc assumes (L4T32.4.3 or later — your 32.5.2 qualifies)
Reboot after the install completes
Then check with ls /dev/video* and try a quick capture to confirm the IMX477 is detected
If anything errors out during the build/fetch step, paste the output here and we’ll sort it out.
It finished and after a reboot I see /dev/video0 now, which I wasn’t getting before. So the camera is at least being detected. Thanks for pointing out the kernel version mismatch — I never would have caught that.
Perfect, glad it’s detected. To summarize for anyone else landing on this thread:
Symptom: ./install_imx477.sh fails with “Cannot find the corresponding deb package” on a Jetson Nano B01.
Root cause: kernel version mismatch. The available deb was built for 4.9.201-tegra-32.5.1-20210302195021 while the running kernel was 4.9.201-tegra-32.5.2-20210709090126. The script needs a deb matching the running kernel exactly, so it couldn’t find one — installing the 32.5.1 deb on a 32.5.2 kernel is not the fix.
After running that and rebooting, the IMX477 shows up as /dev/video0. If you still get no video node after this, share your uname -a output and the install log and we’ll dig further.