Custom tezi image

Hi support,

I have a question about a tezi. From the guide I can’t understand if it is possible to insert a custom DTS overlay into Tezi. If possible, what should i do for create a tezi image custom ?

Thanks

Fabio

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


Yes, you can absolutely create a custom Tezi (Toradex Easy Installer) image with custom device tree overlays(1). Here’s how to do it:

Using TorizonCore Builder

The recommended method is to use the TorizonCore Builder Tool with the build command(1)(2). This creates a custom Torizon OS image with your specified device tree overlays, ready to be installed with Toradex Easy Installer(1).

Configuration File Approach

Create a configuration YAML file (tcbuild.yaml) that specifies your custom overlay(1)(2):

# Sample configuration file:
input:
 easy-installer:
 local: images/torizon-core-docker-colibri-imx6-Tezi_5.3.0+build.7.tar
#Sample customization: insert the resistive 7" display overlay in the IMX6 device-tree with Aster Carrier Board
customization:
 device-tree:
 include-dirs:
 - device-trees/include/
 custom: device-trees/dts-arm32/imx6dl-colibri-eval-v3.dts
 overlays:
 add:
 - device-trees/overlays/display-edt7_overlay.dts
output:
 easy-installer:
 local: torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM

(1)

Required Setup

  1. Install TorizonCore Builder following the installation guide(1)(2)

  2. Clone the necessary repositories(1)(2):

For i.MX 8/8X/8M Mini/8M Plus:

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

(1)(2)

For i.MX 6/6ULL/7:

git clone -b linux-6.6.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
git clone -b master git://git.toradex.com/device-tree-overlays.git device-trees

(1)(2)

  1. Build the custom image(1)(2):
torizoncore-builder build

(1)(2)

Alternative: Single Command Approach

For quick testing, you can also apply an overlay directly to a running device with a single command(1):

torizoncore-builder dto deploy --remote-host 192.168.1.117 --remote-username torizon --remote-password torizon --force --reboot device-trees/overlays/display-edt7_overlay.dts

(1)

Output

Both approaches generate a custom Toradex Easy Installer image as output(1). This image can then be deployed using standard Toradex Easy Installer procedures(2).

The build command is the recommended approach for production programming and CI/CD pipelines(1), while the single command approach is better suited for evaluation and prototyping(1).

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Hello @fmolon,

Are you trying to build a custom Toradex Easy Installer image or a custom BSP/Torizon OS image? Also, for which module are you building the image for? Which guide are you following? If you are building a custom Toradex Easy Installer (TEZI) image, could you please specify the use-case? This will help me give you the right solution.

Hi @rudhi.tx,

i am trying to build a custom TEZI. I would like to create a custom Tezi image. In particular, I would like to modify the overlays.txt file that is part of Tezi. I need to add my own custom DTS overlay file so that Tezi is displayed on an LVDS display instead of HDMI.