Custom Feed for TEZI

I want to add a custom feed to Toradex Easy Installer without manually adding the feed URL into the list.

We have tried Zeroconf and it works great for local images, but we need a solution where the device can download new images from our remote server, which has CI/CD integration and which generates new builds. Please do not suggest Torizon OS and cloud, as we host our own backend and build a custom OS based on yocto.

We are looking for something like shown in the attached picture. So when we load TEZI via UUU, it should pick up by default.

Hi, I’m the Toradex AI Assistant.

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


Custom Feed for TEZI Without Manual Configuration

Based on the available documentation, there are several approaches to achieve automatic custom feed detection in Toradex Easy Installer (TEZI) without manual URL entry:

1. DNS Redirection Approach (Recommended)

The most practical solution for your remote server scenario is using DNS redirection (1). TEZI always tries to load an image_list.json from the hard-coded URL https://tezi.toradex.com/image_list.json (1). You can redirect tezi.toradex.com to your custom server using a DNS server.

Implementation using Dnsmasq:

interface=<network interface>
dhcp-range=192.168.10.50,192.168.10.150,12h # Use different IPs if needed
address=/tezi.toradex.com/192.168.10.1 # Use IP address of your network interface

(1)

This approach allows TEZI to automatically connect to your custom server without any manual intervention (1).

2. Zeroconf for Local Networks

For local network scenarios, you can set up a web server that announces itself via Zeroconf (1). Create an AVAHI service file:

<?xml version="1.0" standalone='no'?>

<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
 <name replace-wildcards="yes">Custom Toradex Easy Installer Feed</name>
 <service>
 <type>_tezi._tcp</type>
 <port>80</port>
 <txt-record>name=Custom Toradex Easy Installer Feed</txt-record>
 <txt-record>path=/path/image_list.json</txt-record>
 <txt-record>enabled=1</txt-record>
 <txt-record>https=0</txt-record>
 </service>
</service-group>

(1)

3. Configuration File Approach

While not directly supported by default TEZI, there have been community discussions about including configuration files in TEZI images (2). However, this would require custom modifications to your TEZI build.

4. Server Setup Requirements

For any approach, ensure your server provides:

  • An image_list.json file listing available images (1)
  • Proper HTTP server configuration (nginx example provided in documentation) (1)
  • Images with autoinstall: true property for automatic installation (1)

Important Considerations

  • The DNS redirection approach works best for production environments where you control the network infrastructure (1)
  • Zeroconf works well for local development but may not suit remote server scenarios (1)
  • TEZI checks for connections at boot time, so the server must be available when the device powers on (3)

The DNS redirection method appears to be your best option for a remote server with CI/CD integration, as it requires no manual intervention and works with standard TEZI builds.

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.

Hi @bhupiister

There are a few options that may work.

The AI mentioned DNS redirection and that can work. Basically you setup a local DNS server to override the domain name tezi.toradex.com and point it at the IP address of your feed. Details are here.

Another possibility is to use the standard zeroconf setup and then configure the server running there to return a redirect using something like proxy_pass from nginx or configure your server to return an HTTP 30x redirect for image_list.json.

Hi Drew,

We have tried those solutions and they work for our local setup. But when the devices are on field, the tech support may want to put them on recovery and flash it with one of the images directly.
The URL hardcoded is tough to manage. Can we make it flexible so that it reads a JSON file in TEZI and uses it as a feed?
Another option would be to rebuild the TEZI with our URL, which is time-consuming.

Yes, you can use image_list.json to specify the IP address of your HTTP server and load images from it. However, this image_list.json file must be included in the TEZI image itself (typically under /etc) that you are booting from USB.

To achieve this, you would need to either rebuild TEZI from scratch or modify the existing tezi.itb to include the updated image_list.json.

Could you please clarify what is preventing your technical support team from using removable media (such as a USB drive or SD card) for image flashing?

Hi Bhupendra,

Just wanted to check in here. Are you still fighting with this?

Drew Moseley
Toradex