Customize the device-tree and overlays using Torizoncore Builder

Hi Toradex,

Which is the right branch in the git.toradex.com to clone, that I can use to customize the Device tree by adding the overlay of the Capacitive Touch Display 10.1" LVDS using the TorizonCore Builder

I am using the :
Verdin Development Board V1.1F
SoM : Verdin-iMX8MP

Any help,

Best regards

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


To customize the Device Tree and add the overlay for the Capacitive Touch Display 10.1" LVDS using TorizonCore Builder for your Verdin Development Board V1.1F with the Verdin-iMX8MP SoM, you need to clone the appropriate branch from the Toradex Device Tree and Overlays repository.

Here are the steps to follow:

  1. Install TorizonCore Builder: If you haven’t already, install TorizonCore Builder by following the instructions provided in the TorizonCore Builder documentation.

  2. Download and Unpack the TorizonCore Image:

    • Download a base TorizonCore image (preferably without containers) inside the TorizonCore Builder working directory.
    • Unpack the image using the following command:
      torizoncore-builder images unpack torizon-core-docker-verdin-imx8mp-Tezi_5.3.0+build.7.tar
      
    • Alternatively, you can use the images download command to download and unpack the image:
      torizoncore-builder images download --remote-host <board_ip> --remote-username <username> --remote-password <password>
      
  3. Clone the Toradex Device Tree and Overlays Repository:

    • Clone the repository using the dt checkout command:
      torizoncore-builder dt checkout
      
  4. Select the Desired Overlay:

    • To check the available overlays for your device tree, run the following command:
      torizoncore-builder dto list
      
  5. Apply the Overlay to the Image:

    • To enable the Capacitive Touch Display 10.1" LVDS overlay, use the following command:
      torizoncore-builder dto apply verdin-imx8mp_cap-touch-10inch-lvds_overlay.dts
      
  6. Build the Custom Image:

    • Create a tcbuild.yaml file with the necessary configurations. Here is an example configuration:
      input:
        easy-installer:
          local: torizon-core-docker-verdin-imx8mp-Tezi_5.3.0+build.7.tar
      customization:
        device-tree:
          custom: device-trees/verdin-imx8mp.dts
          overlays:
            add:
              - device-trees/overlays/verdin-imx8mp_cap-touch-10inch-lvds_overlay.dts
      output:
        easy-installer:
          local: torizon-core-docker-verdin-imx8mp-Tezi_5.3.0.CUSTOM
      
    • Run the build command:
      torizoncore-builder build
      
  7. Deploy the Custom Toradex Easy Installer Image:

    • Follow the instructions provided in the TorizonCore Builder documentation to deploy the custom image to your board.

By following these steps, you should be able to customize the Device Tree and add the overlay for the Capacitive Touch Display 10.1" LVDS using TorizonCore Builder for your Verdin-iMX8MP SoM.

Please, also check if these links can help you solve your problem:

Capacitive Touch Display 10.1" LVDS | Toradex Developer Center.

Hi @Ahmed49

You can learn how to use TorizonCore Builder to customize the device tree and device tree overlays here. There’s specific instructions how to clone the repository in this article.