SOLUTION - Missing /dev/rpmsg_pru30 and /dev/rpmsg_pru31

已查看 82 次
跳至第一个未读帖子

Bruce Chidester

未读,
2021年5月27日 13:00:112021/5/27
收件人 BeagleBoard
I am in the middle of struggling while introducing myself to the PRU. I want to contribute to the world to help some other struggling individual and this seems like the right place to post a solution.

I am using Beaglebone Black Rec C. 
Running the uboot_overlay_pru=AM335X-PRU-RPROC-4-19-TI-00A0.dtbo defined in /boot/uEnv.txt

If you do not see the /dev/rpmsg_pru3* devices and you expect them, the zip file I have attached has a working solution to make them show up. I believe the solution has a lot to do with the right resource file and the PRU code. They will not simply just show because you have 2 PRU's. This may seem obvious to the more advanced PRU people, but took me a couple of weeks to figure this (and other things) out.

Here are my results after days of trying to figure out the magic to get the devices to show up:

root@beaglebone:/home/debian/rpmsg_pru# ./run.sh
rpmsg_pru30
rpmsg_pru31

Once the devices show for you:

echo "test30" > /dev/rpmsg_pru30
echo "test31" > /dev/rpmsg_pru31

cat /dev/rpmsg_pru30
<Ctrl> - c

cat /dev/rpmsg_pru31
<Ctrl> - c

rpmsg_pru.zip

Mark Lazarewicz

未读,
2021年5月27日 13:13:592021/5/27
收件人 beagl...@googlegroups.com
Very helpful post Bruce thanks. I am just a PRU observer. The resource file is discussed in some TI documents it's a way to let Linux understand what resources the PRU will need is what I understood.


I'm guessing the SDK examples I played with had this all set up.

My guess this file will be important if you use any DDR to store you're samples.

Great to know you are on the  path to success!!!!

Mark


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/562bed0a-c4d6-43aa-b62a-7528034cc8b6n%40googlegroups.com.

Bruce Chidester

未读,
2021年5月28日 12:32:242021/5/28
收件人 BeagleBoard
Where's the "like" button?

Here it is -> LIKE

回复全部
回复作者
转发
0 个新帖子