[BeagleBone Black] Enable All UART Ports at Boot

Previously we used enable the UART ports by hand, but that’s annoying because it required doing it manually every time the BBB boot. In addition, writing a script wouldn’t work for some reason. For my quadcopter project, the BBB must enable all UART ports by itself at boot, since I can’t fly with a wire hooked onto it. Therefore, I went on and do some digging on this… took a while before anything came up. It’s actually more complicated than I though, having to deal with how device tree works and all… but here’s what I found:

Continue reading


[Beaglebone Black] Enable On-Board Serial UART

In order to use the built-in UART pins on the Beaglebone Black, we must first activate it.

The device name and pins is as follow:
Credit – http://beaglebone.cameon.net/home/serial-ports-uart

 RX  TX  CTS  RTS  Device  Remark
 UART0  J1_4  J1_5  /dev/ttyO0 BeagleBone Black only
 UART1  P9_26  P9_24  P9_20  P9_19  /dev/ttyO1
 UART2  P9_22  P9_21  P8_37  P8_38  /dev/ttyO2
 UART3  P9_42  P8_36  P8_34  /dev/ttyO3  TX only
 UART4  P9_11  P9_13  P8_35  P8_33  /dev/ttyO4
 UART5  P8_38  P8_37  P8_31  P8_32  /dev/ttyO5

Continue reading