Skip to content

Setup Orin NX for using with FRAMOS-IMX678-C

This guide aims to highlight the correct procedure to configure the setup for using the FRAMOS-IMX678 cameras with the Orin NX from Nvidia + Boson for FRAMOS carrier from ConnectTech.

Info

Be sure that the Jetpack installation procedure up to the BSP installation on the setup has been completed. At this point we are ready to flash the image.

Flash the image

In the host:

  1. Navigate into /nvidia/nvidia_sdk_JetPack_6.2_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra
  2. Run the flash script (as root or sudo):
sudo ./cti-nvme-flash.sh cti/orin-nx/boson/fsm-imx678-2cam
  1. Once the flash has completed, the board will reboot.

Check out the ConnectTech tutorial explaining the complete procedure.

Complete the OEM installation

After booting into the OS, follow the OEM installation with the default options.

Set the user name to icub with the hostname icub-head. Allow login without password and let the installation process finish.

After rebooting into the graphical OS, run the following commands in a terminal to update the system:

sudo apt install -f
sudo apt update && sudo apt upgrade
reboot

Switch profile on Orin NX

After the reboot process:

  1. Open a new terminal on the Orin NX and run sudo cti-orin-nx-nano-fdt.sh
  2. Follow the interactive procedure and select Orin NX, then Boson NGX007 and finally the profile for the FRAMOS IMX678 cameras, i.e. fsm-imx678-2cam
  3. Once the script exits, run sync and reboot to finalize the changes.

    post-flash

Post-flashing operations

Install FRAMOS drivers

Browsing the FRAMOS Github organization, it's possibile to download and install the framos-jetson-drivers and framos-jetson-libsv by following the detailed procedure in the README.md of the repositories. A further guide is proposed here to help even more in the installation.

framos-jetson-drivers

First of all, it is necessary to follow the guide to install the source code on the target system, which, in this case, is the Jetson board.

After that, you need to configure the sensor: to be more flexible, it is recommended to follow the command line procedure rather than the interactive one. For a configuration consisting of 2 FRAMOS IMX678 sensors, it is necessary to run the following command:

sudo jetson-config-camera-cli.py -n "Framos IMX678-CAM0-2Lane" "Framos IMX678-CAM1-2Lane"

More information can be found in the README.md of the repository linked above.

framos-jetson-libsv

Here the procedure is easier: after cloning the repository and checkout on to the branch of your Jetpack (if you follow the instruction till this section, it would be l4t-r36.4.3), you need to run the follow:

cd ~/framos-jetson-libsv/bin
sudo ./install.sh

As soon as the installation procedure has finished, please power off the Orin NX. Then plug-in your cameras to the CAM1 and CAM2 connectors, and finally power on the board again.

Warning

During the flashing procedure, the profile fsm-imx678-2cam has been selected, which means that two cameras could be used with this configuration. For this reason, only CAM1 and CAM2 connectors are enabled to read the data from the FRAMOS-IMX678, while CAM3 and CAM4 are not. Please, be sure that they are properly connected.

Check if the cameras are detected running ls /dev/video* from the command line.