<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 5, 2015 at 11:53 AM, Joel Sherrill <span dir="ltr"><<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On June 5, 2015 1:50:41 PM CDT, Steve B <<a href="mailto:sbattazzo@gmail.com">sbattazzo@gmail.com</a>> wrote:<br>
>Hi guys,<br>
><br>
>I would like to use more than one UART on the Beaglebone Black.<br>
><br>
>I see that the Console_Configuration_Ports in console-config.c only has<br>
>one entry but some of the header files do have base addresses and other<br>
>things for a couple more UARTs.<br>
><br>
>Can I simply add a second entry to that table named "/dev/ttyS1" and<br>
>open "/dev/ttyS1" and count on ns16550.c to take care of things, or<br>
>will I need to also modify the other functions in console-config.c to<br>
>account for other possible entries in the table?<br>
<br>
</span>You should review the existing methods to see that there are correct for the other serial ports. I expect that they will be ok but the base address and interrupt vectors may need to change. also check the probe method to make sure it is correct for the porch you're adding.<br>
<span class=""><br>
>Or do those functions only matter if I want to have the options to use<br>
>the other UARTs as stdout?<br>
><br>
<br>
</span>No. Those table entries mate the generic drive with bsp specific glue code and settings.<br>
<br>
><br>
>Thanks,<br>
><br>
>Steve<br>
<span class="HOEnZb"><font color="#888888"><br>
--joel<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Thanks for the quick response! Looks like there's a little bit of tweaking to do.<br><br></div><div class="gmail_extra">Steve<br></div></div>