[U-Boot] [PATCH] mpc85xx, mpc86xx: Fix gd->cpu pointer after relocation

Swarthout Edward L-SWARTHOU SWARTHOU at freescale.com
Tue Dec 15 21:58:24 CET 2009


From: Kumar Gala [mailto:galak at kernel.crashing.org] 
> On Dec 15, 2009, at 12:10 PM, Peter Tyser wrote:
> 
> > The gd->cpu pointer is set to an address located in flash when the
> > probecpu() function is called while U-Boot is executing from flash.
> > This pointer needs to be updated to point to an address in 
> > RAM after relocation has occurred otherwise Linux may not be able
> > to boot due to "fdt board" crashing if flash has been erased or
> > changed.
> > 
> > This bug was introduced in commit
> > a0e2066f392782730f0398095e583c87812d97f2.
> > 
> > Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> > Reported-by: Ed Swarthout <Ed.Swarthout at freescale.com>
> 
> Tested-by: Kumar Gala <galak at kernel.crashing.org>

Tested on MPC8527DS.

Tested by: Ed Swarthout <Ed.Swarthout at freescale.com>


More information about the U-Boot mailing list