[U-Boot] environmental "baudrate" not used at boot up

chrisv at cyberswitching.com chrisv at cyberswitching.com
Sun Jan 16 15:01:22 CET 2011


Hi list,

I have a board based on an Atmel AT91SAM9263-EK running U-boot 2009.01.
I can't seem to get the environmental variable "baudrate" to be used
properly, though.

Here's the sequence:

   1. Power on board, baudrate=115200
   2. setenv baudrate 9600
      (change terminal baud to 9600)
      saveenv
      saveenv
      reset
   3. Gibberish is output to the terminal at 9600
   4. Change terminal baud to 115200, everything ok

As much as I've looked through the code in lib_arm/board.c,
serial_init() and init_baudrate() seem to be coded correctly.

Any advice on where to take it from here?

Thanks,
Chris


More information about the U-Boot mailing list