Timur,

I did define  #define CFG_DDR_SDRAM_CLK_CNTL                 (DDR_SDRAM_CLK_CNTL_SS_EN | \
                                                                   DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)

in my code, it doesn't work.  What I don't understand is that we can boot up the system using this particular memory but we could not tftp. Is there any burst mode I can set?  Thanks,

Best Regards
dongy

 


Timur Tabi <timur@freescale.com>

05/08/2007 08:14 AM

       
        To:        Dongying_Xu@us.alphanetworks.com
        cc:        u-boot-users@lists.sourceforge.net
        Subject:        Re: [U-Boot-Users] tftp alignment exception



Dongying_Xu@us.alphanetworks.com wrote:
>
> Hi Timur,
> Sorry, I haven't read your email until today.  The command I used is
>
> tftp 4000000 file_name
>
> I met this problem only when I used one particular brand memory, when
> tftp, it is very slow and sometime it time-out, sometimes it throws
> exception. When I change to other brand DDR2 memory, it works fine.  I
> want to know is this a memory problem or setting problem or boot code
> problem?  By the way, I used spd setting and manual setting, Both don't
> work.  Thanks

Try adding this to your board config file:

#define CFG_DDR_SDRAM_CLK_CNTL                 (DDR_SDRAM_CLK_CNTL_SS_EN | \
                                                                   DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)

On some 834x systems, CFG_DDR_SDRAM_CLK_CNTL needs to be defined but the header files
don't define it.

--
Timur Tabi
Linux Kernel Developer @ Freescale