From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kristoffer Ericson Date: Tue, 8 Jun 2010 19:34:14 +0200 Subject: [U-Boot] Problems flashing kernel In-Reply-To: <4C0E5B31.3010903@denx.de> References: <20100608124034.GA2890@boggieman> <4C0E4028.8030305@denx.de> <20100608132128.GA28991@boggieman> <4C0E5433.4050704@denx.de> <20100608144144.GB28991@boggieman> <4C0E5B31.3010903@denx.de> Message-ID: <20100608173414.GD28991@boggieman> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 08, 2010 at 05:01:05PM +0200, Stefano Babic wrote: > Kristoffer Ericson wrote: > > > It worked earlier for unknown reasons, but no longer does. It has > > only worked once. Erasing all the flash (aside from first 512kb) > > works without any error messages, but when trying to flash it still > > insists that the flash is not erased. Looking with md also seems to > > confirm that (data found). > > Maybe it has nothing with your problem, but because you have Intel flash > it could be possible you need to send the Unlock sequence. Have you > tried setting CONFIG_SYS_FLASH_PROTECTION ? I noticed something atleast inside the old bootloader (blob) and also the kernel. It seems to add enable/disable routines for the flash by setting PPSR |= PPC_LDD7 (on), PPSR &= ~PPC_LDD7 (off). > > Best regards, > Stefano Babic > > -- > ===================================================================== > 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 > =====================================================================