[U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)
Gurumurthy G M
Gurumurthy.Gowdar at gmobis.com
Wed Apr 28 21:50:59 CEST 2010
Hi,
i have one doubt regarding the configuring and working on serial port. In Free scale processors I used to #define the console write to smc or scc ( mpc8280 uart ports) .
But here i don't think console write or console debug messages are configured to UART2 ( Debug Port) of Au1350. If not then how console port UART2 is taken though serial_init will initialize UART2.
my concern is how output of printf or puts or debug messages is displayed on MIPS au1350 console( uart2 is debug port).
If am right by defining configs/dbau1x00.h it will just initialize the serial port and baud rate.
need help if am missing something regarding debug console.
Regards,
Gurumurthy
-----Original Message-----
From: Andrew Dyer [mailto:amdyer at gmail.com]
Sent: Tue 4/27/2010 4:57 AM
To: Gurumurthy G M
Cc: U-Boot List
Subject: Re: [U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)
On Mon, Apr 26, 2010 at 2:07 PM, Gurumurthy G M
<Gurumurthy.Gowdar at gmobis.com> wrote:
>
>
> Hi Andrew,
> Thank You very much for the reply.
>
> i have done a couple of porting for MPC82xx,MPC74xx i.e. only worked on Free Scale processors. this is my first port on MIPS. i feel its not so simple as MPC and ARM.
>
> In MIPS where i need to configure the Debug port initialization in board config file.
>
> my debug port is UART 2 i.e. console port. but no where it is defined. only i saw in au1x00.h file UART_DEBUG_BASE = UART2. but how it is configured to get console messages.
>
> please let me know about this if am wrong let me know.
Please post to the list. I've cc'd it
look in cpu/mips/au1x00_serial.c - in there everything is hardcoded to
uart 0. I've attached a version from our local CVS that allows
selecting the uart, but I don't have it cleanly done as a nice patch.
Feel free to bang it into shape and submit it, but I can't support
that code.
More information about the U-Boot
mailing list