AnsweredAssumed Answered

Running M4 from QSPI on i.MX8MMEVK

Question asked by m.c on Apr 2, 2019
Latest reply on Apr 3, 2019 by igorpadykov

Tested with U-Boot 2018.03-imx_v2018.03_4.14.78_1.0.0_ga+g654088c (Nov 28 2018 - 19:15:55 +0000) on i.MX8MMEVK.


We use below to update QSPI with hello world M4 code.

fatload mmc 1:1 0x43000000 imx8mm_m4_TCM_hello_world.bin
sf probe
sf erase 0 0x2000
sf write 0x43000000 0 0x2000


We can run it by loading from QSPI to TCM.

sf probe
sf read 0x7e0000 0 0x2000
bootaux 0x7e0000

# M4 console show hello world


But can't run it directly from QSPI.

sf probe
bootaux 0x8000000

# M4 console show nothing