Activate i.MX internal UARTs: Difference between revisions

From ArmadeusWiki
(creation)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==i.MXL (APF9328)==
==i.MXL (APF9328)==
Nothing special to do, 2 UARTS are activated by default
Nothing special to do, the 2 UARTS are activated by default.


==i.MX27 (APF27)==
==i.MX27 (APF27)==
On i.MX27 UART controllers pins are multiplexed with other peripheral controllers. So configuration is a little more difficult.
* On i.MX27 UART controllers pins are multiplexed with other peripheral controllers. So configuration is a little more difficult.
<pre class="host">
<pre class="host">
$ make linux26-menuconfig
$ make linux-menuconfig
</pre>
</pre>
<pre class="config">
<pre class="config">
Line 20: Line 20:
             [ ]  UART6
             [ ]  UART6
</pre>
</pre>
Some UARTs won't be available or preselected depending on the other devices configured or the baseboard used. (For example UART4 is not available on APF27Dev; indeed pins are used for USB1).
Some UARTs will be preselected or won't be available, depending on the other devices configured or the baseboard used. (For example UART4 is not available on APF27Dev; indeed pins are used for USB1).
<pre class="host">
$ make
</pre>
* Reflash your Linux kernel


==Going further==
==Going further==

Latest revision as of 18:09, 4 September 2013

i.MXL (APF9328)

Nothing special to do, the 2 UARTS are activated by default.

i.MX27 (APF27)

  • On i.MX27 UART controllers pins are multiplexed with other peripheral controllers. So configuration is a little more difficult.
$ make linux-menuconfig
Device Drivers  --->
    Character devices  --->
        Serial drivers  --->
            [*] IMX serial port support
            [*]   Console on IMX serial port
            -*-   UART1
            [ ]   UART2
            -*-   UART3
            [ ]   UART4
            [ ]   UART5
            [ ]   UART6

Some UARTs will be preselected or won't be available, depending on the other devices configured or the baseboard used. (For example UART4 is not available on APF27Dev; indeed pins are used for USB1).

$ make
  • Reflash your Linux kernel

Going further

Now you have activated your serial port, you can use them: Serial ports usage on Linux