Sorry, I didn't notice that Adafruit took care of exporting the overlays. Can't help with UART3 and 5 not working, I've only used 0, 1 and 2 so far.
Michel On Tuesday, September 16, 2014 6:48:57 AM UTC-4, [email protected] wrote: > > Michel Lavoie <[email protected] <javascript:>> wrote: > > [-- text/plain, encoding quoted-printable, charset: UTF-8, 81 lines --] > > > > I strongly recommend that you read Adafruit's guide regarding the BBB's > > device tree overlay. It really help me put this all together: > > > https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/overview > > > > > You will find there why and how to modify your uEnv.txt file in order to > > enable ttyO1. In mine, the last line looks like this: > > > > ... > > optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0 > > > > optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0 > > > > optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0 > > > > optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0 > > > > > The Adafruit UART IO documentation specifically says that it *does* > export the overlays:- > > The Adafruit IO Python library will export the UART device tree > overlays as a convenience. There are five serial ports brought to > the expansion headers (UART3 only has a single direction, TX), and > one (UART0) with dedicated headers that aren't available to use in > your Python programs. > > ... but not all the UARTs work. > > In addition the use of the letter O in the device name is just silly! :-) > > The devices it creates are called /dev/ttyO1, /dev/ttyO2, etc. with > the letter O. There's not a mention anywhere that it's a letter > rather than a digit and given the context it's second nature to assume > it's a zero. Still I did spot that eventually. > > -- > Chris Green > ยท > > -- 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]. For more options, visit https://groups.google.com/d/optout.
