Hey, I’m stuck getting the IMX477 camera working on my Jetson Xavier NX. The driver that the setup instructions point to doesn’t match my kernel. The only driver in the repo under Jetson/IMX477/driver/XavierNx is built for kernel 4.9.140-32.4.3, but after following the instructions I ended up on 4.9.253 L4T-32.7.1. When I run the automatic install script it just fails saying it can’t find the corresponding deb package. Is there a driver build for the newer kernel, or am I doing something wrong?
Hi, welcome. Can you share a bit more about your setup so we can point you to the right driver?
- Output of
uname -a(the full kernel string) - JetPack / L4T version
- Exact Jetson model (Dev Kit version, or a module on a custom carrier)
- Which script you ran and the full output
The kernel version matters a lot here, because the camera driver deb is built per kernel.
Here’s everything:
- Product: IMX477 MIPI camera for Jetson Xavier NX (SKU: B0251)
uname -agives: 4.9.253-tegra-32.7.1-20220219090344- Kernel after following the instructions: 4.9.253 L4T-32.7.1
- Jetson type: Xavier NX (Developer Kit Version)
- Driver repo I looked at: MIPI_Camera/Jetson/IMX477/driver/XavierNx at master · ArduCAM/MIPI_Camera · GitHub
- Script: install_imx477.sh
The repo only has a driver for 4.9.140-32.4.3, nothing for 4.9.253.
Thanks, that helps. When you ran install_imx477.sh, what did the terminal print at the end? Paste the exact log if you still have it.
This is the tail of the output:
Cannot find the corresponding deb package, please send the following information to [email protected]
Kernel version: 4.9.253-tegra-32.7.1-20220219090344
Jetson type: Xavier NX (Developer Kit Version)
The script basically gives up because it can’t match my kernel. I also double-checked the GitHub repo and there’s only the 4.9.140-32.4.3 driver there.
Got it. What you’re seeing is expected. The install_imx477.sh script looks for/builds the deb for one specific kernel target, and it only knows the older 4.9.140-32.4.3. On L4T-32.7.1 (the newer kernel) the automatic installer is obsolete, so it can’t find a matching deb package and bails out with exactly that message.
So don’t use the install_imx477.sh script on this system anymore. Instead, follow the manual driver install documented here:
That page covers the current supported install path. Go through the driver section, then reboot. Let me know how it goes.
Sorry to bump this, but I posted a while back and never heard back, so reposting in case it got missed. Still stuck with the same thing:
- Following the instructions I get kernel 4.9.253 L4T-32.7.1
- The only driver in the repo is for 4.9.140-32.4.3
- install_imx477.sh fails with “Cannot find the corresponding deb package”
Kernel version: 4.9.253-tegra-32.7.1-20220219090344
Jetson type: Xavier NX (Developer Kit Version)
Any update on this?
No problem, sorry for the delay. To recap where we landed: the blocker is the install_imx477.sh script. It can’t provision a deb for kernel 4.9.253-tegra-32.7.1-20220219090344, so the automatic installer is obsolete on this newer L4T/JetPack and that’s why it throws the “Cannot find the corresponding deb package” error.
Skip the script entirely and use the manual driver install instead:
https://www.arducam.com/docs/camera-for-jetson-nano/native-jetson-cameras-imx219-imx477/imx477-how-to-install-the-driver/
That documentation is the supported install path for the IMX477 on the Xavier NX running L4T-32.7.1. If it still fails after working through that page, paste the build/install output here and we’ll dig in further.