Can anyone help me waking up Cortex M4 core on BB AI?

152 views
Skip to first unread message

Tejas Pidkalwar

unread,
Mar 3, 2020, 4:52:02 PM3/3/20
to BeagleBoard
Hi,

I have BB AI working with linux on it's A15 core. Currently i am trying to wake up Cortex M4 core. I tried to install TI's RTOS SDK on BB AI, which i could not proceed with, as didn't find any clear steps to do so. 
Has anyone woke up cortex M4?
Can anyone help me with the steps to wake up Cortex M4?

Thanks & Regards,
Tejas

Stephan Böck

unread,
Mar 4, 2020, 3:15:01 AM3/4/20
to BeagleBoard
Hello,

these cores should be accessible by default.
With the remoteproc system you can simply check this by navigating to /sys/class/remoteproc. There you should find two IPUs. (In my case remoteproc4 and 5). 

To generally use remoteproc, you can echo the name of your code to the firmware (place your code under /lib/firmware) and start it with echo 'start' > remoteprocX/state.

Stephan  

Tejas Pidkalwar

unread,
Mar 14, 2020, 6:49:18 PM3/14/20
to BeagleBoard
Hi Stephan,

IPU_Firmwares.png


As you said "you can echo the name of your code to the firmware (place your code under /lib/firmware) and start it with echo 'start' > remoteprocX/state." , Could you please explain how to do this?
Under lib/firmware folder, i found the IPU related files as mentioned in the screenshot.

regards,
Tejas

Stephan Böck

unread,
Mar 18, 2020, 2:48:38 AM3/18/20
to BeagleBoard
Hello Tejas, 

here you find a description on how to use the remoteproc system: 

This only addresses the PRUs, but maybe it might help you.

Stephan  

Kim Brugnetti

unread,
Dec 21, 2020, 9:11:53 AM12/21/20
to BeagleBoard
The PRU is not the cortex  M4 :(
Reply all
Reply to author
Forward
0 new messages