[U-Boot] ppc4xx:tftp error

Wolfgang Denk
2010-10-13T07:47:42Z

Dear Tim Rachman,

In message <226436.29026.qm@web120302.mail.ne1.yahoo.com> you wrote:
>
> I have a problem in tftp on a custom board using ppc440EP processor.
> U-boot-2009-11 has been ported on it, using amcc/bamboo BSP as base.

Why are you using such old code, instead of a recent version?

And why the Bamboo board instead of the more recent Yosemite design?

> When i get a sample file using tftp command, some bytes has changed . I changed
> my tftp server, and fully tested ddr sdram. They were OK. So i tested the u-boot
> tftp client.

What do you mean by "fully tested ddr sdram" ? WHich tools did you
use? Did you read the FAQ?

> I monitored *(hw_p->rx[user_index].data_ptr) data in ppc_4xx_eth_rx() function
> in \driver\net\4xx_enet.c , and data was incorrect too at this stage.
>
> Do you have any suggestion about next step of debugging and the error source?

Most likely your RAM initialization is not correct, and you are seeing
memory errors in burst mode (when DMAing the network packets). Note
that the normal memory test routines cannot test burst mode accesses.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You're too beautiful to ignore. Too much woman.
-- Kirk to Yeoman Rand, "The Enemy Within", stardate unknown