Welcome to the

The Johnny O Show

Come join my family and I on our many adventures and follow Robin on her weight loss journey. I post tutorials and reviews on various subjects such as Premier Pro, the GoPro, Hotel Reviews, etc. You will also find covers that I have made using my Tyros 4, as well as original compositions.

Ep. #285 BBB: Configure Serial Ports Part #2 - Ubuntu Snappy Core

This tutorial is the continuation from part #1 for enabling serial/com ports for the Beagle Bone Black, running Ubuntu snappy core 15.04. In this tutorial you will learn how to create a new BBB .dtb file to include content that will enable support for multiple serial/com ports on the BBB.
To start, download the current armhf device file and go to the assets directory. Next, go to the .dtbs directory and convert the .dtb file to a .dts file so it can be edited. By configuring the UART, in the /assets/dtbs source file, you can add the needed support for the serial/com ports. Once the UART code has been created, make sure the part name (pinmux_uart0_pins), the hex identifier for the pins (pinctrl-single,pins = Hex_Identifier) and the hex ID (linux,phandle = Hex_ID and phandle = Hex_ID) have been included in the .dts file and are correct for the serial/com ports you wish to add. Now to enable each of the new ports and to assign the pinouts go to the serial@ section of the .dts file that has been created. There the status will need to be updated from “disabled” to “okay,” and will need to add: pinctrl-names = “default; and pinctrl-0 = Hex_ID; to the end of each serial@ code section for the given UART.
Once all the changes and additions have been made, save the file and return to the command prompt and run the dtc command to convert it back to a .dtb file. Then use scp to copy your newly created .dtb file to the BBB.

Help us caption & translate this video!


Subscribe: https://www.thejohnnyoshow.com/subscribe.php
Check out our site: https://www.thejohnnyoshow.com
Facebook: https://www.facebook.com/thejohnnyoshow #stayhome #withme

Stay Tuned

Never missed update and stay in touch as we continue our family fun.

Pin It on Pinterest

Share This