Skip to main content
Version: Toradex Easy Installer version 6

Toradex Easy Installer Configuration Files


The objective of this article is to present the configuration files and properties that allows for customization of the Toradex Easy Installer JSON files.

About Tezi Configuration Files

The Toradex Easy Installer uses JSON files for configuration, which can be edited with a text editor. Ensure compliance with the JSON specification, and use an online JSON validator like for validation.

Image Format Properties

This section explains the properties used in Toradex Easy Installer's JSON image files. Toradex provides images with pre-defined JSON files, but customization is possible.

config_format(*)IntegerImage configuration format
autoinstallBooleanAutomatically install upon image detection (default: false)
name(*)StringImage name displayed in the list
descriptionStringImage description (tooltip)
versionStringImage version (mostly informational)
release_dateStringISO 8601 date format, only informational
u_boot_envStringU-Boot environment file for writing. Use a text file with variable/value pairs. This file must contain the full U-Boot environment, it will not be merged with any default environment while being written. Instead, it will overwrite the default values
prepare_scriptStringLinux shell script executed before installation with input parameters
wrapup_scriptStringLinux shell script executed after successful installation with input parameters
error_scriptStringLinux shell script executed on installation failure. Shown in error popup with debugging info
iconStringFilename of the image icon (typically PNG, 40x40)
licenseStringFilename of HTML file containing the image license agreement. Requires customer agreement
license_titleStringTitle displayed in the license agreement dialog
marketingStringFilename of tar file with images shown during installation
releasenotesStringFilename of HTML file containing image release notes. Shown in a dialog
releasenotes_titleStringTitle displayed in the release notes dialog
supported_product_ids(*)List of StringsList of supported Product IDs
blockdevs(*)List of Block DevicesList of block devices to flash (eMMC-based devices, see below)
mtddevs(*)List of MTDsList of MTD devices (Linux memory technology device subsystem) for raw NAND-based devices (see below)
isinstallerBooleanSpecial property marking the image as the Toradex Easy Installer itself

* Mandatory properties

Mandatory Properties

  1. Configuration Format (config_format):

    Configuration FormatMinimum Toradex Easy Installer VersionReason
    11.0 or newer
    21.4 or newerNew Features
    32.0b3 or newerNew Features (container provisioning)
    42.0b6 or newerBugfixes (i.MX8 u-boot environment)
    55.6.0 or newerAdd offset to Raw Files properties
  2. Block Devices (blockdevs): Each blockdev entry has a name and either partition or content node or both. In case of using a partition table and (raw) content, the Toradex Easy Installer will first create the partition table and then write the content according to the specification. Make sure that the partition table created and the data written do not conflict!

    **Property**           | **Type**              | **Description**
    `name`(*) | String | Name of the block device to write to (as it appears under /dev/).
    `erase` | Boolean | Discards all data on block device before writing (preserves Toradex Config Block on boot partition).
    `table_type` | String | Partition table type (dos (default) or gpt). Use configuration format 2 or newer.
    `content`(*) | Dictionary of Content | Content which should get written to the raw block device (see Chapter Content).
    `partitions`(*) | List of Partitions | List of partitions which will get created and written to the block device.

    * Mandatory properties

  1. Partition (partitions): If partitions are specified, the installer will create an MBR/DOS-style partition table. Currently, only primary partitions are supported. All partitions will be aligned to 4-megabyte boundaries (8192 blocks). A partition specification knows the following properties:

    want_maximisedBooleanMaximize partition size if multiple partitions share this setting. Distributes remaining space evenly.
    partition_size_nominalIntegerMinimal partition size in megabytes.
    offset_in_sectorsIntegerFixed partition offset in sectors (usually 512 bytes for eMMC).
    contentDictionary of ContentContent to be written to this partition (see below).
    partition_typeStringHexadecimal value for partition type (auto-determined if not specified based on filesystem_type in content). No leading "0x." Defaults to "00" (empty).
    activeBooleanSet as active/bootable flag (default: false).
  2. MTD Devices (mtddevs): Each blockdev entry has a name and either a content, ubivolumes or winceimage node.

    **Property**               | **Type**                  | **Description**
    `name`(*) | String | Name of the MTD device as shown in '/proc/mtd'.
    `erase` | Boolean | Erase MTD partition using flash_erase (this also clears erase counters of a UBI partition).
    `content`(*) | Dictionary of Content | Content which should get written to the raw block device (see Chapter Content).
    `ubivolumes`(*) | List of UBI volumes | List of UBI volumes to create in this MTD partition.
    `winceimage`(*) | Dictionary of WinCE image | WinCE image to write into this MTD partition.

    * Mandatory properties

  1. UBI volume (ubivolumes):

    **Property**               | **Type**                  | **Description**
    `name`(*) | String | Name of the MTD device as shown in '/proc/mtd'.
    `type` | String | UBI volume type: static or dynamic (default).
    `size_kib` | Integer | UBI volume size in kilobytes. If not specified, the maximum available size will be used.
    `content` | Dictionary of Content | Content which should get written in this UBI volume (see below).

    * Mandatory properties

  1. WinCE image (winceimage): The WinCE image section allows writing a WinCE image in the sparse file format to raw NAND (uses the utility flash-wince).

    **Property**           | **Type**              | **Description**
    `image_filename`* | String | Filename of the WinCE image to write.
    `nonfs_size` | Integer | Non-FS size in megabyte (maximum size of the WinCE image).
    `size` | Integer | The size of the image in megabytes (used for the progress bar).

    * Mandatory properties

  1. Content (content): For block devices, content can either be raw data (dd-style) or a file system. For MTD device, content can only be raw data (uses Linux nandwrite command) and for UBI volume, content can either be raw data (uses Linux ubiupdatevol command) or ubifs.

    filesystem_typeStringType of file system (defaults to raw). Options: ext2 (1.4+), ext3, ext4, fat, ubifs, raw.
    labelStringLabel for ext3/ext4/fat file systems.
    mkfs_optionsStringAdditional options for the mkfs command (ext3/ext4/fat).
    filenameStringFile name to write into the file system. Automatic extraction for zip/tar.gz/tar.xz/tar.bz2 files.
    filelistList of StringsList of file names to copy into the file system. Supports tuple format (srcfile:destdir:unpack) in config v3+.
    uncompressed_sizeNumberUncompressed size of all files in megabytes (used for the progress bar).
    rawfilesList of Raw FilesList of files to write using block-wise copy mode (dd) for raw file systems.
  2. Raw Files (rawfiles)

    filenameStringFile name for blockwise copy. Supports compression detection (zip/gz/xz/bz2/lzo/zst for config v3+).
    dd_optionsStringAdditional options for the dd command (raw on block devices).
    nandwrite_optionsStringAdditional options for the nandwrite command (raw on NAND devices).
    product_idsList of StringProduct IDs for which this file will be copied (all supported if empty).
    sizeNumberUncompressed file size in megabytes (used for progress bar).
    offsetNumberByte offset for filename write. Negative values count from partition end. (Requires "config_format": 5)
    rawfilesList of Raw FilesList of files to write using block-wise copy mode (dd) for raw file systems.


This example derived from a standard Linux image.json file, from Verdin iMX8M Plus Tezi folder: It creates the usual two partition layout, a FAT partition for the Kernel/Device Trees and an ext3 partition for the root file system. An additional third partition has been added to create a location for user data.

The filename or filelist property can be used to pre-install user/application data.

"config_format": "4",
"autoinstall": false,
"name": "Toradex Easy Installer",
"description": "Toradex Easy Installer for verdin-imx8mp machine",
"version": "5.7.2+build.14",
"release_date": "2023-02-22",
"wrapup_script": "",
"icon": "tezi.png",
"isinstaller": true,
"supported_product_ids": [
"blockdevs": [
"name": "emmc",
"partitions": [
"partition_size_nominal": 128,
"want_maximised": false,
"content": {
"label": "BOOT",
"filesystem_type": "FAT",
"mkfs_options": "",
"filelist": [
"uncompressed_size": 44.980247497558594
"name": "emmc-boot0",
"erase": true,
"content": {
"filesystem_type": "raw",
"rawfiles": [
"filename": "imx-boot",
"dd_options": "seek=0"

Image List Format

For images loaded from an HTTP server, use an index file (typically image_list.json) to point to individual images. It contains:

config_format(*)IntegerThe image list format configuration version, currently always 1.
images(*)List of StringsList of images. This can be absolute or relative URLs.

This example points to two images, which are located in the directories Apalis_iMX6_LinuxImage_V2.6.2 and Apalis_iMX6_LinuxConsoleImage_V2.6.2 relative to the location of this index file:

"config_format": 1,
"images": [

Configuration Format

The Toradex Easy Installer configuration file (tezi_config.json) allows adding additional HTTP image sources, extending the search locations for image lists beyond the pre-configured Toradex servers, e.g. to distribute images in a local network or over RNDIS. It includes:

config_format(*)IntegerThe image list format configuration version, currently always 1.
image_lists(*)List of StringsList of image list sources. The absolute URL need to point to an Image List file (see above).
show_default_feedBooleanIf set to true the default image feed is fetched and the available images listed in the UI, else the feed is ignored.
show_3rdparty_feedBooleanIf set to true the 3rd party image feed is fetched and the available images listed in the UI, else the feed is ignored.
"config_format": 1,
"image_lists": [

Send Feedback!