Hi Biyong,
I have done test,and added your said.But the problem is still exist.
Showing settings:
#stty -F /dev/ttymxc3
speed 9600 baud; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 5;
ignbrk -brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
Should it have taken effected?
I added some log in kernel driver code.To print the value of registers.
[ 1341.230883] dma_rx_callback, count=4096 ## urxd:80ff 80:d0d, 84:4027, 88:704, 8c:4042, 90:b10, 94:2010, 98:408d, 9c:2b, a0:0, a4:29, a8:c34, ac:4, b0:2ca4, b4:40, b8:0,
80,84,88 ... is offset of register.And the after number is its value.
So we can not see uart controller have reported errors,but the count is 4096.
I disconnected RX line, it still print.