Jump to content

Raspberry Pi HQ camera IMX477 Linux driver for Jetson: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 22: Line 22:
[https://www.ridgerun.com/ RidgeRun] is actively working to enable customers with great software solutions on top of powerful hardware. For this reason, RidgeRun is currently working to create the V4L2 driver for the Raspberry Pi HQ camera. This wiki contains a brief introduction to the sensor and hardware that will be used to develop the driver.  
[https://www.ridgerun.com/ RidgeRun] is actively working to enable customers with great software solutions on top of powerful hardware. For this reason, RidgeRun is currently working to create the V4L2 driver for the Raspberry Pi HQ camera. This wiki contains a brief introduction to the sensor and hardware that will be used to develop the driver.  


The instructions in this wiki are usefull for Jetson Xavier NX and Jetson Nano, keep in mind that for Jetson Orin with J20 adapter, you can follow the following instructions [https://developer.ridgerun.com/wiki/index.php?title=NVIDIA_Jetson_Orin/Video_Capture_and_Display/Cameras/IMX477_J20 here]. Also please keep in mind that the driver can be ported to other Jetson platforms if needed. Please [https://www.ridgerun.com/contact contact us] if you require more information.
The instructions in this wiki are useful for Jetson Xavier NX and Jetson Nano, keep in mind that for Jetson Orin with a J20 adapter, you can follow the following instructions [[NVIDIA_Jetson_Orin/Video_Capture_and_Display/Cameras/IMX477_J20 | here]]. Also please keep in mind that the driver can be ported to other Jetson platforms if needed. Please [https://www.ridgerun.com/contact contact us] if you require more information.


==Raspberry Pi HQ camera==
==Raspberry Pi HQ camera==
Line 88: Line 88:
* Jetpack 4.5
* Jetpack 4.5


For '''Jetson Orin,''' a port for JetPack 5.0.1 was made, you can find all the information [https://developer.ridgerun.com/wiki/index.php?title=NVIDIA_Jetson_Orin/Video_Capture_and_Display/Cameras/IMX477_J20 here]
For '''Jetson Orin,''' a port for JetPack 5.0.1 was made, you can find all the information [[NVIDIA_Jetson_Orin/Video_Capture_and_Display/Cameras/IMX477_J20 | here]]


===Download JetPack===
===Download JetPack===
Line 94: Line 94:
The current version of the driver is supported in Jetpack 4.4, 4.4.1, and 4.5. Porting the driver to other versions and platforms is possible.
The current version of the driver is supported in Jetpack 4.4, 4.4.1, and 4.5. Porting the driver to other versions and platforms is possible.


A port for is available for the '''Jetson Orin''' with J20 adapter in [https://developer.ridgerun.com/wiki/index.php?title=NVIDIA_Jetson_Orin/Video_Capture_and_Display/Cameras/IMX477_J20 here]
A port for is available for the '''Jetson Orin''' with J20 adapter in [[NVIDIA_Jetson_Orin/Video_Capture_and_Display/Cameras/IMX477_J20 | here]]


1. Download and install the [https://developer.nvidia.com/nvidia-sdk-manager NVIDIA SDK Manager] (membership is required).
1. Download and install the [https://developer.nvidia.com/nvidia-sdk-manager NVIDIA SDK Manager] (membership is required).
Line 298: Line 298:


* After these steps, the driver should be working and you can run some capture tests described below.
* After these steps, the driver should be working and you can run some capture tests described below.
* '''IMPORTANT''': You may see some washed-out colors in the captured image. This is because you haven't applied the ISP configuration file. Make sure to install the ISP file that you can find in the repo using [https://developer.ridgerun.com/wiki/index.php?title=Raspberry_Pi_HQ_camera_IMX477_Linux_driver_for_Jetson#ISP_camera_overrides_installation these instructions].
* '''IMPORTANT''': You may see some washed-out colors in the captured image. This is because you haven't applied the ISP configuration file. Make sure to install the ISP file that you can find in the repo using [[Raspberry_Pi_HQ_camera_IMX477_Linux_driver_for_Jetson#ISP_camera_overrides_installation | these instructions]].


== Installing the Driver - Option B: JetPack sources patch==
== Installing the Driver - Option B: JetPack sources patch==
Line 524: Line 524:
* If you find that the directory name is '''/lib/modules/4.9.201-tegra/''', change the directory name to '''/lib/modules/4.9.201/'''
* If you find that the directory name is '''/lib/modules/4.9.201-tegra/''', change the directory name to '''/lib/modules/4.9.201/'''
* After these steps, the driver should be working and you can run some capture tests described below.
* After these steps, the driver should be working and you can run some capture tests described below.
* '''IMPORTANT''': You may see some washed-out colors in the captured image. This is because you haven't applied the ISP configuration file. Make sure to install the ISP file that you can find in the repo using [https://developer.ridgerun.com/wiki/index.php?title=Raspberry_Pi_HQ_camera_IMX477_Linux_driver_for_Jetson#ISP_camera_overrides_installation these instructions].
* '''IMPORTANT''': You may see some washed-out colors in the captured image. This is because you haven't applied the ISP configuration file. Make sure to install the ISP file that you can find in the repo using [[Raspberry_Pi_HQ_camera_IMX477_Linux_driver_for_Jetson#ISP_camera_overrides_installation | these instructions]].


==ISP camera overrides installation==
==ISP camera overrides installation==


Please, visit the [https://developer.ridgerun.com/wiki/index.php?title=JetsonTX2/HowTo%27s/NVIDIA_Jetson_ISP_Control#Custom_ISP_Configuration Custom ISP Configuration page] in order to learn how to use the <code>camera_overrides.isp</code> file to configure the ISP.
Please, visit the [[JetsonTX2/HowTo%27s/NVIDIA_Jetson_ISP_Control#Custom_ISP_Configuration | Custom ISP Configuration page]] in order to learn how to use the <code>camera_overrides.isp</code> file to configure the ISP.


==Supported Features==
==Supported Features==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.