I'm testing the rpmsg on iMX6SX using the rpmsg tty driver "imx_rpmsg_tty.ko". The communication between the A9 coreand M4 core is successful, but the data rate seems very low. I checked the settings of the "ttyRPMSG" device, and found the default buad rate is only 38400:
# stty -F /dev/ttyRPMSG
speed 38400 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 = 0;
-brkint -imaxbel
How do I increase this baud rate(for example, 115200)?
Is there any alternative way to achieve a faster communication speed between the A9 core and M4 core, instead of using the tty interface?
Please follow the instructions in i.MX_Linux_Reference_Manual.pdf of BSP release