Skip to content

Commit

Permalink
imx8mn-var-som: fix m7 binary loading when using the TCM
Browse files Browse the repository at this point in the history
Starting from commit 9cc2323, is no
longer possible loading binaries directly to TCM.
Let's copy in DDR and then to the final target address.
  • Loading branch information
varigigi committed Sep 4, 2020
1 parent 57b7625 commit c935eee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/configs/imx8mn_var_som.h
Expand Up @@ -127,7 +127,8 @@
"m7_addr=0x7e0000\0" \
"m7_bin=hello_world.bin\0" \
"use_m7=no\0" \
"loadm7bin=load mmc ${mmcdev}:${mmcpart} ${m7_addr} ${bootdir}/${m7_bin}\0" \
"loadm7bin=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${bootdir}/${m7_bin}; " \
"cp.b ${loadaddr} ${m7_addr} ${filesize}\0" \
"runm7bin=" \
"if test ${m7_addr} = 0x7e0000; then " \
"echo Booting M7 from TCM; " \
Expand Down

0 comments on commit c935eee

Please sign in to comment.