NVIDIA Jetson kernel driver for Sony IMX585, an 8.3 MP STARVIS 2 back-side illuminated CMOS sensor optimised for low-light and 4K applications.
- 2-lane and 4-lane MIPI CSI-2
- 12-bit RAW output
- 3856×2180 (full resolution)
- 1928×1090 (2×2 binned)
- 25 fps on 4 lanes, 12.5 fps on 2 lanes
Note
Bring-up release runs both modes at conservative 720 Mbps/lane, which caps frame rate at 25 fps on 4 lanes. Higher link rates, ClearHDR and mono support are planned.
IMX585 camera modules are available at kurokesu.com
Install required tools:
sudo apt install -y --no-install-recommends dkmsClone this repository:
cd ~
git clone https://github.com/Kurokesu/imx585-jetson-driver.git
cd imx585-jetson-driver/Run setup script:
sudo ./setup.shSetup script:
- Fetches NVIDIA device tree headers required for build
- Builds and installs kernel module via DKMS
- Builds and copies device tree overlays (
.dtbo) to/boot
Use Jetson-IO to configure CSI connector:
sudo /opt/nvidia/jetson-io/jetson-io.pyNavigate through the menu:
-
Configure Jetson CSI Connector (named "22pin" on 6.2.2, "24pin" on 6.2.1)
-
Configure for compatible hardware
-
Select port configuration:
Camera IMX585-A- cam0 (2-lane)Camera IMX585-C- cam1 (4-lane)
-
Save pin changes
-
Save and reboot to reconfigure pins
After reboot, verify sensor is detected:
sudo dmesg | grep imx585Expected output:
nv_imx585: module verification failed: signature and/or required key missing - tainting kernel
imx585 9-001a: tegracam sensor driver:imx585_v2.0.6
tegra-camrtc-capture-vi tegra-capture-vi: subdev imx585 9-001a bound
Signature warning is expected since DKMS modules are unsigned.
| Mode | Resolution | Readout |
|---|---|---|
| 0 | 3856×2180 | Full native array |
| 1 | 1928×1090 | 2×2 binned |
gst-launch-1.0 -e nvarguscamerasrc sensor-id=0 ! \
'video/x-raw(memory:NVMM),width=3856,height=2180,framerate=25/1' ! \
queue ! nvvidconv ! queue ! nveglglessinkOn cam0, use framerate=12/1.
IMX585 has a built-in test pattern generator for verifying data validity.
Enable test pattern:
# Horizontal color-bar test pattern (test_mode = 5)
echo 5 | sudo tee /sys/module/nv_imx585/parameters/test_modeTurn test pattern off:
echo 0 | sudo tee /sys/module/nv_imx585/parameters/test_mode| Test pattern code | Description |
|---|---|
| 0 | Off (normal operation) |
| 1 | All 000h |
| 2 | All FFFh |
| 3 | All 555h |
| 4 | All AAAh |
| 5 | Horizontal color bars |
| 6 | Vertical color bars |
For manual builds without DKMS:
make # build everything (dtbo + kernel module)
sudo make install # copy dtbo to /boot, rmmod + insmodNote
Module is loaded immediately via insmod but won't persist across reboots. Use sudo ./setup.sh for permanent installation via DKMS.
Individual targets:
make dtbo # build only the device tree overlays
make module # build only the kernel module
make clean # remove build artifactsBuild artifacts are placed in ./build.

