Question about running hello world in CM7 on imx8mp-evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about running hello world in CM7 on imx8mp-evk

Jump to solution
942 Views
Vince100
Contributor II

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?

 

 

Labels (1)
0 Kudos
Reply
1 Solution
921 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Need more command in u-boot:

u-boot=> setenv fdtfile 'imx8mp-evk-rpmsg.dtb'; run prepare_mcore

u-boot=>boot



Best Regards,
Zhiming

View solution in original post

2 Replies
917 Views
Vince100
Contributor II

It works!

Thank you!

0 Kudos
Reply
922 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Need more command in u-boot:

u-boot=> setenv fdtfile 'imx8mp-evk-rpmsg.dtb'; run prepare_mcore

u-boot=>boot



Best Regards,
Zhiming