We are looking into this. I remember that a long time ago we had difficulties too selecting other baud rates than 9600 or 115200. Do you have a good reason why you need 38400? Otherwise just using 115200 would be the easiest for now. As I remember it, it looks like the Allwinner kernel serial drivers may need to be patched/fixed to support other baud rates, there might be some issues with computing the correct dividers that would take one from a central clock (e.g., at 1008MHz or so) to the desired baud rate with an acceptable margin of error.