- Verdin imx8mm
- Custom HW - only SD Card
- YOCTO - Linux BSP: 6.4.0
Hi Toradex community,
I have a verdin-imx8mm module in a custom HW without Ethernet and USB. I have ONLY an SD card.
I know that it is possible to do the AUTOMATIC update by having an SD Card with easy Installer and the customized image in the USB.
Is it possible have the same system but only with an image, since I have no USB devices.
If so, how can I integrate it on Yocto?
Hi, Iβm the Toradex AI Assistant. Iβm in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?

Hello,
For your Verdin iMX8MM module setup using only an SD card for updates, without Ethernet and USB, you can indeed prepare an SD card that contains both the Toradex Easy Installer and your custom image. This approach allows you to perform an automatic installation of your custom image onto the module.
Hereβs how you can achieve this:
-
Prepare Your Custom Image in Yocto: Ensure your custom image is built using Yocto, following the specifications of BSP 6.4.0. This process involves creating a recipe that defines your image configuration, including any custom packages or modifications you require.
-
Export Your Custom Image: After building your image with Yocto, youβll have an image file (typically a .tar
file for Linux images) that needs to be prepared for the Toradex Easy Installer. This involves creating a JSON file that describes your image, including metadata such as name, version, and description, as well as technical details like where the image should be installed on the moduleβs storage.
-
Prepare the SD Card with Toradex Easy Installer: Download the latest version of the Toradex Easy Installer compatible with the Verdin iMX8MM. Youβll need to write this installer to your SD card. The process typically involves using a tool like dd
on Linux or a graphical tool like Etcher on Windows to write the installer image to the SD card.
-
Add Your Custom Image to the SD Card: With the Toradex Easy Installer on the SD card, you now need to add your custom image to it. This involves copying your image file and its JSON descriptor to the SD card, placing it in the appropriate directory where the Easy Installer expects to find installable images. The exact path can vary, but itβs typically a directory named tezi
on the SD card.
-
Automatic Installation: To enable automatic installation, youβll need to modify the image.json
file of your custom image to include the "autoinstall": true
property. This instructs the Toradex Easy Installer to automatically install this image without user intervention when it boots from the SD card.
-
Boot from SD Card: Insert the prepared SD card into your custom hardware and power on the Verdin iMX8MM module. The Toradex Easy Installer should boot from the SD card, detect your custom image, and proceed with the automatic installation process.
Ensure that your SD card is formatted correctly and that the partition layout
Please, also check if these links can help you solve your problem:
Verdin Development Board | Toradex Developer Center.
Add Your Custom Image to the SD Card β> it doesnβt work because easy installer is scanning for an usb or ethernetβ¦
Hello @dinetta,
It is possible to have both easy installer and a custom image on one SD card. However, you should create separate partitions on your SD card for these for this to work. Could you please try that and let us know how that goes?
thank you, it worked by creating 2 partitions as ext4 and using the default Verdin-iMX8MM_Reference-Minimal-Image-Tezi_6.6.0+build.12.
If I create a FAT partition or I use my compiled image, I have these errors:
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1β¦
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@30b40000.blkβ¦
Scanning disk mmc@30b50000.blkβ¦
Card did not respond to voltage select! : -110
Scanning disk mmc@30b60000.blkβ¦
Disk mmc@30b60000.blk not ready
Found 6 disks
No EFI system partition
ERROR: invalid device tree
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1β¦
Found U-Boot script /boot.scr
6010 bytes read in 1 ms (5.7 MiB/s)
Executing script at 50280000
Loading DeviceTree: imx8mm-verdin-nonwifi-dev.dtb
Anyway if I think that a technician has to create 2 partitions, it is to complicate.
Is there a possibility to have everything in a single partition?
Hello @dinetta,
Were you successful in flashing your custom built image on the hardware by other means? For example from a local webserver or from a USB drive? This is just to make sure that the image is built properly and that it works with the device.
Regarding the FAT partition and having both the easy installer and the OS image in a single partition, I will have to check it internally with our team to see if there are any plans to support these use-cases. I will update you as soon as I have an answer.
Hello @dinetta,
You can achieve this by using a single FAT32 partition on a SD card.
In this partition you can copy the Toradex Easy Installer files and the folder with your custom image which is configured to auto-install.
This way when the device is turned on, it will boot to Toradex Easy Installer and the image will be auto-installed.
Here is an example of how this can be organized:
$ lsblk -l -o NAME,FSTYPE,SIZE,TYPE -d /dev/mmcblk0*
NAME FSTYPE SIZE TYPE
mmcblk0 14,8G disk
mmcblk0p1 vfat 14,8G part
$ tree
.
βββ boot.scr
βββ image.json
βββ imx-boot-recoverytezi
βββ imx-boot-sd
βββ overlays.txt
βββ recovery
β βββ uuu
β βββ uuu.auto
β βββ uuu.exe
βββ recovery-linux.sh
βββ recovery-windows.bat
βββ recovery-windows.README
βββ tezi.itb
βββ tezi.png
βββ Verdin-iMX8MM_Reference-Multimedia-Image-Tezi_6.6.0+build.12
β βββ image.json
β βββ imx-boot
β βββ LA_OPT_NXP_SW.html
β βββ marketing.tar
β βββ prepare.sh
β βββ Reference-Multimedia-Image-verdin-imx8mm.bootfs.tar.xz
β βββ Reference-Multimedia-Image-verdin-imx8mm.tar.xz
β βββ toradexlinux.png
β βββ u-boot-initial-env-sd
β βββ wrapup.sh
βββ wrapup.sh
3 directories, 24 files
Please let us know if you have any problems getting this setup.
Best Regards,
Bruno
Hi Bruno,
I have always the same error if I put everything in the same partition:
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1β¦
Found U-Boot script /boot.scr
Failed to load β/boot.scrβ
Executing script at 50280000
Wrong image format for βsourceβ command
SCRIPT FAILED: continuingβ¦
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@30b40000.blkβ¦
Scanning disk mmc@30b50000.blkβ¦
Card did not respond to voltage select! : -110
Scanning disk mmc@30b60000.blkβ¦
Disk mmc@30b60000.blk not ready
I also tried with the Dahlia Carrier Board and I downloaded from
https://artifacts.toradex.com/artifactory/tdxref-oe-prod-frankfurt/kirkstone-6.x.y/release/12/verdin-imx8mm/tdx-xwayland/tdx-reference-minimal-image/oedeploy/Verdin-iMX8MM_Reference-Minimal-Image-Tezi_6.6.0+build.12.tar
but I have the same error, so it not my custom Image or HW.
Hello @dinetta,
Thanks for checking on a Dahlia as well.
I have tested this procedure here an it works.
Can you confirm which version of the Toradex Easy Installer is being used?
There are also a few other things which could be different and causing the issue:
Can you check these topics and let us know?
This way we can try to reproduce the same scenario you have and try to come up with a configuration that works.
Best Regards,
Bruno
Hello @bruno.tx ,
I found the problem, I used to format my SD as FAT32 without a GPT table. If I create it, it works.
Thank you for your help 
It would be nice in the future to no longer need to create a partition table, so that we could also use windows as an operating system.
Hello @dinetta,
It is good to know that a GPT partition table is a requirement, we will update the documentation to reflect this.
Unfortunately Windows places some arbitrary restrictions in its partition manager functionality when using an SD card.
It is possible that the command line tools work for this use case on Windows.
Otherwise, there may be third party tools which would be able to change the SD cardβs partition table.
Best Regards,
Bruno
1 Like