* [U-Boot] code looping in_ram in start.S
@ 2011-07-12 5:42 smitha.vanga at wipro.com
2011-07-12 6:10 ` Marek Vasut
2011-07-12 6:35 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: smitha.vanga at wipro.com @ 2011-07-12 5:42 UTC (permalink / raw)
To: u-boot
Hi ,
I am trying to bring up u-boot1.1.3 on a custom mpc8247 board, having
32MB flash and two 32 M SDRAM .
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] code looping in_ram in start.S
2011-07-12 5:42 [U-Boot] code looping in_ram in start.S smitha.vanga at wipro.com
@ 2011-07-12 6:10 ` Marek Vasut
2011-07-12 6:35 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2011-07-12 6:10 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] code looping in_ram in start.S
2011-07-12 5:42 [U-Boot] code looping in_ram in start.S smitha.vanga at wipro.com
2011-07-12 6:10 ` Marek Vasut
@ 2011-07-12 6:35 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2011-07-12 6:35 UTC (permalink / raw)
To: u-boot
Dear smitha.vanga at wipro.com,
In message <07ACDFB8ECA8EF47863A613BC01BBB2203243490@HYD-MKD-MBX02.wipro.com> you wrote:
>
> I am trying to bring up u-boot1.1.3 on a custom mpc8247 board, having
> 32MB flash and two 32 M SDRAM .
>
> 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
First thing you should to is update. Version 1.1.3 is about 6 years
old, and for software this means it predates the dinosaurs.
Read: this old stuff is completely unsupported.
Second: read the FAQ; the problem you are running into is described
here: http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation
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: wd at denx.de
A mouse is an elephant built by the Japanese.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-12 6:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-12 5:42 [U-Boot] code looping in_ram in start.S smitha.vanga at wipro.com
2011-07-12 6:10 ` Marek Vasut
2011-07-12 6:35 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.