Hi all,
I am porting my I.MX6 platform kernel from 4.9.11 to 5.4.24, and face some weird issue on the UART port
after i port the code and my device tree, I manage to boot up my machine. Then I tried to read some data from another subcpu which is connected to ttymxc2.
In console, I tried to cat /dev/ttymxc2, but it returns me with some text that seems like system related information as below:

I tried to do a stty then cat, it returns me with another type of information, which seems to be like cat /proc/filesystems plus something else as below:

I cannot understand why is this happening. It seems like the ttymxc device is mixed up with /proc/ information. Can anybody advise?
One thing is that the system is working fine in kernel 4.9.11. Only change is changing the kernel from 4.9.11 to 5.4.24.
By the way, i am using same bootloader 2017.03 for both the 4.9.11 and 5.4.24 kernel. I suppose 5.4.24 kernel can work well with 2017.03 uboot?
Thank you.
Regards,
Tee