We are adding a program to run on the M4 on our Colibri iMX8 and want it to run on startup and include it in the image that we make with the torizon core builder.
We can currently add a binary to run in u-boot by running these commands a single time:
setenv load_cmd "ext4load mmc 0:1"
setenv m4_0_image "/ostree/deploy/torizon/var/firmware.bin"
setenv bootcmd "run m4boot_0; run bootcmd_mmc0;"
But we are wondering what the best practice would be for adding this to the image created by TorizonCore Builder tool. Is there some way to customize the boot process from within the TorizonCore builder tool?