RE: [beagleboard] Need help connecting USB TTL to PocketBeagle

2020-08-11 Thread Graham Stott
I do not use any of the other pins. Voltage to the board comes from the USB 
side.

 

Graham

 

From: Leesah Cage [mailto:leesahc...@gmail.com] 
Sent: Tuesday, August 11, 2020 2:59 PM
To: beagleboard@googlegroups.com
Subject: Re: [beagleboard] Need help connecting USB TTL to PocketBeagle

 

Thanks so much Graham, I am ordering that exact board, do you plug the CTS, VCC 
and DRS into anything or you DON’T use those at all?

 

Thanks so much for your help, I was pulling my hair out trying to find the 
right board.





On Aug 11, 2020, at 5:22 PM, Graham Stott mailto:gbcsto...@comcast.net> > wrote:

 

OSEPP FTDI USB to Serial Basic Breakout Board (3.3V/5V

 

-- 
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/E69D95B1-763A-4DCC-BE10-B0FBF9C73C8F%40gmail.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/001c01d67036%24b54ff770%241fefe650%24%40comcast.net.


Re: [beagleboard] LCD driver

2020-08-11 Thread evilwulfie

I have used this
https://www.buydisplay.com/tft-5-inch-lcd-display-module-controller-board-serial-i2c-ra8875
your mileage may vary


On 8/11/2020 3:49 PM, voip@gmail.com wrote:

Hi All.

I want to write/test a basic framebuffer  based driver for LCD on 
Beaglebone black

having an SPI interface.
My question is

1> which LCD should I order? I think I should order the LCD whose 
driver already there in the kernel, am I right? but which one.


2> Any TFT or STN LCD, please let me know.  How I go about it, I 
basically want to

change some parameters and experiment and test...

I do not have a monitor.



Regards,
Mehul

--
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/8d35e694-11e4-463c-b1ea-85f050ef1e7co%40googlegroups.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/90786190-2419-425c-534b-f72dabb2708f%40gmail.com.


[beagleboard] LCD driver

2020-08-11 Thread voip . ims
Hi All.

I want to write/test a basic framebuffer  based driver for LCD on 
Beaglebone black
having an SPI interface.
My question is 

1> which LCD should I order? I think I should order the LCD whose driver 
already there in the kernel, am I right? but which one.

2> Any TFT or STN LCD, please let me know.  How I go about it, I basically 
want to 
change some parameters and experiment and test...

I do not have a monitor.



Regards,
Mehul  

-- 
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/8d35e694-11e4-463c-b1ea-85f050ef1e7co%40googlegroups.com.


[beagleboard] Re: Linux beaglebone 4.0.0-bone0 - problem with clkout2_pin

2020-08-11 Thread gilberto . noriega002
I'm having this exact same problem. Did you ever find a solution?

On Wednesday, April 29, 2015 at 6:29:19 AM UTC-7, Jan Kinkazu wrote:
>
> Hi all.
> Once I upgraded BBB to 4.0 I have noticed section below, which configures 
> P9_41.
>
> _pinmux {
> pinctrl-names = "default";
> pinctrl-0 = <_pin>;
> };
>
> I need this pin to work as gpio output.
> Is it safe to disable this and release the P9_41 pin?
>
> What does clkout2 do?
> Why this section is almost everywhere in .dts, dtsi files?
>
> Kind Regards
>
>
>
>
>

-- 
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/9ea1666e-35bd-419e-b358-50dd0aef06bco%40googlegroups.com.


Re: [beagleboard] Need help connecting USB TTL to PocketBeagle

2020-08-11 Thread Leesah Cage
Thanks so much Graham, I am ordering that exact board, do you plug the CTS, VCC 
and DRS into anything or you DON’T use those at all?

Thanks so much for your help, I was pulling my hair out trying to find the 
right board.

> On Aug 11, 2020, at 5:22 PM, Graham Stott  wrote:
> 
> OSEPP FTDI USB to Serial Basic Breakout Board (3.3V/5V

-- 
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/E69D95B1-763A-4DCC-BE10-B0FBF9C73C8F%40gmail.com.


Re: [beagleboard] Enabling JTAG on Beaglebone Classic (White) with newer kernels

2020-08-11 Thread Robert Nelson
On Tue, Aug 11, 2020 at 4:14 PM Brendan Dolan-Gavitt  wrote:
>
> Hi,
>
> I've been trying to get JTAG working on the Beaglebone classic. It works 
> using the 2012 Angstrom distribution [1], but not on the newer Debian-based 
> distributions. I eventually managed to track this down to the fact the kernel 
> sets the lowest two bits of the CM_WKUP_DEBUGSS_CLKCTRL [2] register (located 
> at 0x44e00414) to 0, which powers off the debug hardware on the AM335x.
>
> I was able to get JTAG working again by writing a small kernel module that 
> sets the register to the value it has when the board is reset (though I 
> *think* it would be sufficient to just set the last two bits to 0b10):
>
> void __iomem *io = ioremap(0x44e0, SZ_4K);
> iowrite32(0x52580002, io + 0x414);
> iounmap(io);
>
> My question is: is there any way to stop the Linux kernel from disabling JTAG 
> automatically on startup? I know it happens sometime during the boot process 
> (if I stop during U-Boot, JTAG works and the CM_WKUP_DEBUGSS_CLKCTRL has its 
> default value), but I can't figure out what to change in the DTB or the 
> kernel source to prevent this.

Jtag is disabled by default, just un-comment:

https://github.com/beagleboard/BeagleBoard-DeviceTrees/blob/v4.19.x-ti/src/arm/am335x-bone.dts#L9

you'll find your matching device-tree's under /opt/source/dtb*

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/CAOCHtYiUqazo7ubPE_Wy5v2jbO96_s5GuKHZYgmuwFt2GsFTSw%40mail.gmail.com.


RE: [beagleboard] Need help connecting USB TTL to PocketBeagle

2020-08-11 Thread Graham Stott
Leech,

 

First of all that should have been P1 PIN 14 (not 15). Sorry for that mistake.

 

I use  the following board.

 

OSEPP FTDI USB to Serial Basic Breakout Board (3.3V/5V). I set the jumper to 
3.3 volts and connect TX, RX and GND from the Pocket Beagle. I use putty on the 
laptop with a setting of: Baud – 115200; Data bits – 8; stop bits 1; parity – 
none.

 

Do an online search for “FTDI USB to Serial Basic Breakout Board“. You do need 
one that does 3.3 volts.

 

Graham

 

From: Leesah Cage [mailto:leesahc...@gmail.com] 
Sent: Tuesday, August 11, 2020 9:54 AM
To: beagleboard@googlegroups.com
Subject: Re: [beagleboard] Need help connecting USB TTL to PocketBeagle

 

Do you have a link to the adapters that you have used that work with the pocket 
beagle?





On Aug 11, 2020, at 11:44 AM, Graham Stott mailto:gbcsto...@comcast.net> > wrote:

 

First of all I have not used this particular adapter. All the similar adapters 
I have used get their power from the USB connection and have a jumper to select 
between 5v and 3.3 volts for the RX and TX interface.  Looking at the picture 
of the board, I cannot see a jumper. As the Pocket Beagle is 3.3 volts only, I 
suggest you connect the Pocket Beagle 3.3 volts ( P1 pin 15) to the 3.3 pin on 
the board. I would not connect the 5.0 volts.

 

Graham

 

 

 

From: Rayleshia Cage [mailto:sa...@ladycage.com] 
Sent: Tuesday, August 11, 2020 7:07 AM
To: beagleboard@googlegroups.com  
Subject: [beagleboard] Need help connecting USB TTL to PocketBeagle

 

Hello,

I have been searching online all weekend to no avail to find out exactly how I 
can connect a PocketBeagle to this USB to TTL adapter if it is possible can 
anyone help me?  The layouts I have seen have the TX,RX, GND on the adapter 
connected to the PocketBeagle RX,TX,GND but when I plugged the usb into my 
laptop nothing happened. Does anyone know if the 3v and 5v pins on the adapter 
need to be plugged in and how do they connect to the PocketBeagle(which pins 
(P1p14?). If this is not the right adapter please advise which on will work on 
the PocketBeagle.

 

 

 
amazon.com/HiLetgo-CP2102-Converter-Adapter-Downloader/dp/B00LODGRV8/ref=sr_1_4?crid=1W895AJVJXMO7=1=usb+ttl+adapter=1597154301=electronics=usb+ttl%2Celectronics%2C161=1-4

 

Thank you and I apologize for my ignorance.

 

-- 
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/B49D5F5B-4F94-4231-8492-8CA24A0DFE2C%40ladycage.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/003601d66ff6%245632b510%2402981f30%24%40comcast.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/97E438FA-8122-4A45-8C49-087D729A5830%40gmail.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/006001d67025%2480902700%2481b07500%24%40comcast.net.


[beagleboard] Re: libpruio (fast and easy D/A - I/O)

2020-08-11 Thread TJF
Am Dienstag, 11. August 2020 21:24:48 UTC+2 schrieb andrew...@gmail.com:
>
> Is python 3 not supported?
>

AFAIR I tested on python 2 and 3.

The message

(cannot open /dev/uio5)
>

is related to the uio_pruss driver. The interupt handler is either not 
present (command lsmod doesn't list uio_pruss, or command ls -l /dev/uio* 
has no output). Or you don't have write access to that file.

In any case you need to load the adapted uEnv.txt (uboot_overlay_pru 
modification). And it's also recommended to remove cape_universal=enable 
from the cmdline in order to get free pinmux access to all pins from user 
space.

Regards

-- 
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/18e96c47-40b3-4915-b181-e2375cf9c486o%40googlegroups.com.


[beagleboard] Enabling JTAG on Beaglebone Classic (White) with newer kernels

2020-08-11 Thread Brendan Dolan-Gavitt
Hi,

I've been trying to get JTAG working on the Beaglebone classic. It works 
using the 2012 Angstrom distribution [1], but not on the newer Debian-based 
distributions. I eventually managed to track this down to the fact the 
kernel sets the lowest two bits of the CM_WKUP_DEBUGSS_CLKCTRL [2] register 
(located at 0x44e00414) to 0, which powers off the debug hardware on the 
AM335x.

I was able to get JTAG working again by writing a small kernel module that 
sets the register to the value it has when the board is reset (though I 
*think* it would be sufficient to just set the last two bits to 0b10):

void __iomem *io = ioremap(0x44e0, SZ_4K);
iowrite32(0x52580002, io + 0x414);
iounmap(io);

My question is: is there any way to stop the Linux kernel from disabling 
JTAG automatically on startup? I know it happens sometime during the boot 
process (if I stop during U-Boot, JTAG works and the 
CM_WKUP_DEBUGSS_CLKCTRL has its default value), but I can't figure out what 
to change in the DTB or the kernel source to prevent this.

Thanks,
Brendan

[1] I think this is because the kernel used there has this patch 
https://github.com/beagleboard/kernel/blob/3.8/patches/dma/0002-ARM-OMAP-Hack-AM33xx-clock-data-to-allow-JTAG-use.patch
 
[2] As found in the AM335x TRM: 
https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf

-- 
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/15acfe9b-39b2-4890-844f-00d85a4cf29ao%40googlegroups.com.


[beagleboard] Re: .net core GPIO Library

2020-08-11 Thread Dennis Lee Bieber
On Tue, 11 Aug 2020 10:51:48 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Miguel Fernando Arias Perdomo
 wrote:

>do exist a native .net core library to handle Beaglebone black GPIO?
>
Besides https://www.nuget.org/packages/System.Device.Gpio ?


-- 
Dennis L Bieber

-- 
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/5606jf5mii8sa3j6ug69ngao45lop6sdsu%404ax.com.


[beagleboard] Re: libpruio (fast and easy D/A - I/O)

2020-08-11 Thread andrew . harres
I actually already had it installed. I tried running it again in python 2 
without the uboot_overlay_pru modification and get this:

debian@beaglebone:~$ python src/pruio_examples/1.py
destructor warning: constructor failed
Traceback (most recent call last):
  File "src/pruio_examples/1.py", line 25, in 
if IO.Errr: raise AssertionError("pruio_new failed (%s)" % IO.Errr)
AssertionError: pruio_new failed (cannot open /dev/uio5)

Is python 3 not supported?

On Tuesday, August 11, 2020 at 12:59:24 PM UTC-5, TJF wrote:
>
> Am Dienstag, 11. August 2020 18:19:13 UTC+2 schrieb andrew...@gmail.com:
>>
>> I've installed libpruio, python-pruio, libpruio-lkm, and libpruio-doc. 
>>
> ...
>> Is there something I'm missing?
>>
>
> AFAIR the python interpreter (ctypes) also needs the dev-package to bind 
> the library: libpruio-dev
>
> Regards
>

-- 
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/7aa4a809-79e4-4fa0-9f36-cf2341ed6510o%40googlegroups.com.


[beagleboard] Re: libpruio (fast and easy D/A - I/O)

2020-08-11 Thread TJF
Am Dienstag, 11. August 2020 18:19:13 UTC+2 schrieb andrew...@gmail.com:
>
> I've installed libpruio, python-pruio, libpruio-lkm, and libpruio-doc. 
>
...
> Is there something I'm missing?
>

AFAIR the python interpreter (ctypes) also needs the dev-package to bind 
the library: libpruio-dev

Regards

-- 
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/5bcad34f-b81f-45be-8d7c-956cc5997cbco%40googlegroups.com.


[beagleboard] .net core GPIO Library

2020-08-11 Thread Miguel Fernando Arias Perdomo
Hi guys,

do exist a native .net core library to handle Beaglebone black GPIO?

Thanks.


-- 
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/ed413065-3967-4704-8774-b3cdd758cf2eo%40googlegroups.com.


[beagleboard] Re: Networking setup on robot with multiple debian SBCs

2020-08-11 Thread Dennis Lee Bieber
On Mon, 10 Aug 2020 15:06:44 -0400, in gmane.comp.hardware.beagleboard.user
Dennis Lee Bieber 
wrote:


>
>...I wouldn't even use WiFi between the R-Pi and the BBbl. While the BBx
>USB client port does set up a USB network gadget (rndis on 192.168.7.x), I
>don't know what it would take to have an R-Pi set up a matching USB gadget
>on its host port (plug them together and see if a new network device
>appears on the R-Pi?).
>

Just tried an experiment... Powered the BBB from a 5V barrel supply
(since an R-Pi USB probably can't power it), then connected the BBB client
port to the R-Pi host port...

pi@rpi3bplus-1:~$ ifconfig
eth0: flags=4099  mtu 1500
ether b8:27:eb:fb:d8:30  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163  mtu 1500
inet6 fe80::d22b:73ea:8bef:c781  prefixlen 64  scopeid 0x20
ether d0:39:72:18:3e:ea  txqueuelen 1000  (Ethernet)
RX packets 32  bytes 5556 (5.4 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 20  bytes 2661 (2.5 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth2: flags=4163  mtu 1500
inet6 fe80::4f35:ad14:88b8:4a1a  prefixlen 64  scopeid 0x20
ether d0:39:72:18:3e:e8  txqueuelen 1000  (Ethernet)
RX packets 33  bytes 5376 (5.2 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 18  bytes 2961 (2.8 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163  mtu 1500
inet 192.168.1.76  netmask 255.255.255.0  broadcast 192.168.1.255
inet6 2600:1700:e630:890:e51e:f96a:9476:3412  prefixlen 64  scopeid
0x0
inet6 fe80::6471:7a90:88f3:79c0  prefixlen 64  scopeid 0x20
inet6 2600:1700:e630:890::1b  prefixlen 128  scopeid 0x0
ether b8:27:eb:ae:8d:65  txqueuelen 1000  (Ethernet)
RX packets 19022  bytes 27611083 (26.3 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 10635  bytes 1253318 (1.1 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@rpi3bplus-1:~$

eth1 and eth2 are IPv6 and exist while the BBB is connected, removing
the USB cable leaves the R-Pi with

pi@rpi3bplus-1:~$ ifconfig
eth0: flags=4099  mtu 1500
ether b8:27:eb:fb:d8:30  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163  mtu 1500
inet 192.168.1.76  netmask 255.255.255.0  broadcast 192.168.1.255
inet6 2600:1700:e630:890:e51e:f96a:9476:3412  prefixlen 64  scopeid
0x0
inet6 fe80::6471:7a90:88f3:79c0  prefixlen 64  scopeid 0x20
inet6 2600:1700:e630:890::1b  prefixlen 128  scopeid 0x0
ether b8:27:eb:ae:8d:65  txqueuelen 1000  (Ethernet)
RX packets 19047  bytes 27613467 (26.3 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 10660  bytes 1261140 (1.2 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@rpi3bplus-1:~$

The lack of IPv4 may be due to the lack of DHCP server. I did not try
to pass traffic (ping) between the two. Merely to demonstrate that it may
be possible to use TCP/IP between the two boards without using a
USB<>Ethernet adapter.


-- 
Dennis L Bieber

-- 
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/2vl5jflvb421vf7qqg71ve02rdv06toivf%404ax.com.


Re: [beagleboard] Building the bone debian image worked before, but after upgrading my OS I run into errors.

2020-08-11 Thread Robert Nelson
On Tue, Aug 11, 2020 at 11:41 AM Samuel Park  wrote:
>
> Hi, I have currently run into a dilemma. Previously, my desktop was running 
> Ubuntu 18.04 and I was able to build the Pocket Beagle's Bone Debian image 
> just fine following this guide: 
> https://www.digikey.com/eewiki/display/linuxonarm/PocketBeagle. However, 
> after I upgraded my desktop to Ubuntu 20.04, I run into a couple of warnings 
> when compiling U-boot.
>
> Warning 1: "This board does not use CONFIG_DM_MMC... Please update the board 
> to use CONFIG_DM_MMC before the V2019.04 release."
> Warning 2: "This board does not use CONFIG_DM_USB...Please update the board 
> to use CONFIG_DM_USB before the V2019.04 release."
> Warning 3: "This board does not use CONFIG_DM_SPI...Please update the board 
> to use CONFIG_DM_SPI before the V2019.04 release."
> Warning 4: "This board does not use CONFIG_DM_SPI_FLASH...Please update the 
> board to use CONFIG_DM_SPI_FLASH before the V2019.04 release."

These warnings are valid and normal on our current shipping patchset.
They do not affect booting..

>
> I am completely baffled about why this is happening. Before I was able to 
> compile it just fine but after the OS upgrade, I am getting these compiling 
> warnings. These warnings do not prevent me from compiling U-boot, however, 
> after I compile it ignoring the warnings the image won't boot on the 
> Pocketbeagle. Before when I didn't get any of these warnings I could build 
> and boot the image just fine on the pocket beagle. Perhaps I am missing 
> something obvious here, any help would be greatly appreciated. Thank you.

An upgrade of Ubuntu to 20.04 should not have broken the directions for you.

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/CAOCHtYi2Y8gczvkbETC0iHBLwxea%2BVUAAZWBpea080Xdnx8GFw%40mail.gmail.com.


Re: [beagleboard] Need help connecting USB TTL to PocketBeagle

2020-08-11 Thread Leesah Cage
Do you have a link to the adapters that you have used that work with the pocket 
beagle?

> On Aug 11, 2020, at 11:44 AM, Graham Stott  wrote:
> 
> First of all I have not used this particular adapter. All the similar 
> adapters I have used get their power from the USB connection and have a 
> jumper to select between 5v and 3.3 volts for the RX and TX interface.  
> Looking at the picture of the board, I cannot see a jumper. As the Pocket 
> Beagle is 3.3 volts only, I suggest you connect the Pocket Beagle 3.3 volts ( 
> P1 pin 15) to the 3.3 pin on the board. I would not connect the 5.0 volts.
>  
> Graham
>  
>  
>  
> From: Rayleshia Cage [mailto:sa...@ladycage.com] 
> Sent: Tuesday, August 11, 2020 7:07 AM
> To: beagleboard@googlegroups.com
> Subject: [beagleboard] Need help connecting USB TTL to PocketBeagle
>  
> Hello,
> 
> I have been searching online all weekend to no avail to find out exactly how 
> I can connect a PocketBeagle to this USB to TTL adapter if it is possible can 
> anyone help me?  The layouts I have seen have the TX,RX, GND on the adapter 
> connected to the PocketBeagle RX,TX,GND but when I plugged the usb into my 
> laptop nothing happened. Does anyone know if the 3v and 5v pins on the 
> adapter need to be plugged in and how do they connect to the 
> PocketBeagle(which pins (P1p14?). If this is not the right adapter please 
> advise which on will work on the PocketBeagle.
>  
> amazon.com/HiLetgo-CP2102-Converter-Adapter-Downloader/dp/B00LODGRV8/ref=sr_1_4?crid=1W895AJVJXMO7=1=usb+ttl+adapter=1597154301=electronics=usb+ttl%2Celectronics%2C161=1-4
>  
> 
>  
> Thank you and I apologize for my ignorance.
>  
> -- 
> 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/B49D5F5B-4F94-4231-8492-8CA24A0DFE2C%40ladycage.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/003601d66ff6%245632b510%2402981f30%24%40comcast.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/97E438FA-8122-4A45-8C49-087D729A5830%40gmail.com.


[beagleboard] Building the bone debian image worked before, but after upgrading my OS I run into errors.

2020-08-11 Thread Samuel Park
Hi, I have currently run into a dilemma. Previously, my desktop was running 
Ubuntu 18.04 and I was able to build the Pocket Beagle's Bone Debian image 
just fine following this guide: 
https://www.digikey.com/eewiki/display/linuxonarm/PocketBeagle. However, 
after I upgraded my desktop to Ubuntu 20.04, I run into a couple of 
warnings when compiling U-boot. 

Warning 1: "This board does not use CONFIG_DM_MMC... Please update the 
board to use CONFIG_DM_MMC before the V2019.04 release."
Warning 2: "This board does not use CONFIG_DM_USB...Please update the board 
to use CONFIG_DM_USB before the V2019.04 release."
Warning 3: "This board does not use CONFIG_DM_SPI...Please update the board 
to use CONFIG_DM_SPI before the V2019.04 release."
Warning 4: "This board does not use CONFIG_DM_SPI_FLASH...Please update the 
board to use CONFIG_DM_SPI_FLASH before the V2019.04 release."

I am completely baffled about why this is happening. Before I was able to 
compile it just fine but after the OS upgrade, I am getting these compiling 
warnings. These warnings do not prevent me from compiling U-boot, however, 
after I compile it ignoring the warnings the image won't boot on the 
Pocketbeagle. Before when I didn't get any of these warnings I could build 
and boot the image just fine on the pocket beagle. Perhaps I am missing 
something obvious here, any help would be greatly appreciated. Thank you.

-- 
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/182d-a376-41e3-a7dd-221f55038e3ao%40googlegroups.com.


[beagleboard] Re: libpruio (fast and easy D/A - I/O)

2020-08-11 Thread andrew . harres
I edited /boot/uEnv.txt:

###PRUSS OPTIONS
###pru_rproc (4.14.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_rproc (4.19.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo
###pru_uio (4.14.x-ti, 4.19.x-ti & mainline/bone kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###

I then tried running with python 2 after rebooting:

debian@beaglebone:~/src/pruio_examples$ python 1.py
Traceback (most recent call last):
  File "1.py", line 25, in 
if IO.Errr: raise AssertionError("pruio_new failed (%s)" % IO.Errr)
AssertionError: pruio_new failed (parsing kernel claims)


-- 
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/0427a382-5fc0-41f0-a0eb-b9b6b1956629o%40googlegroups.com.


[beagleboard] Re: libpruio (fast and easy D/A - I/O)

2020-08-11 Thread andrew . harres
I'm having an issue running the python examples.

I'm running the bone-debian-9.12-console image.
I've installed libpruio, python-pruio, libpruio-lkm, and libpruio-doc.
I copied the python-pruio examples into my home directory and try to run an 
example:

debian@beaglebone:~/src/pruio_examples$ python3 1.py
Traceback (most recent call last):
  File "1.py", line 18, in 
from libpruio import *
  File "/home/debian/src/pruio_examples/libpruio/__init__.py", line 1, in 

from pruio import *
ImportError: No module named 'pruio'

Is there something I'm missing?

-- 
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/6eb11c14-843b-4740-805a-49573720fd4co%40googlegroups.com.


RE: [beagleboard] Need help connecting USB TTL to PocketBeagle

2020-08-11 Thread Graham Stott
First of all I have not used this particular adapter. All the similar adapters 
I have used get their power from the USB connection and have a jumper to select 
between 5v and 3.3 volts for the RX and TX interface.  Looking at the picture 
of the board, I cannot see a jumper. As the Pocket Beagle is 3.3 volts only, I 
suggest you connect the Pocket Beagle 3.3 volts ( P1 pin 15) to the 3.3 pin on 
the board. I would not connect the 5.0 volts.

 

Graham

 

 

 

From: Rayleshia Cage [mailto:sa...@ladycage.com] 
Sent: Tuesday, August 11, 2020 7:07 AM
To: beagleboard@googlegroups.com
Subject: [beagleboard] Need help connecting USB TTL to PocketBeagle

 

Hello,

I have been searching online all weekend to no avail to find out exactly how I 
can connect a PocketBeagle to this USB to TTL adapter if it is possible can 
anyone help me?  The layouts I have seen have the TX,RX, GND on the adapter 
connected to the PocketBeagle RX,TX,GND but when I plugged the usb into my 
laptop nothing happened. Does anyone know if the 3v and 5v pins on the adapter 
need to be plugged in and how do they connect to the PocketBeagle(which pins 
(P1p14?). If this is not the right adapter please advise which on will work on 
the PocketBeagle.

 

amazon.com/HiLetgo-CP2102-Converter-Adapter-Downloader/dp/B00LODGRV8/ref=sr_1_4?crid=1W895AJVJXMO7
 

 
=1=usb+ttl+adapter=1597154301=electronics=usb+ttl%2Celectronics%2C161=1-4

 

Thank you and I apologize for my ignorance.

 

-- 
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/B49D5F5B-4F94-4231-8492-8CA24A0DFE2C%40ladycage.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/003601d66ff6%245632b510%2402981f30%24%40comcast.net.


[beagleboard] Need help connecting USB TTL to PocketBeagle

2020-08-11 Thread Rayleshia Cage
Hello,

I have been searching online all weekend to no avail to find out exactly how I 
can connect a PocketBeagle to this USB to TTL adapter if it is possible can 
anyone help me?  The layouts I have seen have the TX,RX, GND on the adapter 
connected to the PocketBeagle RX,TX,GND but when I plugged the usb into my 
laptop nothing happened. Does anyone know if the 3v and 5v pins on the adapter 
need to be plugged in and how do they connect to the PocketBeagle(which pins 
(P1p14?). If this is not the right adapter please advise which on will work on 
the PocketBeagle.

amazon.com/HiLetgo-CP2102-Converter-Adapter-Downloader/dp/B00LODGRV8/ref=sr_1_4?crid=1W895AJVJXMO7=1=usb+ttl+adapter=1597154301=electronics=usb+ttl%2Celectronics%2C161=1-4
 


Thank you and I apologize for my ignorance.

-- 
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/B49D5F5B-4F94-4231-8492-8CA24A0DFE2C%40ladycage.com.


Re: [beagleboard] Installing u-boot to an SD card for BeagleBoard X15

2020-08-11 Thread Robert Nelson
On Tue, Aug 11, 2020 at 5:16 AM Bob Ham  wrote:
>
> Hi,
>
> How do I install u-boot to an SD card for booting a BeagleBoard X15?  I
> can't find this information anywhere on the web or in any of the manuals.

It's the same as the BeagleBone Black:

sudo dd if=./u-boot/MLO of=${DISK} count=2 seek=1 bs=128k
sudo dd if=./u-boot/u-boot.img of=${DISK} count=4 seek=1 bs=384k

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/CAOCHtYjVbKKx-TMoAShmq2zf8pReLVfWfpvjdJFdO%3Duw6iP46A%40mail.gmail.com.


[beagleboard] Installing u-boot to an SD card for BeagleBoard X15

2020-08-11 Thread Bob Ham
Hi,

How do I install u-boot to an SD card for booting a BeagleBoard X15?  I
can't find this information anywhere on the web or in any of the manuals.

Thanks,

Bob

-- 
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/42624784-8443-71c9-f571-73c730de663c%40settrans.net.


signature.asc
Description: OpenPGP digital signature


Re: [beagleboard] Re: [RESEND] Ethernet phy ID u-boot fix

2020-08-11 Thread Bob Ham
On 10/08/2020 18:49, Dennis Lee Bieber wrote:
> On Mon, 10 Aug 2020 17:29:12 +0100, in gmane.comp.hardware.beagleboard.user
> Bob Ham  wrote:

> I would interpret

Thanks but I don't think there's any need for us to try and interpret
someone's words when the person is right here and can speak for themselves.


 The fix has been in u-boot for a few years.

 It relies on the device-tree path, we are still shipping the old
 "board" file path in u-boot.
>>>
>>> which implies this 'old "board" file path' is what needs to be updated
>>> for the fix to work but I still don't understand what the '"board" file
>>> path' is.  Could you possibly say what you meant by that?
> 
> to mean that the u-boot being shipped contains a (hard-coded) path
> specifying the older device tree file.

We're not talking about the u-boot being shipped with boards.  The
problem is with mainline u-boot.

-- 
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/0af755b8-2b40-ca65-7e61-b0091ff668c8%40settrans.net.


signature.asc
Description: OpenPGP digital signature


Re: [beagleboard] libgpiod on Beaglebone AI

2020-08-11 Thread TJF
There're two options to control the 32 outputs of a GPIO subsystem:

   1. writes to register GPIO_DATAOUT, or
   2. writes to registers GPIO_SETDATAOUT and GPIO_CLEARDATAOUT

In the first case all pins switch at the exact same time. But there's a 
downside in controlling all 32 pins at once: it may override changes on 
lines controlled by other software.

The second option is a convenient way to avoid that overriding. The 
registers GPIO_SETDATAOUT and GPIO_CLEARDATAOUT can be used to change only 
the masked pins. As long as only one register is necessary (ie all pins 
set, or all pins cleared) the change is at the exact same time. In contrast 
when performing mixed changes (some pins set, others cleared) you'll see a 
delay between the output changes depending on the L3 latency.

@Mark
In order to testing gpiod you should use mixed changes

while true; do 
gpioset 1 18=0 19=1
gpioset 1 18=1 19=0
done

Regards

BTW:
Changing multiple pins on the same chip all at once is supported in libpruio 
 since version 0.0 (2014, kernel 3.8).

-- 
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/dd89965b-ae8b-4d5a-b4f7-1d5c487261b7o%40googlegroups.com.