--
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 beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Well, the BoneScript and PyBBIO libraries both need to be updated for
4.1. Shouldn't be that hard with a focused effort. Patches welcome.
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f35e0bef-730f-4ddb-bc64-1abb8e4a24e8%40googlegroups.com.
It does, but it depends on the image you start with. Usually it's
found in /opt/source/beaglebone-universal-io/, with a symlink for
config-pin in /usr/local/bin/config-pin:
https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org-wheezy.sh#L389-L396
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c3dcd834-f69a-21ff-fbb6-4ce99ed12644%40steinkuehler.net.
Wrap away!
I'm just happy the universal overlay concept has caught-on. I wanted
people to be able to do most simple things without having to craft
custom device-tree overlays. Using a custom overlay is still the most
flexible option, but there's a pretty high barrier to entry.
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b8bacad4-1c9c-46fe-1cdf-243632cb85cd%40steinkuehler.net.
See the readme:
https://github.com/cdsteinkuehler/beaglebone-universal-io
That's probably the best option if you need things setup early on,
otherwise you can just run a config-pin script sometime in the boot
sequence
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c40f789f-5ca5-fb6c-b303-ebe3092666b9%40steinkuehler.net.
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ee786198-98fd-4ac5-a6f1-db6730bdd213%40steinkuehler.net.
Note the security 'bar' is not set particularly high, given the
default BBB images have no root password. :)
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3eca5545-2827-1342-c9d3-8f19946b1906%40steinkuehler.net.
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 ?
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3cd02243-1ea4-4598-8552-ae3513aefd66%40googlegroups.com.
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 ?
config-pin P9_42 gpio high
config-pin P9_92 gpio low
On 6/24/2016 5:52 PM, William Hermans wrote:
> /Note the security 'bar' is not set particularly high, given the/
> /default BBB images have no root password. :)/
>
>
> Thats been changed, since at least the last couple of images.
Ahh...that's probably why you were getting the "askpass" errors.
I haven't tried anything more recent than a few months ago.
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d19cdd9b-9ae5-08a8-6028-cecbbea7d4f8%40steinkuehler.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CA%2BT6QPmBBQk0hy%2Bwz3ktPnaUYNoKC9aSvNK7y-xGDNc7gKaqUg%40mail.gmail.com.
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
(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
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
(I didn't test it, but if you do so, please report.)
On Jul 20, 2016, at 8:46 AM, TJF <jeli.f...@gmail.com> 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
(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
---
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/87197b98-c1dc-472e-9919-cd2b4fa4aab5%40googlegroups.com.
Looking at: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.
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b8587ab0-6626-464e-a87b-43c940992505%40googlegroups.com.
P9_42A
|
89
|
0x964/164
|
GPIO0_7
|
7
|
gpio0[7]
|
P9_42B
|
104
|
0x9a0/1a0
|
GPIO0_7
|
114
|
gpio3[18]
|
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORr%3D9%3D9rJdh7d5RAMe7WbuSMv1x8w2k2NVNbbZQN9AdUwA%40mail.gmail.com.
Why not use the A & B suffix? Surely this just needs modification to your regular expressions?
On 7/20/2016 5:43 PM, John Syne wrote:
Now I see why I didn’t see this before. On the Pinmux spreadsheet, they are
labelled as P9_42A and P9_42B. I don’t know where you get P9_92 since there is
no pin 92 on the P9 connector.
Pin "92" is my fault.
I used the convention of adding 50 to the pin number for the "secondary" I/O pin connected to the same P8/P9 header:
https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/master/config-pin#L586-L591
...there's a Pin 91 as well. :)
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/25b0254b-bb74-5ae5-4555-5bd9bdc391ff%40steinkuehler.net.
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/27596900-6b9a-88fb-25b3-79427dd4758d%40steinkuehler.net.
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
(I didn't test it, but if you do so, please report.)Ok, maybe, but any smart engineer should have pin isolation built into their circuitry. Here, we were using buffers, but now we're going to try bi powered FET's( sorry I'm not an EE so not sure that's the proper term ). But basically a MOSFET that has to be powered from both sides of the connection before the given "buffered" IO can complete it's circuit.
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
Here's the deal. I plan on creating a web interface for universal-io + config-pin. So a user can eventually open up the web page that comes with the beaglebone, and configure their IO / peripherals from a web front end. No idea if that is possible with your stuff, but more importantly, I've spent a good amount of my spare time looking into doing this with universal IO. Which my time is much more finite lately than in the past. So I can not afford to go around and research every possible way to do a thing, under the sun.
I know universal IO well enough now to make this happen once I get the time to createthe web front end stuff. But I already have the back-end written. Well, I have the Bonejs wrapper library which took me only a few days a couple hours here and there . . .But the rest will take some time as I learn how to get data from the Nodejs backend, to a web front end, such as Angular, and I do not know what else right now . . .
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORp%3Dp5bycRkzmjcRzRAsPnE4%2B%3DDSZoPFFCjLN-bhxCEZGw%40mail.gmail.com.
--
Charles Steinkuehler
cha...@steinkuehler.net
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6b589e72-2518-5be1-76b9-acd3312bb5f8%40steinkuehler.net.
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/8ab582f3-53bc-4bbb-4b7d-506f3e8d1aa2%40gmail.com.