Changes

Jump to navigation Jump to search
Line 202: Line 202:  
Toradex provides a method for building the compilation system, and here we will provide an example that is feasible.
 
Toradex provides a method for building the compilation system, and here we will provide an example that is feasible.
   −
==== Build the Image.gz ====
+
==== Build Toradex standard Image ====
 
  −
===== Build Toradex standard Image =====
   
First, refer to the following article and use Yocto to compile the entire system.  
 
First, refer to the following article and use Yocto to compile the entire system.  
   Line 214: Line 212:     
The compiled image can be found in the ''oe-core/build/deploy/images/verdin-imx8mp'' directory.
 
The compiled image can be found in the ''oe-core/build/deploy/images/verdin-imx8mp'' directory.
 +
 +
==== Build the Image.gz ====
    
=====Patch driver code=====
 
=====Patch driver code=====
Line 229: Line 229:     
In the ''oe-core/build/deploy/images/verdin-imx8mp'' directory, you will obtain the Image.gz with added veye camera driver.
 
In the ''oe-core/build/deploy/images/verdin-imx8mp'' directory, you will obtain the Image.gz with added veye camera driver.
  −
The above is just a brief approach. You can customize meta layers, recipes, and images in Yocto Project.
      
==== Build the dtbo ====
 
==== Build the dtbo ====
Line 241: Line 239:  
===== Add dts for veyecam =====
 
===== Add dts for veyecam =====
 
<code>git clone <nowiki>https://github.com/veyeimaging/toradex_nxp_i.mx.git</nowiki></code>
 
<code>git clone <nowiki>https://github.com/veyeimaging/toradex_nxp_i.mx.git</nowiki></code>
 +
 +
===== Deploy Image.gz and dtbo =====
 +
If you have already burned the Toradex standard image and compiled the Image.gz and verdin-imx8mp_veyecam2m_overlay.dtbo, you can simply follow the steps below to make them take effect:
 +
 +
# Copy the compiled Image.gz file to the /boot/ directory and overwrite the original Image.gz file.
 +
# Copy the compiled verdin-imx8mp_veyecam2m_overlay.dtbo file to the /boot/overlay/ directory.
 +
# Modify the /boot/overlays.txt file to add verdin-imx8mp_veyecam2m_overlay.dtbo.
 +
# Restart the system to activate the new Image.gz and dtbo.
 +
 +
 +
The above is just a brief approach. You can customize meta layers, recipes, and images in Yocto Project.
 +
 +
=== References ===
 
<br />
 
<br />
=== References ===
 

Navigation menu