On 2014/03/02 15:00, Douglas Beattie wrote: > 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.)
Not relevant to your problem but I'd generally recommend using the ports tree to build packages from rather than pkgsrc, there are a number of OpenBSD-specific patches in the ports tree which are unlikely to make it into pkgsrc which fix problems that you could run into. (Note that the lack of packages is due to a lack of build hardware, not due to any particular problem with ports on OpenBSD on arm). > So, even though the cua* devices are defined they aren't available. "are defined" - do you just mean that there device nodes in /dev/cua* exist? there is no devfs in OpenBSD, the presence or lack of device nodes doesn't signal anything about actual devices present. > 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 Does look like it, but there might be more information in a complete dmesg - it's always useful to include this even if you want to grep out a few lines earlier to highlight them.