From: 조기성 <k9@tibetsystem.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] new board SDRAM conf
Date: Mon, 3 Nov 2008 18:51:25 +0900 [thread overview]
Message-ID: <000801c93d99$bc3413f0$349c3bd0$@com> (raw)
In-Reply-To: <200811030847.15427.sr@denx.de>
Dear stefan.
I Made my board config header, and using yosemite's init.S & u-boot.lds, mft.c(Yosemite.c)
Only change config header , but it's not working .
1. First The difference of my SDRAM configuration is
*** (PPC440EP supported four external DDR_SDRAM Banks.) ***
But Our used only external DDR_SDRAM Bank_0(BANKSEL_0) on the New design Board.
2. Second my config header is
Include/configs/mft.h
________________________________________________________________________________________
#define CONFIG_440EP 1 /* Specific PPC440EP support */
#define CONFIG_HOSTNAME mft
#define CONFIG_440 1 /* ... PPC440 family */
#define CONFIG_4xx 1 /* ... PPC4xx family */
#define CONFIG_SYS_CLK_FREQ 66666666 /* external freq to pll */
#define CONFIG_BOARD_EARLY_INIT_F 1 /* Call board_early_init_f */
#define CONFIG_MISC_INIT_R 1 /* call misc_init_r() */
#define CONFIG_BOARD_RESET 1 /* call board_reset() */
/*-----------------------------------------------------------------------
* Base addresses -- Note these are effective addresses where the
* actual resources get mapped (not physical addresses)
*----------------------------------------------------------------------*/
#define CFG_MONITOR_LEN (512 * 1024) /* Reserve 512 kB for Monitor */
#define CFG_MALLOC_LEN (256 * 1024) /* Reserve 256 kB for malloc() */
#if 1 //steven
#define CFG_MONITOR_BASE (-CFG_MONITOR_LEN)
#else
#define CFG_MONITOR_BASE TEXT_BASE
#define CFG_SDRAM_BASE 0x00000000 /* _must_ be 0 */
#define CFG_FLASH_BASE 0xfc000000 /* start of FLASH *
...
/*-----------------------------------------------------------------------
* DDR SDRAM
*----------------------------------------------------------------------*/
#undef CONFIG_SPD_EEPROM /* Don't use SPD EEPROM for setup */
#if 0 //steven
#define CFG_KBYTES_SDRAM (128 * 1024) /* 128MB */
#else
#define CFG_KBYTES_SDRAM (64 * 1024) /* 128MB */
#endif
#if 1 //steven
#define CFG_SDRAM_BANKS (2)
#else
#define CFG_SDRAM_BANKS (1)
#endif
define CONFIG_SDRAM_BANK0 1
_________________________________________________________________________________________
The difference of your SDRAM configuration?
>>>
Best Regards.
Steven
-----Original Message-----
From: Stefan Roese [mailto:sr at denx.de]
Sent: Monday, November 03, 2008 4:47 PM
To: u-boot at lists.denx.de; k9 at tibetsystem.com
Subject: Re: [U-Boot] new board SDRAM conf
On Monday 03 November 2008, ??? wrote:
> I?m using ppc440Ep and using u-boot1.3.3
>
> I?m using u-boot1.1.3 with Yosemite configuration.
Please use the latest version from the DENX git repository.
> When I boot with Yosemite conf , it stops SDRAM:256 , it? shows cpu, pci
> conf
So it most likely crashed upon relocation into SDRAM. So its an SDRAM
configuration problem.
> My New Board configuration is only different SDRAM Size and Flash Size.
>
>
> Where can I modify my Yosemite configuration.
>
> Init.S and Yosemite.h
Yosemite uses a board specific SDRAM init routine. I suggest that you use the
common DDR2 init code by enabling it in your board config header
(include/configs/board.h):
#define CONFIG_SDRAM_BANK0 1 /* init onboard DDR SDRAM bank 0*/
You can also define CONFIG_SYS_SDRAM_TABLE if you have an uncommon SDRAM
configuration. What's the difference of your SDRAM configuration?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2008-11-03 9:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 7:14 [U-Boot] new board SDRAM conf 조기성
2008-11-03 7:47 ` Stefan Roese
2008-11-03 9:51 ` 조기성 [this message]
2008-11-03 10:11 ` Stefan Roese
2008-11-03 14:45 ` 조기성
2008-11-03 15:02 ` Stefan Roese
2008-11-04 10:23 ` 조기성
2008-11-04 10:46 ` 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='000801c93d99$bc3413f0$349c3bd0$@com' \
--to=k9@tibetsystem.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox