Yocto Support for NVIDIA® Jetson™ with JetPack 6 Integration - Additional Topics
Yocto Support for NVIDIA®Jetson™ with JetPack 6 Integration |
---|
Setting up Yocto |
Flashing Jetson Platform |
Accessing the Board |
Adding NVIDIA Packages |
DeepStream |
Additional Topics |
FAQ |
Contact Us |
Using GStreamer
Once you have your board up and running you are ready to test some of the features, one of them is the GStreamer support. If you are using a development kit from NVIDIA you can use the onboard camera to test it. You can search for useful pipelines in the following links according to your Jetson device:
Add custom device trees or drivers
1. Use devtool to modify the required changes locally in the required linux-tegra recipe.
cd $YOCTO_DIR/build devtool modify linux-tegra
It will generate a working directory where you can modify or add the needed device tree files at:
$YOCTO_DIR/build/workspace/sources/linux-tegra
For example, the default device tree for the Jetson TX2 DevKit will be available at:
$YOCTO_DIR/build/workspace/sources/linux-tegra/nvidia/platform/t18x/quill/kernel-dts/tegra186-quill-p3310-1000-c03-00-base.dts
2. Edit/add required device tree files
3. Edit configuration file for the Jetson board
Open $YOCTO_DIR/meta-tegra/conf/machine/<MACHINE>.conf with your favorite text editor and update the following configuration to reference the .dtb file that will be generated
Note: Replace <MACHINE> with your selected machine. |
From:
KERNEL_DEVICETREE ?= "_ddot_/_ddot_/_ddot_/_ddot_/nvidia/platform/t18x/quill/kernel-dts/tegra186-quill-p3310-1000-c03-00-base.dtb"
To:
KERNEL_DEVICETREE ?= "_ddot_/_ddot_/_ddot_/_ddot_/nvidia/platform/t18x/quill/kernel-dts/new-target-device-tree.dtb"