From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Wed, 13 Jul 2005 09:36:22 -0400 Subject: [U-Boot-Users] Problem about sdram =?GB2312?B?aW5pdGlhbGl6YXQ=?= =?GB2312?B?aW9uo6E=?= In-Reply-To: <20050713114719.92457.qmail@web15708.mail.cnb.yahoo.com> References: <20050713114719.92457.qmail@web15708.mail.cnb.yahoo.com> Message-ID: <42D518D6.2040503@smiths-aerospace.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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