PRU with 4.1.12-bone-rt-r16

30 views
Skip to first unread message

Amr Alanwar

unread,
Oct 8, 2016, 11:06:43 PM10/8/16
to BeagleBoard
Hi All

I am still facing aproblem in enabling the PRU. I have to use kernel 4.1.12-bone-rt-r16.

The error is when i call
root@beaglebone:/home/amr/chp13/PRUclock# echo EBB-PRU-Example > /sys/devices/platform/bone_capemgr/slots
-bash: echo: write error: Invalid argument


in dmesg it shows
[  375.463548] bone_capemgr bone_capemgr: part_number 'EBB-PRU-Example', version 'N/A'
[  375.463611] bone_capemgr bone_capemgr: slot #8: override
[  375.463650] bone_capemgr bone_capemgr: Using override eeprom data at slot 8
[  375.463693] bone_capemgr bone_capemgr: slot #8: 'Override Board Name,00A0,Override Manuf,EBB-PRU-Example'
[  375.464715] __of_adjust_tree_phandle_
references: Could not find target property 'fixup' @/__local_fixups__
[  375.474644] bone_capemgr bone_capemgr: slot #8: Failed to resolve tree

I got the same error when i tried to run other examples from exploring BBB book.

What do you think ?

Thanks a lot

Amr Alanwar

unread,
Oct 8, 2016, 11:06:43 PM10/8/16
to BeagleBoard
Hi All

I have to use kernel image 4.1.12-bone-rt-r16 with PRU

I got error when i call

Greg

unread,
Oct 9, 2016, 12:52:48 PM10/9/16
to BeagleBoard
Can you use Universal IO instead?  I've been working on a PRU project and found it saved me a lot of trouble tweaking the Device Tree.


I started using this rather than editing the Device Tree, and found it managed the PRU pins adequately.
So I had the intention of returning to this problem and building a custom DT.
The Beaglebones have plenty of resources to handle this, so why not use it permanently?
Perhaps if you are using a cape type plug-in with stored configuration a custom DT would be mandatory.

Note that you can put all of your pin configurations in a text file and load them with the config-pin -f option.
Put this in whatever start-up configuration you use and you are good to go.

Greg

Reply all
Reply to author
Forward
0 new messages