[U-Boot] Problems flashing kernel

Kristoffer Ericson
2010-06-08T17:34:14Z

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).