JSON file for custom TEZI Feeds

Hello,

I have prepared a Yocto image following the build instructions. The output looks like this

Now I am trying to follow the manual to flash the Yocto image to the board. I have a custom board and it doesn’t have USB port. Hence I have to flash it via Ethernet or USB-C port over RNDIS.

Now I used TEZI in recovery mode and got it running on the board.
The TEZI can read the image_list.json file as mentioned in the manual which is mentioned in the path /etc/avahi/services/tezi.service.

It contains:

{ 
 "config_format": 1, 
 "images": [ 
   "apalis_tk1/image.json" 
 ] 
}

And in apalis_tk1 directory I have another JSON file, which I copied from TEZI installer.
I get an error for parsing JSON file on the device.

My question is, how can I flash this custom build image to the board?
Can I find an example JSON file which can do this?

Thank you!

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 flash your custom Yocto image to the board using the Toradex Easy Installer (TEZI), you need to ensure that your JSON configuration files are correctly formatted and point to the right image files. Here are some steps and considerations based on the context provided:

  1. Validate JSON Files: Ensure that both your image_list.json and the image.json files are correctly formatted according to JSON standards. You can use an online JSON validator like jsonlint.com to check for syntax errors.

  2. Correct Paths: Make sure that the paths specified in your JSON files are correct and accessible. The image_list.json should correctly point to the image.json file, and the image.json should correctly point to the image files (e.g., root filesystem, kernel, etc.).

  3. Example JSON File: While the context does not provide a specific example JSON file, you can derive an example from the standard Linux image.json file used for Toradex modules. This typically includes properties for partition layout, file paths, and other necessary configurations.

  4. Configuration Format: Ensure that your tezi_config.json file is set up to add additional HTTP image sources if you are using a local network or RNDIS for distribution. This file should extend the search locations for image lists beyond the pre-configured Toradex servers.

  5. Error Handling: If you encounter parsing errors, double-check the JSON syntax and ensure that all required properties are included. The error message might give you a clue about what is wrong.

  6. Testing: Once you have corrected the JSON files, test the setup by running TEZI in recovery mode again and see if it can successfully read and parse the JSON files.

If you need a specific example JSON file, you might need to refer to the Toradex documentation or community forums for a sample configuration that matches your setup.

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

Flashing RootFS from u-boot on Colibri IMX6ULL.

Hi @rajtendulkar !

In order to install your custom image, you can use our TorizonCore Builder tool. Even though it has “Torizon” in its name, you can use a command called images serve to install Yocto custom images via HTTP.

Please, refer to this community topic where I explained how to use it and to this article which describes how to install the tool.

Feel free to ask if you have any doubts or find any issues.

Best regards.
Lucas Azeituno

@lucas_az.tx : Thanks a lot for those pointers. I am able to flash now with the tool.

Thanks!

Hi @rajtendulkar !

I’m glad to know that.

Best regards.
Lucas Azeituno