I would like to use the imx8qm-mek RS-232 connector (J37).
LPUART2( /dev/ttyLP2 ) is not enabled.
What should I do?
I made the following changes.
- Added the following code before "on boot".
chmod 0777 /dev/ttyLP2
- changed the following code.
pinctrl-0 = <&pinctrl_lpuart2>;
status = "okay";
Solved! Go to Solution.
Please refer to : Solved: [iMX8QM-MEK] LPUART2 setting - NXP Community
Hi, I have exact same problem with my i.MX8 QM MEK board. I am using Base Board to connect PC and Board using RS232. I am using USB-to-serial converter to do that, but I cannot see /dev/ttyLP2. I also tried to change lpuart2 status in dts to "okay" but it didn't help.
Did you manage to solve the problem?
Hi, @vzeric .
It's the same situation.
The problem is unresolved.
UART2 is assigned to core M41, and access from core A may be prohibited.
However, UART2 cannot be used even if the SCFW changed.
I was able to use LPUART4 with reference to the following.
Solved: [iMX8QM-MEK] LPUART4 settings - NXP Community
System Controller Firmware 101 - Getting started - NXP Community
Please let us know if there is any progress.
Sorry for miss your thread and late reply.
1. use stty configure the ttyLP2 and test
stty -F /dev/ttyLP2 115200
echo abc > /dev/ttyLP2
2. enable ttyLP2 in systemd as another login console for test purpose
systemctl enable serial-getty@ttyLP2
You will have two login consoles.
Thank you @b45499 .
I saw that page, so already it's checked.
How to check rs232 port in imx8-8x baseboard in imx8qxp-mek
Executing that command will fail.
There is no ttyLP2 device file in the first place.
Executing the command on ttyLP4 does not echo to ttyLP4.