Changes

Jump to navigation Jump to search
Line 17: Line 17:  
*Jetpack4.6.2,L4T r32.7.2
 
*Jetpack4.6.2,L4T r32.7.2
 
*Jetpack5.0.1DP, L4T r34.1.1
 
*Jetpack5.0.1DP, L4T r34.1.1
 +
*Jetpack5.0.2, L4T r35.1
    
We provide two ways to do so: '''Prebuilt Binaries''' or '''Source Code. Yes, It's Open Source!'''
 
We provide two ways to do so: '''Prebuilt Binaries''' or '''Source Code. Yes, It's Open Source!'''
Line 103: Line 104:  
The driver is no longer compiled into the Image, but loaded into the system as a separate module. The dtb file is still compiled together as a whole to facilitate replacement.
 
The driver is no longer compiled into the Image, but loaded into the system as a separate module. The dtb file is still compiled together as a whole to facilitate replacement.
   −
The dtb can also be loaded dynamically as an overlay.
+
The dtb can also be loaded dynamically as an overlay. Refer to the official nVidia Developer's Guide for NVIDIA® Jetson™ Linux for details.
    
====BSP package introduction====
 
====BSP package introduction====
Line 143: Line 144:  
<code>tegra194-p3668-all-p3509-0000.dtb</code>
 
<code>tegra194-p3668-all-p3509-0000.dtb</code>
   −
Specially, For Jetpack5.0.1DP, must use this dtb:
+
Specially, For Jetpack5.x, must use this dtb:
 +
 
 +
* Jetson Xavier NX (P3668-0000) For developer kit only:
    
<code>tegra194-p3668-0000-p3509-0000.dtb</code>
 
<code>tegra194-p3668-0000-p3509-0000.dtb</code>
 +
 +
* Jetson Xavier NX (P3668-0001) Commercial module:
 +
 +
<code>tegra194-p3668-0001-p3509-0000.dtb</code>
 
=====AGX Orin=====
 
=====AGX Orin=====
 
<code>tegra234-p3701-0000-p3737-0000.dtb</code>
 
<code>tegra234-p3701-0000-p3737-0000.dtb</code>
Line 255: Line 262:     
This method has the same goal as the method in the previous section, and one of the two can be chosen.
 
This method has the same goal as the method in the previous section, and one of the two can be chosen.
 +
 +
This method is complicated and not recommended for Nano, Xavier, Orin.
    
Specifically, for TX2 systems, only the methods in this section can be taken to upgrade.
 
Specifically, for TX2 systems, only the methods in this section can be taken to upgrade.
Line 491: Line 500:  
During the Linux boot process, the cameras are detected in the order of i2c bus from smallest to largest.  For example, if only one camera is connected, X is 0 regardless of the hardware connection to the location. If 5 cameras are connected, X is reflected as [0-4] according to i2c bus from smallest to largest.
 
During the Linux boot process, the cameras are detected in the order of i2c bus from smallest to largest.  For example, if only one camera is connected, X is 0 regardless of the hardware connection to the location. If 5 cameras are connected, X is reflected as [0-4] according to i2c bus from smallest to largest.
   −
In gstreamer command ,v4l2src has a param device=/dev/videoX to identify which camera to use.
+
In gstreamer command ,v4l2src and nvv4l2camerasrc has a param device=/dev/videoX to identify which camera to use.
=====Gstreamer Usage=====
+
=====Gstreamer Usage (Jetpack4.x)=====
    
*Preview FHD
 
*Preview FHD
Line 539: Line 548:     
<code>gst-launch-1.0 v4l2src num-buffers=1 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvjpegenc ! filesink location=jpgname.jpg</code>
 
<code>gst-launch-1.0 v4l2src num-buffers=1 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvjpegenc ! filesink location=jpgname.jpg</code>
 +
 +
===== Gstreamer Usage (Jetpack5.x) =====
 +
 +
# nvoverlaysink is obsolete, nv3dsink can be used instead.
 +
# Jetpack version 5.0.1 DP has many bugs and is not recommended.
    
===== VEYE-MIPI-IMX335 gstreamer example =====
 
===== VEYE-MIPI-IMX335 gstreamer example =====
Line 607: Line 621:  
<code>gst-launch-1.0 v4l2src num-buffers=1 ! "video/x-raw,format=(string)UYVY, width=(int)2560, height=(int)1440" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvjpegenc ! filesink location=jpgname.jpg</code>
 
<code>gst-launch-1.0 v4l2src num-buffers=1 ! "video/x-raw,format=(string)UYVY, width=(int)2560, height=(int)1440" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvjpegenc ! filesink location=jpgname.jpg</code>
   −
===== gstreamer examples on Jetpack5.x =====
+
<br />
On Jetpack5.x:
  −
 
  −
# nvoverlaysink is obsolete, nv3dsink can be used instead.
  −
# There are still bugs in nvv4l2camerasrc, use v4l2src for now.
  −
 
  −
*Preview 1080p HD
  −
 
  −
<code>gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY,width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nv3dsink -e</code>
  −
 
  −
* Video Encode1080p HD
  −
 
  −
<code>gst-launch-1.0 v4l2src num-buffers=300 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nvv4l2h264enc control-rate=1 bitrate=10000000 ! h264parse ! qtmux ! filesink location=filename.mp4 -e</code>
  −
 
  −
*Capture
  −
 
  −
<code>gst-launch-1.0 v4l2src num-buffers=1 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvjpegenc ! filesink location=jpgname.jpg</code>
      
===== Jetson multimedia-api samples =====
 
===== Jetson multimedia-api samples =====
Line 687: Line 685:     
=== Document History ===
 
=== Document History ===
 +
 +
* 20220824
 +
 +
Add support for Jetpack5.0.2.
    
* 20220720
 
* 20220720

Navigation menu