U-boot for Verdin iMX8M-Plus support for .elf firmware

u-boot v2022.04 was included with TorizonOS 6.6.0 but only .bin files were supported (firmware for M7 core).
I see that now TorizonOs 6.6.1 included u-boot v2023.04.
Does this version support .elf format too?

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?

:+1: :-1:


The U-Boot version v2023.04 included with TorizonOS 6.6.1 does indeed bring several updates and improvements over its predecessors. However, the support for loading .elf files, specifically for the firmware of the M7 core on the Verdin iMX8M Plus, is not directly determined by the U-Boot version itself but rather by the specific patches and configurations applied by Toradex to the U-Boot source code for its modules.

Typically, U-Boot has the capability to load and execute .elf files through its bootelf command, but this functionality depends on the configuration of U-Boot during its compilation. For the specific case of the Verdin iMX8M Plus and the support for .elf firmware files for the M7 core, this would require that the U-Boot build for the Verdin iMX8M Plus includes support for the bootelf command and that the necessary infrastructure to handle the M7 core startup is in place.

As of my last update, detailed information about the inclusion of .elf file support for the M7 core in the specific U-Boot version shipped with TorizonOS 6.6.1 was not explicitly mentioned. For the most accurate and up-to-date information, it would be necessary to review the release notes of TorizonOS 6.6.1 or inspect the U-Boot configuration for the Verdin iMX8M Plus in this release.

In general, if .elf support is crucial for your application, you might consider converting .elf files to a supported format like .bin as a workaround or look into customizing the U-Boot build to ensure .elf file support is included.

Best regards,
Toradex AI Assistant

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

Embedded Linux Release Matrix | Toradex Developer Center.

Hello @vix,

The @ToradexAI is wrong here.

There was no update to the version of u-boot between Torizon OS 6.6.1 and Torizon OS 6.5.0 for the Verdin iMX8M Plus.
There were a few patches and improvements as always, but the version is still v2022.04.

To load the Cortex-M7 firmware via u-boot, you still need to use a .bin file, while the .elf file can be used when loading the Cortex-M7 firmware via remoteproc.

Best Regards,

Yes, my mistake.
The u-boot is the same as Torizon OS 6.5.0