On 5/1/2019 2:03 PM, Jon Elson wrote: > > > On Tuesday, April 30, 2019 at 6:00:51 PM UTC-5, Charles Steinkuehler wrote: >> >> Is there a reason you like beating your head against the wall? >> >> Just let U-Boot load the universal and PRU-UIO overlays, and use >> config-pin to setup the PRU direct inputs/outputs. >> >> YES, config-pin is clearly what I needed, but never found anywhere in the > docs/discussion! OK, so now, I'm trying to get it to work, but run into: > $ sudo config-pin P8_45 pruout > [sudo] password for elson: > P8_45 pinmux file not found! > bash: /sys/devices/platform/ocp/ocp*P8_45_pinmux/state: No such file or > directory > Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P8_45_pinmux/state
You'll need to disable HDMI to use those PRU pins on P8: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices ...I think you then need to either load a different universal overlay or a second chunk of the overlay that will add support for those pins. *checks source URL provided on eLinux page* https://github.com/beagleboard/bb.org-overlays/ Yep, if I'm reading things right, it looks like you want to load "cape-universalh-00A0.dts": https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/cape-universalh-00A0.dts ...which will create pinmux entries for the HDMI pins. -- Charles Steinkuehler [email protected] -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
