The Johnny O Show

 

If you find my scripts useful, please Like and Share my videos. If you'd like you can also send me money. :-) Thanks so much for your support.

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!

http://amara.org/v/Uda8/

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

Adobe Muse Scripts

 

      PHP Youtube Playlist for Muse

      Embed Youtube playlist in Muse using PHP, Autocreates Social Metatags

      rich snippets, and other great SEO features

      Download Script   Watch Video

 

      Sitemap Generator

      Automatically update your sitemap.xml for SEO with this free script

      Download Script   Watch Video

 

      Smart 404 Script

      Takes an outdated URL apart piece by piece, scans the sitemap, and

      searches for the closest match.

      Download Script   Watch Video