From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 8 Apr 2008 10:58:31 +0200 Subject: [U-Boot-Users] [PATCH] Make MPC83xx one step closer to full relocation. In-Reply-To: <014b01c8912e$05069620$0f13c260$@Tjernlund@transmode.se> References: <1206715285-10532-1-git-send-email-Joakim.Tjernlund@transmode.se> <20080328183303.3f513479.kim.phillips@freescale.com> <014b01c8912e$05069620$0f13c260$@Tjernlund@transmode.se> Message-ID: <200804081058.31982.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Joakim, On Saturday 29 March 2008, Joakim Tjernlund wrote: > > Joakim Tjernlund 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(-) > > 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 =====================================================================