[U-Boot-Users] Problem about sdram initialization!

Hi,I have a little problem with the ppcboot startup,the BDI2000 can program ppcboot.bin into FLASH .Board information can print through serial interface after the first initialization of board now. But when it run to the function relocate_code(in the /cpu/mpc8260/start.s),it don't run continually. Through LED on the board ,I find that it stops at the code below:
addi r0, r10, in_ram - _start + EXC_OFF_SYS_RESET mtlr r0 blr in_ram:
The size of SDRAM size is 16MB,flash is 8MB,CPU is MPC8250,and my costum board is like the board MPC8260ADS.Othe infomation with my board is below: CLKIN:33M MPTPR:0x10 PSRT:0x1900 BR2(control SDRAM): 0x0000 0041 OR2:0xFF80 3080 PSDMR: 0x2869 A452 0x0869 A452 0x1869 A452 0x4069 A452 SIUMCR:0x0A20 0000
Please give me a hand.
Thanks in advance!
__________________________________________________ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com

In message 20050713114719.92457.qmail@web15708.mail.cnb.yahoo.com you wrote:
Hi,I have a little problem with the ppcboot startup,the BDI2000 can program ppcboot.bin into FLASH .Board information can print through serial interface after the first initialization of board now.
If you are looking for help you should not be so ignorant.
I told you before (in private mail) that you are supposed to:
* not post HTML; you post HTML again
* not to use proprietary data formats like "rar" archives; you did it again.
The size of SDRAM size is 16MB,flash is 8MB,CPU is MPC8250,and my costum board is like the board MPC8260ADS.Othe infomation with my board is below:
"like" another board means it is not identical. like is not good enough. You will have to port U-Boot to your own board.
Please give me a hand.
After you ignored are hints given to you? That's hard.
--0-304857347-1121255239=:83888 Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 8bit
<DIV> <DIV>
Please NEVER post HTML here.
Content-Type: application/octet-stream; name="MPC8260ADS.rar" Content-Transfer-Encoding: base64 Content-Description: 1269557957-MPC8260ADS.rar Content-Disposition: attachment; filename="MPC8260ADS.rar"
Please NEVER use proprietary, non-standard data formats.
Attachment unreadable, ignored.
Wolfgang Denk

junping feng wrote:
Hi,I have a little problem with the ppcboot startup,the BDI2000 can program ppcboot.bin into FLASH .Board information can print through serial interface after the first initialization of board now. But when it run to the function relocate_code(in the /cpu/mpc8260/start.s),it don't run continually. Through LED on the board ,I find that it stops at the code below:
addi r0, r10, in_ram - _start + EXC_OFF_SYS_RESET mtlr r0 blr in_ram:
The size of SDRAM size is 16MB,flash is 8MB,CPU is MPC8250,and my costum board is like the board MPC8260ADS.Othe infomation with my board is below: CLKIN:33M MPTPR:0x10 PSRT:0x1900 BR2(control SDRAM): 0x0000 0041 OR2:0xFF80 3080 PSDMR: 0x2869 A452 0x0869 A452 0x1869 A452 0x4069 A452 SIUMCR:0x0A20 0000
Please give me a hand.
Thanks in advance!
You need to fix your SDRAM initialization. We cannot help you with this. You need to read and reread the data sheets _for the SDRAM you are using_ and figure out what the proper initialization sequence and register values are.
gvb
participants (3)
-
Jerry Van Baren
-
junping feng
-
Wolfgang Denk