Ok, so that question might seem very basic, I'm wracking my brain as to why it doesn't work, but here it goes:
I'm trying to run the basic hello world in the CM7 on a imx8mp-evk. Release 6.6.52.
In u-boot:
u-boot=> setenv fdtfile 'imx8mp-evk-rpmsg.dtb';
u-boot=>boot
[device boots, I enter login]
imx8mpevk login: root
root@imx8mpevk:~# echo -n /lib/firmware/ > /sys/module/firmware_class/parameters/path
root@imx8mpevk:~# echo -n imx8mp_m7_TCM_hello_world.elf > /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/firmware
root@imx8mpevk:~# echo start > /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/state
And then, Linux hangs. No "hello world" in any console (should be in console 4, which is COM8 for me, but I got all 4 open just to make sure). What am I doing wrong here?
Solved! Go to Solution.
Hello,
Need more command in u-boot:
u-boot=> setenv fdtfile 'imx8mp-evk-rpmsg.dtb'; run prepare_mcore
u-boot=>boot
Best Regards,
Zhiming
It works!
Thank you!
Hello,
Need more command in u-boot:
u-boot=> setenv fdtfile 'imx8mp-evk-rpmsg.dtb'; run prepare_mcore
u-boot=>boot
Best Regards,
Zhiming