> On Jul 20, 2016, at 8:46 AM, TJF <[email protected]> wrote:
> 
> 
> Hi William!
> 
> Am Dienstag, 19. Juli 2016 19:54:02 UTC+2 schrieb William Hermans:
> SO, after talking with Robert and finding that all these kernel modules that 
> get loaded from cape_universal=enable. I wonder how this impacts other capes 
> such as the Logic supply RS232 / CAN cape that automatically loads it's own 
> device tree  overlay.
> 
> Could capes such as this be loaded first, and then still have universal-io 
> capabilities ? 
> 
> You can replace cape_universal by the libpruio universal overlay. That 
> doesn't enable drivers/subsystems (= saves power and resources consumptions), 
> but has the same pinmuxing capability. It's even more safe, since it seems 
> that cape_universal can damage your CPU by a sequence like
> 
> config-pin P9_42 gpio high
> config-pin P9_92 gpio low
> 
Looking at:

https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/master/config-pin

Nothing bad will happen. The first command will set GPIO high and the next will 
change the GPIO to low. Besides, the AM335x won’t allow an output conflict. 

Regards,
John
> (I didn't test it, but if you do so, please report.)
> 
> Regarding other capes, libpruio ships with a tool to adapt the universal 
> device tree overlay. It can generate overlays that do not claim a specified 
> set of pins. Instead of fiddling with device tree entries, you just list the 
> pins you want to get freed and let the tool deal with the low-level stuff. 
> Such an overlay can get loaded before or after any other cape overlay.
> 
> In order to replace the config_pin tool, you can write small programs 
> (compiled against libpruio), which do the pinmuxing and enable the subsystems 
> in use (only that ones).
> 
> BR
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/87197b98-c1dc-472e-9919-cd2b4fa4aab5%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/87197b98-c1dc-472e-9919-cd2b4fa4aab5%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/4ABA5705-E21B-49C8-BCF5-08988E09176F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to