Hi everyone,
I try to test the uart communication on my CL-SOM-IMX6UL baseboard. I make a loopback test with uart2 (/dev/ttymxc1) but it doesn't works.
I have change my Devicetree like following:
pinctrl_uart2: uart2grp {
fsl,pins = <
MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1
MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1
>;
};
&uart2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; status = "okay"; };
With
dmesg | grep ttymx
I get
[ 0.000000] Kernel command line: console=ttymxc2,115200 root=/dev/mmcblk1p2 rootwait rw ip=dhcp
[ 0.360619] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
[ 0.362383] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
[ 0.363644] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a IMX
[ 0.942466] console [ttymxc2] enabled
[ 0.946164] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 49, base_baud = 5000000) is a IMX
Can you help me please ? Thank you in advance.
Romain
Hi Romain
one can try unit tests uart test:
mxc_uart_test\test - imx-test - i.MX Driver Test Application Software
with description in sect.9.23 Universal Asynchronous Receiver/Transmitter (UART)
attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------