[U-Boot] [Fwd: Re: mpc8315 DDR2 controller]
Dears,
I found the problem.
The reference board (MPC8315ERDB) has 128MB DDR2. The new design has 256MB DDR2. I chanced the size macros in \incluce\configs\MPC8315E.h
#define CFG_DDR_SIZE 256 /* MB */
#define CFG_DDR_CS0_BNDS 0x0000000F
But I forgot change MMU configurations. Below the correct configuration.
#define CFG_IBAT0U (CFG_SDRAM_BASE | BATU_BL_256M| BATU_VS | BATU_VP)
Thanks,
Marcos Cunha
Electrical Engineer
Quoted 21 lines · Wolfgang Denk
Dear Marcos Cunha,
Quoted 4 lines · In message <[email protected]> you wrote:
I am using u-boot 1.2.0 for mpc8315e processor with BDI2000 debugger in a new design based on MPC8315ERDB. Our board has a different DDR2 and Flash memory. The flash memory works fine. The problem could be DDR2.
U-Boot 1.2.0 is more than 2 years old.
You really should not use such ancient stuff for a new design.
You get the expected reply: please update, use current code and try again. If the problem still persists, please report back.
Best regards,
Wolfgang Denk
Signature · 49 lines
cid:image002.gif at 01C8B04F.DE139770 *Marcos Aur?lio pinto cunha, PMP Engenheiro eletricista / electrical engineer *** cid:image002.gif at 01C8B04F.DE139770 cid:image003.gif at 01C8B04F.DE139770 Fone: +55 (85) 3216.7934 Fax: +55 (85) 3216.7864 Skype: marcos.cunha.ufc *ISO 9001 : 2000 - CMMI3*** *www.atlantico.com.br <http://www.atlantico.com.br>*** -- cid:image002.gif at 01C8B04F.DE139770 *Marcos Aur?lio pinto cunha, PMP Engenheiro eletricista / electrical engineer *** cid:image002.gif at 01C8B04F.DE139770 cid:image003.gif at 01C8B04F.DE139770 Fone: +55 (85) 3216.7934 Fax: +55 (85) 3216.7864 Skype: marcos.cunha.ufc *ISO 9001 : 2000 - CMMI3*** *www.atlantico.com.br <http://www.atlantico.com.br>***