We noticed on a buidroot generated image using busybox-tools that the command stty (from busybus) supports only a limited UART baud rate (see [1] or [2]). We did a lot of checks (see [1] or [2]) and the result was that the stty (busybox) command was the problem. To conform this we installed the coreutils including stty (coreutils). With stty (busybox) a baud rate of 1000000 bps failed including faster baud rates, but with stty (coreutils) it was no problem at all. To test new stty (busybox) versions feel free to instruct me. [1]: http://forum.fs-net.de/index.php/Thread/4203-UART-interfaces-refuse-to-set-baudrate-to-1-Mbps/#post14236 [2]: https://community.nxp.com/thread/461993 busybox version: v1.24.2
See speed_table.c - speeds up to B4000000 are supported since 1.26.x, if they are defined by the toolchain.