How to create a custom ToradexEasyInstaller .itb file

Hello,
in a typical Toradex Easy Installer image you have these files

└── Colibri-iMX6ULL_ToradexEasyInstaller_1.8-20181019
    ├── boot.scr
    ├── boot-sdp.scr
    ├── image.json
    ├── recovery
    │   ├── imx_usb
    │   ├── imx_usb.conf
    │   ├── imx_usb.exe
    │   ├── mx6ull_usb_rom.conf
    │   ├── mx6ull_usb_sdp_uboot.conf
    │   ├── mx6_usb_rom.conf
    │   ├── mx6_usb_sdp_spl.conf
    │   ├── mx6_usb_sdp_uboot.conf
    │   ├── mx7_usb_rom.conf
    │   ├── mx7_usb_sdp_uboot.conf
    │   └── README
    ├── recovery-linux.sh
    ├── recovery-windows.bat
    ├── tezi.itb
    ├── tezi.png
    ├── u-boot-nand.imx
    └── wrapup.sh

I need to replace the file tezi.itb because I have to replace the internal Image 2 (fdt@1) Colibri iMX6ULL Device Tree adapted to my custom settings.

I already read this useful document about Modify the Toradex Easy Installer Image

My questions are:

  • How do you usually generate the pieces needed into the .itb file?
  • Is it possible to create a new customized .itb file with Yocto?
  • Is this feature provided into any Toradex meta-layer?
  • Or at least do you have any hint?

Thank you

Would be possible at least to have a link to the kernel sources used to generate the tezi.itb ?
I need ToradexEasyInstaller_1.8 because I have Colibri iMX6ULL 512MB (NAND).

$ dumpimage -l tezi.itb

FIT description: Toradex Easy Installer for Colibri iMX6
Created:         Fri Oct 19 16:14:21 2018
 Image 0 (kernel@1)
  Description:  Linux Kernel 4.1  <--------------------------- THIS ONE 
  Created:      Fri Oct 19 16:14:21 2018
  Type:         Kernel Image
  ...

Hi @koan !

The device tree adaptation process is described in How to Modify a Toradex Easy Installer Image | Toradex Developer Center, as you already know. The process described there didn’t work for you?

To do so, one would need the source code of the Toradex Easy Installer application, but it is not publicly available.

We have the meta-toradex-tezi publicly available, but it will not allow you to build Toradex Easy Installer for the same reason as above.

Could you please elaborate on this necessity? We have already newer Toradex Easy Installer versions than 1.8 available for Colibri iMX6ULL. Please refer to Loading Toradex Easy Installer | Toradex Developer Center.

Best regards,

Hello and thank you for answering.

  1. The device tree adaptation process is described in your page however I asked for a sort of automatic generation, not manual.
    However even if I would try to follow the procedure described in Create Image | Toradex Developer Center you are not pointing out to the proper Kernel source repository and that’s bad.
    Can you provide at least that ?

  2. I think that would be possible to create a new customized .itb file with Yocto. In this case you could provide the proprietary artifacts (like Toradex Easy Installer application) as a binary with a proper recipe into meta-toradex-tezi.
    In this way one would have the full control of all the components needed by the Colibri board.
    This is up to you.

  3. See point 2

  4. I need ToradexEasyInstaller_1.8 because what you state in this page where you say "
    Production Version → The production version of Toradex Easy Installer in our modules are available from the table below: → Colibri iMX6ULL (NAND flash memory) → Colibri-iMX6ULL_ToradexEasyInstaller_1.8-20181019".
    I have a Colibri iMX6ULL 512MB (NAND)
    So I am confused: do I really need to stuck with ToradexEasyInstaller_1.8 or not ?

Looking forward to receiving your reply
Thank you

Marco

Would be possible to have an answer please?

Hi @koan !

From the meta-toradex-tezi (among the other usual layers - reference to Build a Reference Image with Yocto Project/OpenEmbedded | Toradex Developer Center) it is possible to find out which kernel version/branch/commit is in use for a module. You can also check against the information at Build From Source Code Documentation Overview | Toradex Developer Center.

This is an interesting feature/release request. I will bring this up internally.

I can see why you are confused. As stated on the website, the production version (in other words, the version that is installed during production) is indeed the old one. A brand new Colibri iMX6ULL 512MB (NAND) that you receive will have installed the Toradex Easy Installer v1.8. This doesn’t mean that newer Tordadex Easy Installer versions are supported on this module. I will bring up your misunderstanding internally so we can rephrase the information on the aforementioned Developer article.

And, as you can see below, it is possible to use newer Toradex Easy Installer on Colibri iMX6ULL with raw NAND.

Best regards,

1 Like