Hi @ogra Thanks, This solved the tx issue, and transmit is working fine. However, I am still not successful in reading the data from the serial port.
I have tried the command “sudo cat /dev/ttymxc1”, it is blocking for read but there is no data received. I have tried this command after properly setting serial parameters using stty command. I have verified that my pin muxing and dts entries for this specific UART is proper.
I have also tried to implement my own snap so I can manually connect the interfaces but still receive/read is not working even using this serial-test app.
jvgediya@localhost:~$ snap interfaces
I have tried to make /dev/ttymxc1 as a debug console instead of default /dev/ttymxc0, then it works properly, I am able to see the kernel logs and also able to enter the commands on Linux console so Rx/Tx are working when this serial-port is configured as debug console(from U-Boot bootargs).
I am using the same kernel for yocto also. Ubuntu core have some extra configs enabled on top of yocto linux config. There is no change in device tree between both the kernels. All serial ports are working perfectly fine when I boot linux built through yocto on my board but with ubuntu-core, receive doesn’t work.
@ogra Please let me know if you have any pointers to debug this issue.
I would really appreciate it if ubuntu core experts on this forum can let me know if I am missing any important aspect of how serial-ports work in ubuntu-core and if any specific test method needs to be used to test them.