I use iMX8M Mini in our custom board. The uboot and kernel are come from yocto hardknott 5.10.35.
ttymxc1 is the debug console and it is working well. I do simple test "echo test > /dev/ttymxcY" where Y is 0, 2, or 3. The freeze problem happens 4 out of 5 times. We also use other python test software or custom-made software without flow control and the problem persists.
I find similar problems in the forum but neither no solution is provided nor the solution does not apply to our case.
iMX6 - non-console UARTs cause kernel to freeze - NXP Community
Could anyone give me some advice?
Many thanks!