On Dec 15, 2009, at 1:07 AM, Ed Swarthout wrote: > The following debug patch shows that gd->cpu is not being relocated to > ddr. Linux may not be able to boot due to "fdt board" crashing if > flash has been erased or changed. > > On mpc8572ds: > > => fdt board > fdt board > cpu_numcores gd=3fe6df68 cpu=effed578 n=2 > cpu_numcores gd=3fe6df68 cpu=effed578 n=2 > cpu_numcores gd=3fe6df68 cpu=effed578 n=2 > cpu_numcores gd=3fe6df68 cpu=effed578 n=2 > > Signed-off-by: Ed Swarthout <ed.swarth...@freescale.com> > --- > cpu/mpc8xxx/cpu.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-)
I agree w/Ed that we broke the relocation of gd->cpu with commit: commit a0e2066f392782730f0398095e583c87812d97f2 Author: Peter Tyser <pty...@xes-inc.com> Date: Mon Sep 21 11:20:27 2009 -0500 ppc: Remove board.c relocation fixups Signed-off-by: Peter Tyser <pty...@xes-inc.com> ... -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) - gd->cpu += gd->reloc_off; -#endif Peter, Joakim, any suggestions on how to properly fix this? - k _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot