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:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2008 4:47 PM
To: u-boot@lists.denx.de; [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
=====================================================================

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to