Using ttyAML0 as user UART

I want to use Linux_RX and Linux_TX (GPIO PIN 18,19) as user UART for communication.

I tried to patch linux to disable “stdout-path” in meson-khadas-vim3.dtsi but could not open port /dev/ttyAML0: [Errno 13] Permission denied: ‘/dev/ttyAML0’.

Screenshot from 2022-11-06 21-13-20

Kernel : Mainline 6.0
Linux : Ubuntu 20.04

Please advise.

Thank you

Hello @Jirat_Srisabye

Can you also remove console=ttyAML0,115200n8 from the boot parameters?

1 Like

Thank you. I will try