Thank you for your answer.
It helps me to understand that I used zmodem in wrong way.
Thus I`ve also found that zmodem worked well on imx6 uarts.
But in the rs485 mode, that was added in the latest versions of linux kernel, zmodem gives many errors (it can be caused by hardware problems with rs485 converter).
However, we decided to not investigate this problem further.
Maybe it will be helpful for somebody:
To test zmodem I`ve used the following ports configuration (“root@imx6s-kts” – target imx6 based board, “user@user-desktop” – usual x86 based host connected to the target board through usb to rs232 converter):
root@imx6s-kts:~# stty -a -F /dev/ttymxc3
speed 115200 baud; rows 0; columns 0; line = 0;
intr = M-^?; quit = <undef>; 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 = 1;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke
root@imx6s-kts:~# stty -g -F /dev/ttymxc3
402:0:18b2:0:ff:0:7f:15:4:1:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
user@user-desktop:~$ stty -a -F /dev/ttyUSB0
speed 115200 baud; rows 0; columns 0; 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 = 0;
-parenb -parodd cs8 -hupcl -cstopb cread clocal -crtscts
ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke
user@user-desktop:~$ stty -g -F /dev/ttyUSB0
1:0:18b2:0:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
Then I`ve run the following commands on the target and the host respectively:
root@imx6s-kts:~# lsz --zmodem testFile2.txt > /dev/ttymxc3 < /dev/ttymxc3
user@user-desktop:~$ sudo rz --zmodem > /dev/ttyUSB0 < /dev/ttyUSB0