Error Running Installation Script for ArduCAM IMX477 Camera on Jetson Xavier NX

Hi, I’m getting an error while running the installation script for my camera setup. I’m trying to interface the camera with a Jetson Xavier NX and the install script just fails partway through. I’ve attached a screenshot of the error. Anyone know what’s going on here?

Hi, sorry you’re running into this. Can you share a bit more so we can narrow it down?

  1. Which camera model exactly are you using?
  2. Which Jetson board and L4T/JetPack version are you on?
  3. Which installation script are you running (the one from our driver package?), and can you paste the terminal output as text rather than a screenshot if possible?

Also, does the error happen at the very start of the script or after it starts building the driver module?

Sure. The camera is the ArduCAM 12MP IMX477 Motorized Focus High Quality Camera for Jetson Nano (https://www.arducam.com/product/arducam-12mp-imx477-motorized-focus-high-quality-camera-for-jetson-nano/). My host platform is a Jetson Xavier NX.

The error comes up while running the installation script. I don’t have the text handy since it’s just in the screenshot I posted, but it fails during the script run. Let me know what else you need.

Thanks. Quick note first: the IMX477 motorized focus camera is normally documented for the Jetson Nano, so the Xavier NX is a different target. That’s often where driver installation issues show up.

Can you do two things for me?

  • Re-run the install script and copy the full output into a text file, then paste the last ~30-40 lines here (especially anything mentioning the module build or a kernel version mismatch).
  • Tell me the exact JetPack/L4T version on the Xavier NX (check with cat /etc/nv_tegra_release).

With that we can tell whether it’s a build error vs. a compatibility problem.

Here’s the output from cat /etc/nv_tegra_release:

# R35 (release), REVISION: 1.0, GCID: ..., BOARD: t186ref, EABI: aarch64

And here’s the tail of the install script output:

... building kernel module ...
Makefile:xxxx: *** missing separator. Stop.
make[1]: *** [Makefile:xxx: modules] Error 2
make: *** [Makefile:xxx: modules] Error 2
[error] driver build failed

So it looks like the module build is failing, not just a permissions thing.

Good, that’s helpful. The missing separator / Error 2 during the modules build means the script didn’t complete the kernel module compile, so nothing got installed.

Before we chase the Makefile issue further, I want to confirm the camera is actually supported on your host. Our supported platform list for this camera is the key thing to check here. I’ve sent you the supported list document through private message, can you take a look at it and confirm your setup against it?

Got the document, thanks. Looking at it now. So it does seem to be oriented around the Jetson Nano rather than the Xavier NX. Do you know if there’s any way to get it running on the Xavier NX or is that just not supported?

Right, that matches what we’re seeing. For this IMX477 motorized focus version the supported target on that list is the Jetson Nano, and the Xavier NX isn’t on it, which is consistent with the driver build failing on your R35 / JetPack 5 setup.

So to summarize where we are:

  • The camera is the ArduCAM 12MP IMX477 Motorized Focus camera.
  • You’re on a Jetson Xavier NX (L4T R35.1.0 / JetPack 5.x).
  • The install script fails during the kernel module build with missing separator and Error 2, so the driver never installs.
  • The root cause points to a platform mismatch, since your board isn’t in the supported list for this camera.

Please check the supported list I sent you and confirm your exact board/JetPack against it. If you want to stay on the Xavier NX, we’d need to look at which of our camera models is actually listed as supported on that board. Let me know and I can point you in the right direction.