From: sean <yskim@human-rh.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [ppc440epx : memory extention]
Date: Tue, 16 Sep 2008 22:43:25 +0900 [thread overview]
Message-ID: <000001c91802$31a15e30$94e41a90$@com> (raw)
I'd like to extend capacity of DDR2 memory from 256MB to 512MB on my custumn
board.
EV Board(SEQUOIA) has 256MB DDR2 memory.
When I reset the U-Boot program, U-boot show me the SDRAM test fail message
like below.
DRAM: 512MB
SDRAM test fails at : 00000000
What should I do to upgrade DDR2 memory??
I have only modified follow sessions of U-Boot Code. Is it right??
1) Sequoia.h
#define CFG_MBYTES_SDRAM (512)
2) Sdram.c
/* For 512M DDR Registers */
mtsdram(DDR0_02, 0x00000000);
mtsdram(DDR0_00, 0x0000190A);
mtsdram(DDR0_01, 0x01000000);
mtsdram(DDR0_03, 0x02050A02);
mtsdram(DDR0_04, 0x08020100);
mtsdram(DDR0_05, 0x02020206);
mtsdram(DDR0_06, 0x0102C811);
mtsdram(DDR0_07, 0x00070100);
mtsdram(DDR0_08, 0x04c80001);
mtsdram(DDR0_09, 0x00011D5F);
mtsdram(DDR0_10, 0x00000300);
mtsdram(DDR0_11, 0x0013C800);
mtsdram(DDR0_12, 0x00000003);
mtsdram(DDR0_14, 0x00000000);
mtsdram(DDR0_17, 0x19000000);
mtsdram(DDR0_18, 0x19191919);
mtsdram(DDR0_19, 0x19191919);
mtsdram(DDR0_20, 0x0B0B0B0B);
mtsdram(DDR0_21, 0x0B0B0B0B);
mtsdram(DDR0_22, 0x00267F0B);
mtsdram(DDR0_23, 0x00000000);
mtsdram(DDR0_24, 0x01010002);
mtsdram(DDR0_26, 0x246e0408);
mtsdram(DDR0_27, 0x0000682B);
mtsdram(DDR0_28, 0x00000000);
mtsdram(DDR0_31, 0x00000000);
mtsdram(DDR0_42, 0x0100000A);
mtsdram(DDR0_43, 0x020A0201);
mtsdram(DDR0_44, 0x00000002);
mtsdram(DDR0_02, 0x00000001);
And should I modify on table entry(in init.s)
tlbentry( CFG_SDRAM_BASE, SZ_256M, CFG_SDRAM_BASE, 0, AC_R|AC_W|AC_X|SA_G)
next reply other threads:[~2008-09-16 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 13:43 sean [this message]
2008-09-16 13:51 ` [U-Boot] [ppc440epx : memory extention] Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000001c91802$31a15e30$94e41a90$@com' \
--to=yskim@human-rh.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.