Hi @Chavira ,
I will check this document. Regarding the M4 binary update, I downloaded the L5.15.71_2.2.1 pre-built binaries and flashed them using the following command:
./uuu 5.15.71_2.2.1.zip
After that, I attempted to update the M4 binary [hello_world.bin] by following the specified steps. While loading the binary using "fatload", I could see the print over /dev/ttyUSB2. However, my intention is to run the binary on every reboot of the device.
Previously, I flashed the Yocto image using the command:
./uuu -b emmc_all imx-boot-imx8qxpc0mek-sd.bin-flash_linux_m4 imx-image-full-imx8qxpc0mek-20240213094507.rootfs.wic.zst
If we flash using the above command, a sample code [power_mode_switch.bin] will be running on the M4 core.Since this bin is running,I was not able to fatload the hello_world.bin.
To make hello_world.bin runnable on every reboot I created flash.bin using the mkimage tool[make SOC=iMX8QX REV=c0 flash_linux_m4] and created flash.bin is flashed using ./uuu -b emmc imx-boot-imx8qxpc0mek-sd.bin-flash_linux_m4 flash.bin and it is was updated and on every reboot this binary is running on m4 cortex.
Previously, I attempted to flash it using the command:
./uuu flash.bin.
However, it was not running on the M4 core. I am a little confused about the interpretation of the binary name. Why did ./uuu flash.bin not update the binary, and why did the following command update the binary:
:/uuu -b emmc imx-boot-imx8qxpc0mek-sd.bin-flash_linux_m4 flash.bin ?