Add the overlay of the Capacitive Touch Diplay 10.1" LVDS to the (Verdin Development Board , SoM Verding iMX8MP) Device Tree

Hi Toradex,

I am using the TorizonCorew Builder to build a customized Torizon OS .

How to add the overlay of the Capacitive Touch Diplay 10.1" LVDS

verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts

to the Device tree appropriate to the following target by using:

Verdin Development Board V1.1F
SoM: Verdin-iMX8MP
Torizon OS: Torizon 6.7.0

As Tezi, I’ am using the following local downloaded .tar file

torizon-core-docker-verdin-imx8mp-Tezi_6.7.0-devel-202405+build.23.tar

Here is the tcbuild.yaml file

In my working directory , ihave cloned the Linux and Device Tree repos by running this commands:

git clone -b toradex_5.15-2.2.x-imx git://git.toradex.com/linux-toradex.git linux

git clone -b toradex_5.15-2.2.x-imx git://git.toradex.com/device-tree-overlays.git device-trees

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 add the overlay for the Capacitive Touch Display 10.1" LVDS to the Verdin Development Board with the Verdin-iMX8MP SoM using TorizonCore Builder, you can follow these steps:

  1. Clone the necessary repositories:
    You’ve already cloned the Linux and Device Tree repositories, which is good. Ensure you have the correct branches:

    git clone -b toradex_5.15-2.2.x-imx git://git.toradex.com/linux-toradex.git linux
    git clone -b toradex_5.15-2.2.x-imx git://git.toradex.com/device-tree-overlays.git device-trees
    
  2. Prepare the tcbuild.yaml file:
    You need to configure the tcbuild.yaml file to include the overlay for the Capacitive Touch Display 10.1" LVDS. Here is an example configuration:

    # tcbuild.yaml
    input:
      easy-installer:
        local: path/to/torizon-core-docker-verdin-imx8mp-Tezi_6.7.0-devel-202405+build.23.tar
    customizations:
      device-tree:
        include-dirs:
          - device-trees
        custom: |
          #include "verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts"
    
  3. Build the custom TorizonCore image:
    Use TorizonCore Builder to build the custom image with the specified overlay:

    tcbuild build
    
  4. Deploy the custom image:
    Once the build is complete, you can deploy the custom image to your Verdin Development Board. Follow the instructions provided by TorizonCore Builder for deploying the image.

  5. Verify the overlay:
    After deploying the custom image, verify that the overlay is correctly applied by checking the device tree and ensuring the display works as expected.

If you encounter any issues or need further assistance, please refer to the Torizon documentation or contact Toradex technical support.

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

Verdin IMX8MP: Use native LVDS and HDMI Interface.

Hello @Ahmed49,

May I ask what carrier board you use with the Verdin iMX8MP module?
Looking at your message I think you are using the DSI to LVDS adapter - which is why you try to enable this overlay: verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
Please note that if your carrier board has a native LVDS connector (for example, the Mallow board), you should use the overlay verdin-imx8mp_panel-cap-touch-10inch-lvds_overlay.dts instead.

In that case, your tcbuild.yaml file should look like this:

input:
  easy-installer:
    local: torizon-core-docker-verdin-imx8mp-Tezi_6.7.0-devel-202405+build.23.tar

customization:
  device-tree:
    include-dirs:
      - linux/include/
    overlays:
      add:
        - device-trees/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts

output:
  easy-installer:
    local: output_directory

Regarding this:

In my working directory , ihave cloned the Linux and Device Tree repos by running this commands:

git clone -b toradex_5.15-2.2.x-imx git://git.toradex.com/linux-toradex.git linux
git clone -b toradex_5.15-2.2.x-imx git://git.toradex.com/device-tree-overlays.git device-trees

That is the correct way to do it.

Once you have the correct tcbuild.yaml file, you can simply build the custom image with the command torizoncore-builder build. Your custom image should be built into the output_directory.