Re: [U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)
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:amd...@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.gow...@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. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
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.gow...@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. au1x00_serial.c Description: Binary data ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)
Dear Gurumurthy G M, please do not top post / full quote. And do not ask questions you have just asked a few hours before. In message 5858de952c53a441bda3408a0524130104cce...@mkegmal01 you wrote: let me know if anyone have ported u-boot to MIPS32. Why don't you have a look yourself at the existing code? There are a number of MIPS32 based boards supported by U-Boot. I have to admit that I don;t remember the situation in the historic 1.2.0 version you seem to be using - don't expect much help for this old stuff. For recent work, you really should use recent code (i. e. topof tree from git repository, or at least v2010.03). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de If you're not part of the solution, you're part of the problem. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)
2010/4/23 Gurumurthy G M gurumurthy.gow...@gmobis.com: let me know if anyone have ported u-boot to MIPS32. I did a couple of ports for Au1550 boards back when it was still owned by AMD. On Au1550 if the boot pins are set up for NOR flash, the CS0 line is mapped with a base physical address 0x0_1fc0_ (36 bit physical address) and a chip select mask of 0xf_fffc_ (range of 256K). Without using the TLB (ie staying in KSEG1 virtual range), the top physical address you can select is 0x0_1fff_, so this is effectively 4Mb down from the top of memory at boot time. In lowlevel_init.S the base and range of the chip select can get adjusted so that more of the flash is accessible by adjusting the base address and mask. As an example we had a board that adjusted to the registers for a larger NOR mapped at 0x0_1f00_ with a size of 0x0_0100_. Look in the dbau1550 port for more info. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot