In some cases with HMPs like iMX8MM or iMX8MP, Core-M firmware is loaded by uboot (not by remoteproc driver in Linux) - see this KB.
This topic describes how to automate the process of this loading during the boot.
Basically:
- include the
.binfirmware into TorizonOS TEZI image - customize
u-boot-initial-env-sdfile in TorizonOS TEZI image
I do this with a custom python script in my CI/CD pipeline.
But I think that since this could be a general need, a new option could be added to torizoncore-builder, so that inside tcbuild.yaml the user can specify a firmware to be loaded by uboot.
Thanks.