[beagleboard] Re: Set pinmux to PRU Industrial Ethernet Peripheral (IEP) from Linux

2020-01-19 Thread Andrew P. Lentvorski
Okay, then I'm just missing something obvious.  What is a GPIO-SS?  What 
unit and what register address?  I see no mention of "GPIO-SS" anywhere in 
the AM335x Technical Reference Manual.

Normally, I associate SS with "slave select" which means SPI.  I see that 
you *can* turn around the CS lines on the McSPI subsystem, but you have to 
switch from Master to Slave Mode.  That doesn't seem like what you are 
suggesting.

On Sunday, January 19, 2020 at 12:38:28 AM UTC-8, TJF wrote:
>
>
> It was your idea to use the PRU-IEP module. I recommended to use a pin on 
> a GPIO-SS. 
>

I went hunting for GPIO-SS--I didn't find anything.  I went hunting for OE 
(output enable) in the PRU docs.  I found one on the digio.  I also found 
that TI used the IEP to implement the 1-Wire interface on the PRUCAPE.  You 
were also implementing bidirectionality on a 1-Wire interface.  I drew an, 
incorrect in retrospect, inference that people were using the IEP digio for 
bidirectional and tri-state functions.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a9624428-be6c-4558-a0b3-53acff9aee61%40googlegroups.com.


Re: [beagleboard] Ip forwarding

2020-01-19 Thread Josiah Akinloye
Hi everyone... please i have tried the method for the IP forwarding from my
sim module to the BB to be able to be us as Hotspot(WiFi) but going through
the fore given process, i realize that only WhatsApp Instant Messaging App
is going... Other browser(Google chrome, Mozilla) are not going. i am
thinking maybe its because of the protocol used by WhatsApp thats why its
going through. Please i need assistance on this. How can i make it work
swiftly and allow it to be compatible with any device and any APP.
Any one who have done this before should be of help
Thanks







*Josiah Akinloye+2348062081641profile
-https:josiahakinloye.com
President at Main-Logix LimitedCeo of Savycon
TechnologyRobotic and AutomationEgalitarian TranshumanistFuturist"Mindset
powered by hard work equals unbeatable Achievement"--Josiah Akinloye*


On Fri, Dec 20, 2019 at 12:47 AM Stuart Longland 
wrote:

> On 19/12/19 8:27 pm, Josiah Akinloye wrote:
> > I was able to use WhatsApp after I did IP forwarding but  I can’t get my
> > browser or other application to connect to the internet, do you have any
> > idea why?
>
> What error message do you get?  Maybe try running `wget --spider
> http://www.beagleboard.org` on your client machine and paste what
> happens.  If all is working, you should see this:
>
> > $ wget --spider http://www.beagleboard.org
> > Spider mode enabled. Check if remote file exists.
> > --2019-12-20 09:46:21--  http://www.beagleboard.org/
> > Resolving www.beagleboard.org... 44.226.162.25
> > Connecting to www.beagleboard.org|44.226.162.25|:80... connected.
> > HTTP request sent, awaiting response... 303 See Other
> > Location: https://beagleboard.org/ [following]
> > Spider mode enabled. Check if remote file exists.
> > --2019-12-20 09:46:22--  https://beagleboard.org/
> > Resolving beagleboard.org... 44.226.162.25
> > Connecting to beagleboard.org|44.226.162.25|:443... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 27837 (27K) [text/html]
> > Remote file exists and could contain further links,
> > but recursion is disabled -- not retrieving.
>
> Have you set your client's default gateway correctly?  (If you're using
> DHCP, check the DHCP settings on your DHCP server… possibly running on
> the BeagleBoard.)
>
> Have you set your client's DNS servers correctly?  (If you're using
> DHCP, check the DHCP settings on your DHCP server… possibly running on
> the BeagleBoard.)
>
> Can the DNS servers and default gateway be reached by the client?  Most
> will respond to ICMP echo request, so try a `ping` (or `ping6` if they
> are IPv6).
> --
> Stuart Longland (aka Redhatter, VK4MSL)
>
> I haven't lost my mind...
>   ...it's backed up on a tape somewhere.
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/0bc29072-69d9-a80f-0970-655d304ed7b7%40longlandclan.id.au
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CABXof%3DVb0s%3D56foSAep%2BwQPqNOwWHAA2WKuDbZEo3jj8tmQGjA%40mail.gmail.com.


Re: [beagleboard] Re: BBAI and Updating to Stop the Heat Transfer at https://beagleboard.org/upgrade

2020-01-19 Thread seth
Hello,

Just an update, if you run the temp. sensors onboard the AI and run the 
fan, on my end, you will receive a 38c or below temp. for the board chips 
and surrounding area.

Seth

P.S. Nice! Fans!

On Thursday, January 2, 2020 at 1:18:29 AM UTC-6, Mala Dies wrote:
>
> Hello,
>
> Thank you for this update. I did update the board already as the link 
> suggested. My fan was a 24v fan. I need to get another fan.
>
> Seth
>
> P.S. I might get the digikey.com fan you have listed. Anyway, if anyone 
> has any other ideas, shoot!
>
> On Sunday, December 29, 2019 at 5:30:02 PM UTC-6, jonnymo wrote:
>>
>> Jason recently posted an update regarding the Fan Cape he is working on.
>> In the mean time, he recommended the Coolerguys USB fan that is listed in 
>> the BBAI FAQ:
>>
>> https://github.com/beagleboard/beaglebone-ai/wiki/Frequently-Asked-Questions#fans
>>
>> https://www.coolerguys.com/collections/usb-fans/products/25mm-25x25x10-usb-fan
>>
>> Previously, the X15FANKIT was suggested but it requires wiring to 5v and 
>> grnd on the BBAI.  I am using this and it seems to work fine for my BBAI. 
>> This does fit perfectly on the BBAI heat-sink and the provided screws work 
>> just fine. 
>>
>> https://github.com/beagleboard/beaglebone-ai/wiki/System-Reference-Manual#3-1-2-fans
>>
>> https://www.digikey.com/product-detail/en/digi-key-electronics/X15FANKIT/X15FANKIT-ND/5822502
>>
>>
>> Cheers,
>>
>> Jon
>>
>> On Sun, Dec 29, 2019 at 10:03 PM Mala Dies  wrote:
>>
>>> Hello,
>>>
>>> Thank you for the idea. USB powered fans. I guess they make everything 
>>> these days.
>>>
>>> Seth
>>>
>>> P.S. I was just going to power it from the sys_5v pin and GND on the 
>>> BBAI. I guess there are many more ways to go about making things work than 
>>> once thought.
>>>
>>> On Sunday, December 29, 2019 at 8:56:07 AM UTC-6, Stephen Johnson wrote:

 I bought a USB powered fan which gives a very low airflow, but has kept 
 everything cool to the touch.
 I just have the BBAI on my engineering workbench anyhow, so I just 
 wanted something simple and quiet.


 [image: IMG_1873.jpeg]



 On Saturday, December 28, 2019 at 7:17:02 PM UTC-6, Mala Dies wrote:
>
> Hello,
>
> I was reluctant to purchase the BBAI at first b/c I have heard of 
> issues w/ heat dissipation on the board and the chip. Anyway...
>
> Long story, short. I bought it against my better judgement b/c I know 
> everyone, in the BBB world, is supportive w/ nice ideas.
>
> ...
>
> So:
>
>
>- I went to: https://beagleboard.org/upgrade.
>- I upgraded the board and adjusted things.
>- I rebooted the board and found the board to be just as hot.
>
>
> Has anyone else come across an issue w/ heat or a fix to the heat 
> issue?
>
> Seth
>
> P.S. I might get rid of some of the extras that comes with this board 
> but I purchased it for its functionality. I want to use the M4, TIDL, 
> EVEs, 
> and other 
> more complicated chips for fun! I was thinking I would finally learn 
> to program the PRUs too. I am going to try to get rid of node-red, 
> chromium, and 
> some other sockets and ports on the board. I think that these may 
> cause services that I will not use ever. 
>
> ...
>
> If you are using the board, the BBAI, and you have had some similar 
> issues and came up w/ a nice fix, please let me know. I would like to try 
> all
> or any relative sources of ideas to support the heat consumption on 
> the board. 
>

>>> On Sunday, December 29, 2019 at 8:56:07 AM UTC-6, Stephen Johnson wrote:

 I bought a USB powered fan which gives a very low airflow, but has kept 
 everything cool to the touch.
 I just have the BBAI on my engineering workbench anyhow, so I just 
 wanted something simple and quiet.


 [image: IMG_1873.jpeg]



 On Saturday, December 28, 2019 at 7:17:02 PM UTC-6, Mala Dies wrote:
>
> Hello,
>
> I was reluctant to purchase the BBAI at first b/c I have heard of 
> issues w/ heat dissipation on the board and the chip. Anyway...
>
> Long story, short. I bought it against my better judgement b/c I know 
> everyone, in the BBB world, is supportive w/ nice ideas.
>
> ...
>
> So:
>
>
>- I went to: https://beagleboard.org/upgrade.
>- I upgraded the board and adjusted things.
>- I rebooted the board and found the board to be just as hot.
>
>
> Has anyone else come across an issue w/ heat or a fix to the heat 
> issue?
>
> Seth
>
> P.S. I might get rid of some of the extras that comes with this board 
> but I purchased it for its functionality. I want to use the M4, TIDL, 
> EVEs, 
> and other 
> more complicated chips for fun! I was thinking I would finally learn 

Re: [beagleboard] Re: Set pinmux to PRU Industrial Ethernet Peripheral (IEP) from Linux

2020-01-19 Thread Robert Nelson
On Sun, Jan 19, 2020 at 3:28 AM TJF  wrote:
>
> BTW:
>
> Am Sonntag, 19. Januar 2020 09:20:58 UTC+1 schrieb Andrew P. Lentvorski:
>>
>> Okay, yes, if I build a kernel module I now have full access to all 
>> registers on the system with no restrictions.  That's sort of like swatting 
>> a fly with an H-Bomb, but it will work.
>
>
> You need not build your own H-Bomp. You can use the existing one
>
> sudo apt-get install libpruio-modules-`uname -r`
>
> Note: AFAIK RCN didn't update the source code, yet. That version uses a 
> slightly different encoding than the LKM in the current libpruio-0.6.6. Check 
> the source in RCNs build-farm.
>
> Note: libpruio offers some safety features. Ie. it doesn't remux a pin 
> claimed by an other system (, unless this feature gets disabled). Using the 
> LKM without libpruio is at you own risc. Your code has to care about such 
> issues.

and merged: https://github.com/rcn-ee/libpruio/commits/master

Should have updated v4.14/v4.19/v5.4 kernels this week..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiMhd%3DE2kE790dOeai87%2BL-AxOC%3D8m%2Bcom6Lo6zU_%3Dr4Q%40mail.gmail.com.


[beagleboard] OpenVPN Client on Beaglebone Black, Asus Router as AP

2020-01-19 Thread bradley . armstrong . ee
Hello,

I've been working for a few weeks to get setup with a VPN at my house. I 
currently have an Asus AC-1900P, but due to OpenVPN not utilizing hardware NAT 
acceleration of the router (that's my understanding, at least), my VPN speed 
maxes around 25/10 mb/s. I have 100/10 mb/s service. People recommend 
configuring other devices with OpenVPN client and use the Asus Router as an 
access point to obtain the full connected ISP speed.

I have a Beaglebone Black leftover from a college senior project a few years 
ago that I would like to utilize for this purpose.

I've seen some posts regarding OpenVPN setup, but they're few and far between 
it seems. They also don't post results. Is there anyone here who has done this 
and can provide a guide or the results they've had?

I was able to get the Beaglebone Black working for my senior project, but it's 
been about four years and is the only Linux device I've configured. For all 
intents and purposes of this discussion, I don't know what I'm doing when it 
comes to this thing. Any help would be appreciated.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/44abe8f6-f1d9-40ed-b10b-0c99aba9b11a%40googlegroups.com.


[beagleboard] Re: Set pinmux to PRU Industrial Ethernet Peripheral (IEP) from Linux

2020-01-19 Thread TJF
BTW:

Am Sonntag, 19. Januar 2020 09:20:58 UTC+1 schrieb Andrew P. Lentvorski:
>
> Okay, yes, if I build a kernel module I now have full access to all 
> registers on the system with no restrictions.  That's sort of like swatting 
> a fly with an H-Bomb, but it will work.
>

You need not build your own H-Bomp. You can use the existing one

sudo apt-get install libpruio-modules-`uname -r`

Note: AFAIK RCN didn't update the source code, yet. That version uses a 
slightly different encoding than the LKM in the current libpruio-0.6.6. 
Check the source in RCNs build-farm.

Note: libpruio offers some safety features. Ie. it doesn't remux a pin 
claimed by an other system (, unless this feature gets disabled). Using the 
LKM without libpruio is at you own risc. Your code has to care about such 
issues.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5edeaf82-081f-4202-b460-bb7946bb95fb%40googlegroups.com.


[beagleboard] Re: Set pinmux to PRU Industrial Ethernet Peripheral (IEP) from Linux

2020-01-19 Thread TJF

Am Sonntag, 19. Januar 2020 09:20:58 UTC+1 schrieb Andrew P. Lentvorski:
>
> Well, sort of, except you omit the *EXTREMELY* important point that you 
> install a custom kernel module in order to expose the clock activation and 
> pinmux system to all users.
>

That's not correct. Only users with write access to the sysfs entry can 
pinmux. By default that're members of the pruio system group.
  

> Okay, yes, if I build a kernel module I now have full access to all 
> registers on the system with no restrictions.  That's sort of like swatting 
> a fly with an H-Bomb, but it will work.
>

It was your idea to use the PRU-IEP module. I recommended to use a pin on a 
GPIO-SS. Yet, you didn't explain why the L3/L4 latency isn't aceptable for 
your target.

This means that config-pin has a fairly significant bug in not being able 
> to route the IEP pins.  Has that bug ever been filed anywhere?
>

config-pin isn't able to set lots of useful pin configurations, and has 
lots of bugs. Ie. you can set GPIO for P9_42 and P9_92 in oposite output 
states and damage the CPU. C. Steinkuehler didn't develop that tool with a 
standard solution in mind. At the beginning it was a work-aroung, and only 
cosmetic changes were done.

Anyway, you can pinmux at boot-time by writing, compiling and installing a 
customized device tree overlay. The tool 
http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/dts__custom_8bas.html
 
may be helpful in that case.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/fee39a14-8bb1-497e-8fcd-06e44a992cdb%40googlegroups.com.


[beagleboard] Re: Set pinmux to PRU Industrial Ethernet Peripheral (IEP) from Linux

2020-01-19 Thread Andrew P. Lentvorski
Well, sort of, except you omit the *EXTREMELY* important point that you 
install a custom kernel module in order to expose the clock activation and 
pinmux system to all users.

Okay, yes, if I build a kernel module I now have full access to all 
registers on the system with no restrictions.  That's sort of like swatting 
a fly with an H-Bomb, but it will work.

This means that config-pin has a fairly significant bug in not being able 
to route the IEP pins.  Has that bug ever been filed anywhere?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e4237fb2-126c-44ab-b7f6-f72071a1fd92%40googlegroups.com.