[U-Boot-Users] [PATCH] Make MPC83xx one step closer to full relocation.

Stefan Roese sr at denx.de
Tue Apr 8 10:58:31 CEST 2008


Hi Joakim,

On Saturday 29 March 2008, Joakim Tjernlund wrote:
> > Joakim Tjernlund <Joakim.Tjernlund at transmode.se> wrote:
> > > Remove a few absolute references to CFG_MONITOR_BASE for ppc/mpc83xx
> > > and use GOT relative reference.
> > > ---
> > >  cpu/mpc83xx/start.S |   11 +++++++----
> > >  lib_ppc/board.c     |    3 ++-
> > >  2 files changed, 9 insertions(+), 5 deletions(-)

<snip>

> > btw, shouldn't it fix up the other ppc start.S files?
>
> The other ppc's won't break and I only got a 83xx, hence I only did
> it for 83xx, hoping it would serve as a guide for the rest.

I'm afraid, but the "other ppc's" did break with this patch. At least 4xx 
does. With your patch applied relocation to SDRAM does not work anymore. 
Here's what I get:

CFG_MONITOR_BASE=fffa0000
(ulong)&_start + EXC_OFF_SYS_RESET=fffa2200
EXC_OFF_SYS_RESET=100

I haven't looked into it closer yet. Any idea on how to fix this? 

Thanks.

Best regards,
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
=====================================================================




More information about the U-Boot mailing list