Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the context provided, it seems that your current U-Boot version (2020.04-5.5.0-devel) does not support the bootelf
command, which is typically used for loading ELF files. The bootaux
command you are using is not designed to interpret ELF files; it is primarily used for booting auxiliary processors with binary images. Therefore, using bootaux
with an ELF file without proper ELF handling will likely lead to issues such as device rebooting.
Since your U-Boot version lacks the bootelf
command, and bootaux
cannot interpret ELF files, you will not be able to load and execute the axf file successfully with the current setup. You may need to explore alternative methods, such as:
-
Converting the AXF to a BIN File: Consider converting your axf file to a bin file that can be loaded using
bootaux
. This might involve using a toolchain or utility that can extract the necessary sections from the ELF file and create a binary image. -
Updating U-Boot: If possible, update your U-Boot version to one that includes support for ELF loading with the
bootelf
command. -
Custom ELF Loader: Implement a custom ELF loader in U-Boot that can parse the ELF file and load the sections into the correct memory locations.
Without these changes, the current setup will not be able to handle the ELF format correctly.
Please, also check if these links can help you solve your problem:
IMX7D - can't start M4 elf file from U-boot, works from ULINK debugger.