I try to run a program on the M4 core.
On the dual core A7 runs WEC2013 Image 1.1.
I cloned the FreeRTOS repository and opened the hello_world example project.
I can build and debug the project (more precisely I can debug the .axf file).
After that I created a .elf file from the .axf file with the
Now if I want to start the .elf file from the A7 core, it doesn’t work.
In march @luka.tx has send me a .elf file which is working.
I compared the two .elf files and there is a difference.
I uploaded a .zip archive where you can find the .elf files (see
The .elf file was created with the following command:
fromelf --elf --nodebug --output=hello_world_imx7_colibri_m4.elf hello_world_imx7_colibri_m4.axf
respectively with debug informations:
fromelf --elf --output=hello_world_imx7_colibri_m4_debug.elf hello_world_imx7_colibri_m4.axf
Both files do not work.
I think that in the “good” file
rpmsg_pingpong_freertos.elf the program starts at adress 0x2000.
Is there anything wrong in the
fromelf command? Do I have to specify other options?
Or is it the wrong scatter file?
In the archive file you can also find some screenshots from my DS-5 preferences.
But I changed nothing in there so these are the defaults from toradex.
Hope you can help me solving this problem.