Hello, I’m having trouble installing the Colibri iMX6 image to a colibri.
What I am trying is to extract the tar onto a sd card then slide it in a Viola Dev Board and boot up the system, it does not go into Toradex Easy Installer and loads the previously installed image (from yocto).
If I try to flash the toradex reference image to a blank colibri, then it goes to Toradex Easy Installer but when i do watch df -h I can see that it’s not installing anything.
I am able to extract the .wic to a sdcard and then when it gives me 2 seconds during autoboot to stop, i run “run sdboot” and it does load the image, but I do not want to have it on Sd card, I want it on eMMC.
Is there anything I need to change in the way of flashing the colibri with the reference image?
I have also used yocto and ran “bitbake tdx-reference-minimal-image” and built an image, which wasn’t flashable via Tezi but was also able to load it via SD card; I also tried adding:
" IMAGE_CLASSES_append = " image_type_tezi" "
" IMAGE_FSTYPES = “teziimg” "
But it did not fix the problem of not being able to load into Tezi and autoflashing the image.
I also can’t exactly follow Downloads & Installers | Toradex Developer Center because I do not have a graphical interface; What I did in the past is to load an sd card with tezi integrated and it would go into Tezi and flash the image into eMMC
To flash a new image using the Toradex Easy Installer, the installer needs to be started first. If you have a pre-existing image, it means that the Toradex Easy Installer is no longer present. You must either already have the Toradex Easy Installer (which is essentially a stripped-down version of Linux with a GUI application) flashed into the module’s eMMC, or you must start it through another method. The recommended procedure to launch the Toradex Easy Installer on a module is via USB loading. Freshly shipped modules come with the Toradex Easy Installer pre-flashed into eMMC, allowing it to initiate upon power-up. To make the Toradex Easy Installer to flash your new image from an SD card, modify the image.json
file and set the “autoinstall” property to true
. If you don’t have a display, you can utilize remote desktop , or you can adjust the ‘wrapup_script’ or error_script
to relay relevant messages to the debug console
Hello @alex.tx , thank you for your response.
I have now tested setting “autoinstall” in image.json to true, and on a fresh board, which comes with Toradex easy installer, it was possible to install the Toradex reference image.
Now I have built tdx-reference-minimal-image using yocto and got the same image as the reference image.
I am wondering if it is possible to have an sd card with both the image and tezi, so that when i insert the sd card and boot the colibri it would boot up Tezi and autoinstall the image.
What I have tried is to add to local.conf:
MACHINE ?= "colibri-imx6"
IMAGE_FSTYPES += "wic.xz"
IMAGE_CLASSES_append = " image_type_tezi"
and do bitbake tdx-reference-minimal-image ;
But the .tar when extracted has " u-boot-initial-env-spl " and not " boot.scr" as I would have expected from Tezi.
What can I do to make yocto build an image with Tezi integrated, to add into an sd card, which auto installs the image into the colibri?
You can’t “make a Yocto build of an image with Tezi integrated.” TEZI and other images, like “tdx-reference-minimal-image,” are two separate entities. I can’t see a way to integrate one into the other. However, you can create a bootable SD card with a pre-built TEZI image and also place the “tdx-reference-minimal-image” or any other image compatible with TEZI on the same card. Thus, TEZI will boot from the SD card, and if “autoinstall” is set to true on the target image, that image will be flashed automatically.
Some more information about bootable SD card - Distro Boot | Toradex Developer Center
Please note - Easy Installer is not an update tool. You should instead consider using a proper update solution, such as the Torizon remote updates. Despite the often-used term “over-the-air” on-premise offline updates are possible, including with Torizon.