On Fri, Jun 30, 2017 at 11:53 AM, Robert Nelson <[email protected]> wrote:
> On Fri, Jun 30, 2017 at 11:51 AM, Jason Kridner <[email protected]> wrote:
>> Robert,
>>
>> Can we make sure the Blue UART pins default to UART and that config-pin is
>> not necessary? This is critical to our expected user experience where the
>> I/O ports are defined by their default function.
>>
>> What did I do wrong?
>
> I'm not sure, i had assumed your dts changes would make it default..
> but it didn't..
>
> I'll shove it in the bootscript, to fix it now...
>
> cd /opt/scripts/tools/
> git pull

Okay that's fixed:

If config-pin is too old, it'll complain..

debian@beaglebone:~$ journalctl | grep am335x_evm: | grep config-pin
Jun 30 17:23:51 beaglebone sh[429]: am335x_evm: broken
/usr/bin/config-pin upgrade bb-cape-overlays

once it's updated..

debian@beaglebone:~$ journalctl | grep am335x_evm: | grep config-pin
Jun 30 17:27:17 beaglebone sh[412]: am335x_evm: config-pin: GPS:
Setting P9.21/P9.22 as: uart: [/dev/ttyS2]
Jun 30 17:27:17 beaglebone sh[412]: am335x_evm: config-pin: UT1:
Setting P9.24/P9.26 as: uart: [/dev/ttyS1]

debian@beaglebone:~$ config-pin -q P9.24
P9_24 Mode: uart
debian@beaglebone:~$ config-pin -q P9.26
P9_26 Mode: uart
debian@beaglebone:~$ config-pin -q P9.21
P9_21 Mode: uart
debian@beaglebone:~$ config-pin -q P9.22
P9_22 Mode: uart

debian@beaglebone:~$ tio -b 9600 /dev/ttyS1
[tio 17:30:57] tio v1.20
[tio 17:30:57] Press ctrl-t q to quit
[tio 17:30:57] Connected
$GPRMC,173058.00,V,,,,,,,300617,,,N*76
$GPVTG,,,,,,,,,N*30
$GPGGA,173058.00,,,,,0,00,99.99,,,,,,*6E
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPGSV,1,1,02,13,,,19,17,,,22*77
$GPGLL,,,,,173058.00,V,N*42
$GPRMC,173059.00,V,,,,,,,300617,,,N*77

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiagS%3Dc%2Bq8ekshHm68yFNGkAuj3Ezic%2BgLy-ZoQBQX4fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to