[U-Boot] Flashing PPC440gx Using BDI3000

Stefan Roese sr at denx.de
Wed Oct 28 05:56:41 CET 2009


Hi Kyle,

On Wednesday 28 October 2009 01:21:21 Kyle Smith wrote:
> I realize this isn't a BDI3000 mailing list but I was hoping to get some
> input on my problem. I am trying to program u-boot onto the flash
> (S29GL512N) of a ppc440gx target using a BDI3000 but I am getting some
>  weird behavior.
> 
> With my current BDI3000 (firmware v1.18) configuration (using SDRAM as the
> BDI workspace) the first program attempt always fails. Successive attempts
> after the failed one will work.

<snip>

> One interesting thing is when I dump the failed programming attempt and
>  diff it's contents versus my u-boot image it's only the first 512 bytes
>  that are incorrect. Within the 512 bytes I can partially see the contents
>  of the image with some of the data corrupted.
> 
> Another characteristic of my problem is I can program the flash if I allow
> u-boot to configure the board.

This sounds like a memory configuration in your BDI script for me. I suggest 
you check again the SDRAM controller parameters against the ones configured in 
U-Boot.
 
Cheers,
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


More information about the U-Boot mailing list