Re: [beagleboard] Re: i wanna 8bit gpio control

2014-08-13 Thread Brandon I
I believe the only way is to remove them from the main device tree overlay since that will be loaded before anything else you can do. Decompile the dtbo, remove the usr led entries in the resulting dts, and recompile to dtbo (at least this is how it used to work). On Wed, Aug 13, 2014 at 3:10 PM,

[beagleboard] Re: i wanna 8bit gpio control

2014-08-13 Thread Patrick Sheridan
Hi Brandon, I'm currently using mmap (in Python) to achieve register wide GPIO. I'm concerned though, that the kernel still thinks it owns that memory and might inadvertently write to it (for ex: if you forget to disable the heartbeat trigger). Do you know of a way to disable the sysfs inter

[beagleboard] Re: i wanna 8bit gpio control

2014-07-29 Thread Brandon I
That's still one bit control. There's going to be some unknown time between the bits that will depend on cpu usage. For true 8 bit, you need to use mmap to get a pointer to the gpio control block and modify the registers directly. Each gpio block has 32 pins, and each gpio block has a set and c