Hello, @liujian_abup
I feel sorry that what I posted is just to show an example, not reproducible commands, the M7 binary should be copied to the SRAM before starting it.
To be more detail, let me take IPCF example here for instance:
- dcache off
- mw.q 0x34100000 0x0 0x40000 //zero the SRAM
- fatload mmc 0:1 0x80000000 M7test.bin //load M7 binary
- cp.b 0x80000000 0x34300000 0x300000 //copy it the SRAM(according to the M7 linker file)
- startm7 0x34500400 //start it on M7, according to map address
In your actual case, since the loading address and the vector address may vary, the corresponding address should be changed separately.
By the way, there may be issues when running M7 application via u-boot due possible conflicts, a preferred way for running the A53 and M7 tasks simultaneously is to load them via seperate bootloader.
BR
Chenyin