Hello,
based on this description I have the following now, think the device tree 
should work.
Interesting is, I have to send 
echo RoboticsCape > /sys/devices/platform/bone_capemgr/slots &

in background, otherwise the prompt is gone. But system is still working.
cat /sys/devices/platform/bone_capemgr/slots
 0: PF----  -1 
 1: PF----  -1 
 2: PF----  -1 
 3: PF----  -1 
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,RoboticsCape

I modified the RoboticsCape for pin40 ... pin43 mode5 outputs. Then compile 
and result is copied into /lib/firmware.

Hope it still works after reboot.
The pins are outputs now.
pin 40 (44e108a0.0) 00000025 pinctrl-single 
pin 41 (44e108a4.0) 00000025 pinctrl-single 
pin 42 (44e108a8.0) 00000025 pinctrl-single 
pin 43 (44e108ac.0) 00000025 pinctrl-single 
pin 44 (44e108b0.0) 00000025 pinctrl-single 
pin 45 (44e108b4.0) 00000025 pinctrl-single 
pin 46 (44e108b8.0) 00000025 pinctrl-single 
pin 47 (44e108bc.0) 00000025 pinctrl-single

Hope it's correct.
Next is compile my sources, because gcc complains -lprusdrv is not 
available and so on.

The pru C-Code compiles without errors.

Any idea what is still missing?

Thanks 
Kasimir

Am Dienstag, 5. September 2017 18:55:37 UTC+2 schrieb Kasimir:
>
> I want to use the HDMI outputs to drive external circuit. Required toggle 
> rate is between 1MHz and 10MHz.
> Have BB black.
> uname -a
> Linux beaglebone 4.4.84-ti-r120 #1 SMP Sun Aug 27 03:11:07 UTC 2017 
> armv7l GNU/Linux
> cat /etc/debian_version 
> 9.1
> So I have to use the PRU unit.
> I was searching example to have a starting point.
> But it sucks already with the first step.
>
> ll /sys/devices/bone_capemgr*
> ls: cannot access '/sys/devices/bone_capemgr*': No such file or directory
>
> I load the image from here: 
> http://debian.beagleboard.org/images/bone-debian-9.1-iot-armhf-2017-08-31-4gb.img.xz
>
> What is my mistake?
> Device tree compiler is up to date
> device-tree-compiler is already the newest version (1.4.4-0rcnee3~stretch+
> 20170719).
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> Found a lot of hints to use the 3.8 kernel. Think that one is already some 
> years old, can't be true.
>
> Question: How to create the required device tree overlay, because /sys/
> devices/bone_capemgr* is not existing?
>
> Thanks for help
>
>
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7b3fd698-aadb-482a-8204-e8df7e47e610%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to