From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 16 Jan 2011 15:42:25 +0100 Subject: [U-Boot] environmental "baudrate" not used at boot up In-Reply-To: <20110116140122.GA2756@cslinux-build01.cyberswitching.local> References: <20110116140122.GA2756@cslinux-build01.cyberswitching.local> Message-ID: <4D3303D1.2050201@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 16/01/2011 15:01, chrisv at cyberswitching.com a ?crit : > 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? Hmm... 2009.1 is very old code. Current u-boot-at91/master seems to build at91sam9263ek; maybe you could try it. > Thanks, > Chris Amicalement, -- Albert.