[U-Boot] code looping in_ram in start.S

Marek Vasut marek.vasut at gmail.com
Tue Jul 12 08:10:51 CEST 2011


On Tuesday, July 12, 2011 07:42:56 AM smitha.vanga at wipro.com wrote:
> Hi ,
> 
> 
> 
> I am trying to bring up u-boot1.1.3 on a custom mpc8247 board, having
> 32MB flash and two 32 M SDRAM .

Can you please try a newer version (git clone git://git.denx.de/u-boot.git)
> 
> See a problem after the relocation happens. The code gets relocated from
> Flash to RAM correctly. But when the control goes to in_ram it gets
> looped there
> 
> And then gets reset. I have done all the SDRAM tests all are successful.
> So how to proceed for this issue
> 
> 
> 
> Below is the SDRAM initialization sequence.
> 
> 
> 
> 
> 
> ; init SDRAM Init (PPC bus)
> 
> WM16  0xF0010184  0x1000            ;MPTPR
> 
> WM8   0xF001019C  0x18              ;PSRT
> 
> 
> 
> WM32  0xF001010c  0xFC002d00 ;OR1
> 
> WM32  0xF0010108  0x00001841 ;BR1
> 
> 
> 
> WM32  0xF0010190  0xeb29a4a3   ;PSDMR: Precharge all banks
> 
> WM8   0x00000000  0x00          ;Access SDRAM
> 
> WM32  0xF0010190  0xcB29a4a3    ;PSDMR: CBR Refresh
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM8   0x00000000  0xFF          ;Access SDRAM
> 
> WM32  0xF0010190  0xdb29a4a3    ;PSDMR: Mode Set
> 
> WM8   0x00000000  0x00          ;Access SDRAM
> 
> WM32  0xF0010190  0xc329a4a3    ;PSDMR: enable refresh, normal operation
> 
> 
> 
> Regards,
> 
> Smitha
> 
> 
> 
> 
> Please do not print this email unless it is absolutely necessary.
> 
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments.
> 
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
> 
> www.wipro.com


More information about the U-Boot mailing list