Re: IMX93 UART remapping
"Marco Cavallini" <[email protected]> Fri, 28 Mar 2025 01:04:51 -0700
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <[email protected]> |
--cIK8jMhACHR4FvZeXdYJ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 27, 2025 at 05:23 PM, <[email protected]> wrote: >=20 > I working on a custom IMX93 based board and having trouble working out > exactly what is necessary to remap the UART from the default UART1 to > UART3 (or UART5). I've made a custom device tree with the nodes for the > UART set to "status =3D okay". But I'm not sure it works, as the UART5 se= ems > to be muxed as an LCD controller (which we don't have and don't need). I > deleted that node, but I'm not certain the pins are in the correct state. > Also, how does one set the u-boot console to another UART? I've tried > setting the console environment variable: "setenv console ttpLP4" (UARTS > start numbering at 1, but the devices start at zero). Hello, is quite difficult to figure out the needed modifications without the schem= atic, however you are on the right track with the console environment varia= ble. However you have to set the right UART in the system. Sometimes it's only a= matter of setting or changing the alias property in the DTS. In case you could share more details. Greetz, -- Marco Cavallini | KOAN sas Bergamo - Italia embedded software engineering =E2=9C=86:+39 351-9518710 https://KoanSoftware.com --cIK8jMhACHR4FvZeXdYJ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <div>On Thu, Mar 27, 2025 at 05:23 PM, <[email protected]>= wrote:</div> <div> <blockquote>I working on a custom IMX93 based board and having trouble work= ing out exactly what is necessary to remap the UART from the default UART1 = to UART3 (or UART5). I've made a custom device tree with the nodes for the = UART set to "status =3D okay". But I'm not sure it works, as the UART5 seem= s to be muxed as an LCD controller (which we don't have and don't need). I = deleted that node, but I'm not certain the pins are in the correct state. A= lso, how does one set the u-boot console to another UART? I've tried settin= g the console environment variable: "setenv console ttpLP4" (UARTS start nu= mbering at 1, but the devices start at zero).</blockquote> </div> <div> <div>Hello,</div> <div>is quite difficult to figure out the needed modifications without the = schematic, however you are on the right track with the <code>console</code>= environment variable.<br />However you have to set the right UART in the s= ystem. Sometimes it's only a matter of setting or changing the <code>alias<= /code> property in the DTS.</div> <div>In case you could share more details.</div> <div> </div> <div>Greetz,</div> <div>--<br />Marco Cavallini | KOAN sas<br />Bergamo - Italia <br />em= bedded software engineering <br />=E2=9C=86:+39 351-9518710 <br /= >https://KoanSoftware.com</div> </div> --cIK8jMhACHR4FvZeXdYJ--