Jump to content

Sony IMX230 Linux driver: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 305: Line 305:
In order to add the IMX230 driver follow these steps:
In order to add the IMX230 driver follow these steps:


* Go to to your SDK directory
* Go to your SDK directory
* Go to the kernel directory
* Go to the kernel directory
* Copy the patches in the patches directory
* Copy the patches in the patches directory
Line 320: Line 320:
  -> Device Drivers                                                                                                                         
  -> Device Drivers                                                                                                                         
   -> Multimedia support                                                                                           
   -> Multimedia support                                                                                           
     -> Encoders, decoders, sensors and other helper chips
     -> Encoders, decoders, sensors, and other helper chips
       -> <*> IMX230 camera sensor support
       -> <*> IMX230 camera sensor support
</pre>
</pre>
Line 346: Line 346:
* Follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Build_Kernel | Compiling Jetson_TX1/TX2 source_code (Build Kernel)]] for building the kernel, and then flash the image. Omit steps 3 and 4 because you already applied the patches.
* Follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Build_Kernel | Compiling Jetson_TX1/TX2 source_code (Build Kernel)]] for building the kernel, and then flash the image. Omit steps 3 and 4 because you already applied the patches.


Make sure to enable IMX230 and  driver support in the step 5:
Make sure to enable IMX230 and  driver support in step 5:


<pre>
<pre>
-> Device Drivers                                                                                                                         
-> Device Drivers                                                                                                                         
  -> Multimedia support                                                                                           
  -> Multimedia support                                                                                           
   -> Encoders, decoders, sensors and other helper chips
   -> Encoders, decoders, sensors, and other helper chips
       -> <*> Omnivision IMX230 camera sensor support
       -> <*> Omnivision IMX230 camera sensor support
</pre>
</pre>
Line 364: Line 364:




'''Important Note:''' When you are accessing to the board through serial or ssh and you want to run a pipeline to display with autovideosink, nveglglessink, xvimagesink or any other video sink, you have to run your pipeline with ''DISPLAY=:0'' at the beginning of the description:
'''Important Note:''' When you are accessing the board through serial or ssh and you want to run a pipeline to display with autovideosink, nveglglessink, xvimagesink or any other video sink, you have to run your pipeline with ''DISPLAY=:0'' at the beginning of the description:


<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
Line 406: Line 406:
</pre>
</pre>


'''Important Note 1:''' In general the first buffer contains very low light because the AWB algorithm of the sensor is calibrating, so we recommend to use multifilesink to test debayer with a buffer above from number one. To obtain better image colors and bright quality, due to automatic sensor image calibration, we recommend to test debayer with a frame above number 10, to give time to the sensor to adjust the best image calibration parameters.  
'''Important Note 1:''' In general the first buffer contains very low light because the AWB algorithm of the sensor is calibrating, so we recommend using multifilesink to test debayer with a buffer above from number one. To obtain better image colors and bright quality, due to automatic sensor image calibration, we recommend to test debayer with a frame above number 10, to give time to the sensor to adjust the best image calibration parameters.  


'''Important Note 2:''' The debayered image obtained as the output when using the "bayer2rgb" tool presents some kind of light saturation, viewed as multiple color pixels sections. This is a problem of the tool used to do the debayer process but led the users to verify that the driver and camera sensor is working fine.
'''Important Note 2:''' The debayered image obtained as the output when using the "bayer2rgb" tool presents some kind of light saturation, viewed as multiple color pixels sections. This is a problem of the tool used to do the debayer process but led the users to verify that the driver and camera sensor is working fine.


==== Snapshots with nvcamerasrc ====
==== Snapshots with nvcamerasrc ====
The following pipeline will create a file for each captured frame. You can visualize the file in the following web page: http://rawpixels.net/  
The following pipeline will create a file for each captured frame. You can visualize the file on the following web page: http://rawpixels.net/  


<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
Cookies help us deliver our services. By using our services, you agree to our use of cookies.