From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 28 Oct 2009 06:56:41 +0200 Subject: [U-Boot] Flashing PPC440gx Using BDI3000 In-Reply-To: <20759a560910271721wea72f18uc58b0c8db113dab9@mail.gmail.com> References: <20759a560910271721wea72f18uc58b0c8db113dab9@mail.gmail.com> Message-ID: <200910280556.41347.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > 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