linux-mips
[Top] [All Lists]

serial port 8250 messed up after coverting from little endian to big end

To: linux-kernel@vger.kernel.org, "linux-mips" <linux-mips@linux-mips.org>
Subject: serial port 8250 messed up after coverting from little endian to big endian on kernel 2.6.31
From: myuboot@fastmail.fm
Date: Mon, 19 Oct 2009 18:56:04 -0500
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:references:subject:in-reply-to:date; s=smtpout; bh=AgfdDMWWW2Kf3Q29EyQJZvEf+Ys=; b=NSr2otjSTsAOXqtD/q1sUo3W/VWv+jHhLp+sbXmkDz8f8fUv1NDZQ8eJwHVv78SwoRTDEmPbh7T+mix/itx1xMttKKv2sN6RrawxURr6MfATLEeE2xnjaIyJ5dNxl5qWmPIydG4uCtt1CPnWiINtlng6N53QTVvf2+uI7ZJTP5w=
In-reply-to: <4AD906D8.3020404@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1255735395.30097.1340523469@webmail.messagingengine.com> <4AD906D8.3020404@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
I am trying to bringup a MIPS32 board using 2.6.31. It is working in
little endian mode. After changing the board's hardware from little
endian to bit endian, the serial port print messed up. It prints now
something like - "àààààààààààààààà" on the screen. When I trace the
execution, I can see the string the kernel is trying print is correct -
"Linux version 2.6.31 ..." and etc.

I guess it means the initialization of the serial port is not properly
done. But I am not sure where I should check for the problem. The serial
port device I am using is 8250. Please give me some advise.

Thanks. 

<Prev in Thread] Current Thread [Next in Thread>