[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
Wolfgang Denk wrote:
Dear Marcos Cunha,
In message 4A944EE0.1000700@atlantico.com.br 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
participants (1)
-
Marcos Cunha