Increase serial port baudrate

Hello.

I need to load u-boot and u-boot spl via uart, for some reason i can’t use sd or spi flash. But it takes too much time, because default uart baudrate is 115200.
What have I tried:

  1. change baudrate in u-boot menuconfig;
  2. change budrate u-boot envronment variable “baudrate”;
  3. stty -F /dev/ttyS0 921600 in linux.

And its works for raspberry pi 4, but not for visionfive2. Baudrate changed, but in terminal i see unprintable characters. I can only reduce baudrate below 115200, but not increase. I have tried some usb-to-serial devices and the problem is definitely not with them.

The JH7110Datasheet says: “Programmable baud rate generator supports up to 3 Mbps”.

Is it possible configure visionfive2’s uart to 1Mb baudrate?

1 Like