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
Solved! Go to Solution.
Hi m.c.
for running from qspi image should be rebuilt using MIMX8MM6xxxxx_cm4_flash.icf
linker configuration file and p.19 attached Getting Started with MCUXpresso SDK for i.MX 8M Mini
document gives some examples for running images from different memories.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi m.c.
for running from qspi image should be rebuilt using MIMX8MM6xxxxx_cm4_flash.icf
linker configuration file and p.19 attached Getting Started with MCUXpresso SDK for i.MX 8M Mini
document gives some examples for running images from different memories.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------