NVIDIA Jetson kernel driver for Onsemi AR0234CS — a 2.3 MP global shutter 1/2.6" CMOS sensor.
- 2-lane MIPI CSI-2
- 10-bit RAW output
- 1920×1200 @ 60 fps
Note
Currently, only cam0 port support is implemented.
Install required tools:
sudo apt install -y --no-install-recommends dkmsClone this repository:
cd ~
git clone https://github.com/Kurokesu/ar0234-mipi-nvidia.git
cd ar0234-mipi-nvidia/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 overlay (
.dtbo) to/boot
Optionally, install the ISP tuning file:
sudo cp ./tuning/camera_overrides.isp /var/nvidia/nvcam/settingsTo restore default ISP parameters, remove the overrides file:
sudo rm /var/nvidia/nvcam/settings/camera_overrides.ispUse Jetson-IO to configure the 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 Camera AR0234-A
- Save pin changes
- Save and reboot to reconfigure pins
After reboot, verify sensor is detected:
sudo dmesg | grep ar0234gst-launch-1.0 -e nvarguscamerasrc sensor-id=0 ! \
'video/x-raw(memory:NVMM),width=1920,height=1200,framerate=30/1' ! \
queue ! nvvidconv ! queue ! nveglglessinknvgstcapture-1.0 --sensor-id 0AR0234 has a built-in test pattern generator for verifying data validity.
Enable test pattern:
# 100% color-bar test pattern (test_mode = 2)
echo 2 | sudo tee /sys/module/nv_ar0234/parameters/test_modeTurn test pattern off:
echo 0 | sudo tee /sys/module/nv_ar0234/parameters/test_mode| Test pattern code | Description |
|---|---|
| 0 | Off (normal operation) |
| 1 | Solid color |
| 2 | 100% color bar |
| 3 | Fade-to-grey color bar |
| 256 | Walking 1s (10-bit) |
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 overlay
make module # build only the kernel module
make clean # remove build artifactsBuild artifacts are placed in ./build.

