LVDS Configuration

Once the board has booted with the LVDS camera connected, follow the steps below to configure the camera interface.

Warning

This page covers LVDS-only configuration. If you are using both LVDS and MIPI cameras simultaneously, go to LVDS & MIPI Configuration instead.

Get Configuration Folder

Note:

  • Contact Oppila Support for rc.local file.

  • Copy the rc.local file from the Host PC to the USB storage device.

Step 1: Open Terminal on the Jetson

  • Press Ctrl + Alt + T

Step 2: Copy rc.local to Jetson

Transfer the rc.local file from your PC to the home directory of the AstrOptix Board using a USB drive or SCP.

Run the following commands for copy the files to the jetson Orin Nano/NX

sudo cp /media/<username>/<pendrive_name>/rc.local /home/<username>/
sudo chmod +x rc.local

Replace the following placeholders with actual values:

  • <username> - Your system username
  • <pendrive_name> - The label/name of your USB storage device
Driver Configuration

Note

  • Contact Oppila Support for lvdsmipi.ko and camconf.ko file.

  • Copy the lvdsmipi.ko and camconf.ko files from the Host PC to the USB storage device.

Step 3: Navigate to Kernel Module Directory

Change the current working directory to the kernel module directory using the following command:

cd /lib/modules/5.15.148-tegra/updates/drivers/media/i2c/

Step 4: Copy Kernel Module from USB Storage

Execute the following command to copy the kernel module file from the USB storage device to the current directory:

sudo cp /media/<username>/<pendrive_name>/lvdsmipi.ko_<serial_no>.ko lvdsmipi.ko

Step 5: Copy Config Kernel Module from USB Storage

Execute the following command to copy the Config kernel module file from the USB storage device to the current directory:

sudo cp /media/<username>/<pendrive_name>/camconf.ko_<serial_no>.ko camconf.ko

Step 6: Copy Device tree file to “/boot” directory in the Jetson Orin Nano/NX

Execute the following command to copy the device tree file from the USB storage device to the boot directory:

sudo cp /media/<username>/<pendrive_name>/tegra234-p3767-camera-p3768-imx219-C.dtbo /boot/

Replace the following placeholders with actual values:

  • <username> - Your system username
  • <pendrive_name> - The label/name of your USB storage device
  • <serial_no> - Contact Oppila Support for Serial Number
Kernel Module Configuration

Step 6: Navigate to the modules-load.d directory

cd /etc/modules-load.d/

Step 7: For loading Kernel module

sudo vi lvdsmipi.conf
  • Inside the created file, write – lvdsmipi
  • Save and close the file – Shift + ZZ

Step 8: For loading config Kernel module

sudo vi camconf.conf
  • Inside the created file, write – camconf
  • Save and close the file – Shift + ZZ

Step 9: Run the below command to check the available Kernel modules to load

sudo depmod -a
Configure Device Tree Overlay

Note

This is a one-time configuration required after each new flash. It is not required on every boot.

Step 10: Open Terminal on the Jetson

Press Ctrl + Alt + T on the Jetson to open a terminal window.

Step 11: Run the Jetson-IO Configuration Tool

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

Step 12: Navigate to Configuration Menu

Follow the menu selections in order:

Select "Configure Jetson 24-pin CSI Connector":

Select Configure Jetson 24-pin CSI Connector

Select "Configure for compatible hardware":

Select Configure for compatible hardware

Select "Camera IMX219-C":

Select Camera IMX219-C

Select "Save pin changes":

Save pin changes

Select "Save and reboot to reconfigure pins":

Save and reboot to reconfigure pins

Step 13: Press Any Key to Reboot

The system will reboot and reconfigure the MIPI pins for the LVDS camera.

Reboot confirmation screen

Info

  • The system will shut down and restart. This process typically takes 30-60 seconds.

Once the system restarts, proceed to Camera Power Guide to select and power your camera interface.