Project

General

Profile

Uart speed does not change when loading uboot. The variable "baudrate" has no effect.

Added by Roman Kochkin over 5 years ago

The baudrate of the UART port when loading uboot does not depend on the value from the environment variable "baudrate" and is determined only by CONFIG_BAUDRATE. The rate can only be changed in the local session using the "setenv" command. The next time you reset, uboot will take the rate from CONFIG_BAUDRATE. "config set" has no effect too.
Have to recompile to change rate.
Board mityomapl138.


Replies (1)

RE: Uart speed does not change when loading uboot. The variable "baudrate" has no effect. - Added by Jonathan Cormier over 5 years ago

It is unusual for a design to change its debug UART's baud rate dynamically. The majority of our designs use the 115200 baud rate. If your design needs a different baud rate, I would rebuild u-boot and change CONFIG_BAUDRATE and change the bootargs so the kernel also uses the new baudrate.

    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)