Jetson Cameras

  1. Home
  2. Docs
  3. Jetson Cameras
  4. Native Jetson Cameras – IMX219/IMX477
  5. IMX477 – How to install the Driver

IMX477 – How to install the Driver

Driver Setup

Note on L4T R32.6.1 and later versions

Ever since L4T R32.6.1 (JetPack 4.6), Nvidia has officially added the IMX477 camera driver and device tree configuration to the SD card image, only with one problem that the IMX219 driver is still enabled by default.

Here’s the work around:

After writing the image to your SD Card, you can modify the camera interface (CSI) through jetson-io:

sudo /opt/nvidia/jetson-io/jetson-io.py

More info can be found in the official guide.

Currently Nvidia’s camera driver offers 2 modes:

Pro tips:

You can use the default camera driver from Nvidia, or you can use our script to install the driver. These two drivers can do pretty much the same thing but we will continue to work on adding more modes in the future.

Even if you already have the Arducam camera driver installed, you can still configure the interface through jetosn-io, simply use the following command:

sudo /opt/arducam/jetson-io/jetson-io.py

Automatic driver installation only for L4T32.4.3 Version and after

1. Download automatic installation script

cd ~
wget https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/install_full.sh

2. Install the driver

chmod +x install_full.sh
./install_full.sh -m imx477

Enter y to reboot.

automatic driver installation2

Uninstallation

If you want to roll back to the original Jetson Nano camera driver, just run the following command to uninstall the Arducam driver, a reboot is also required.
sudo dpkg -r arducam-nvidia-l4t-kernel

Manual driver installation for L4T32.4.3 Version before

Please click here to open the hidden page.

1. Identify Kernel Number

Different kernel versions require different driver packages. You need a matching driver package for your camera to work.

To identify your kernel:

  1. Print your Kernel Version with the following command.
uname -a

Example output:

Linux jetson-desktop 4.9.140-tegra #3 SMP PREEMPT Thu Jul 16 13:41:48 CST 2020 aarch64 aarch64 aarch64 GNU/Linux

4.9.140 is our desired value.

  1. Print your L4T release number with the following command.
cat /etc/nv_tegra_release

Example output:

# R32 (release), REVISION: 4.3, GCID: 21589087, BOARD: t210ref, EABI: aarch64, DATE: Fri Jun 26 04:38:25 UTC 2020

R32 and 4.3 are our desired value.

  1. Combine the desired printed results to get the kernel detail.

From the example above, we get kernel 4.9.140 L4T-32.4.3.

2. Download Driver Package

To download Arducam IMX477 driver package:

  1. Go to Arducam GitHub repository for IMX477 on Jetson with the following URL:
https://github.com/ArduCAM/MIPI_Camera/tree/master/Jetson/IMX477/driver

What if I can’t find a matching driver?

If you can’t find a driver package matching your kernel version, please contact Arducam to update that.

  1. Enter the folder for your target Jetson board.
Jetson nano xavier nx camera driver folder

There are separate driver folders for Jetson Nano and Jetson Xavier NX, so use whichever match your target board.

  1. Click on the name of the matching driver package.
jetson camera driver package click
Example: Driver for Xavier NX with kernel 4.9.140-32.4.3

Refer to the kernel information from last step to decide which package is needed.

  1. Click on the Download button to download the file.
jetson camera driver download button
Example: Download driver for Xavier NX with kernel 4.9.140-32.4.3

3. Install the IMX477 Driver

To install the IMX477 driver for Jetson:

  1. Go to the folder in which you’ve saved the driver package, for example:
cd Downloads
  1. Install the driver with the following command, for example:
sudo dpkg -i arducam-nvidia-l4t-kernel_x.x.xxx-xx.x.x-xxxxxxxxxxxxxx_arm64_imx477.deb
  1. Reboot your Jetson
sudo reboot

Was this article helpful to you? Yes No 3