Using latest armv7 snapshot on BeagleBone; I'd really like to know
how to do this. Having multiple serial ports is rather attractive for
an embedded control application. (Several applications, actually.)

In addition to the serial console, there are 3 additional asynchronous
serial interfaces on the expansion header of the BeagleBone Black.
I hooked up RS-232 interface cables to both Uart0 and Uart1. Uart0 is
of course the boot console. While attempting to do the verification of
connectivity for Uart1, I discovered the additional ports are missing.

I have Python 2.7.6 and pySerial installed. (Since no packages
available for the 5.5 armv7 snapshot, I bootstrapped pkgsrc and built
a select few, with the strategic use of a few NFS-mounted folders.)

[beaglebone: ~]$ python2.7                                                      
                                                                                
                                            
Python 2.7.6 (default, Feb 25 2014, 20:27:34) 
[GCC 4.2.1 20070719 ] on openbsd5
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
>>> ser = serial.Serial('/dev/cua00', 115200, timeout=1) 
>>> ser.write('Hello')
5
>>> ser.close()
>>> ser = serial.Serial('/dev/cua01', 115200, timeout=1) 
Traceback (most recent call last):
 File "/usr/pkg/lib/python2.7/site-packages/serial/serialposix.py"
   self.fd = os.open(self.portstr, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK)
OSError: [Errno 6] Device not configured: '/dev/cua01'

So, even though the cua* devices are defined they aren't available.
Researching further, the file 'INSTALL.armv7' does mention the driver
as "standard serial port (com)" for all (BeagleBoard, BeagleBone,
and PandaBoard). But it looks like only 1 device is enumerating.

[beaglebone: ~]$ dmesg | egrep "^com|OpenBSD"
OpenBSD 5.5-beta (GENERIC-OMAP) #7: Wed Feb 19 15:42:30 EST 2014
com0 at omap0: ti16750, 64 byte fifo
com0: console

Somehow I would expect to see 4 or 5 'com' devices reported.
 ... is this a simple configuration issue, or how should I proceed?

--
Douglas Beattie
http://www.linkedin.com/in/beattidp

Reply via email to