Skip to content

ppc: Fix relocation

Peter Tyser u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 13 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 13 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/13] ppc: Fix relocation
Quoted 18 lines · Swarthout Edward L-SWARTHOU

From: Edward

Quoted 17 lines

Sent: Thursday, September 24, 2009 11:05 AM
To: Wolfgang Denk; Peter Tyser

With -m relocatable, x86emu crashes because the op codes tables are forced to GOT2 section:

Video: ATI Radeon video card (1002, 5b60) found @(6:0:0)
videoboot: Booting PCI video card bus 6, function 0, dev 0
NIP: 8FFA8120 LR: 3FFB40F8 REGS: 3fe6dbd0 TRAP: 0700 DAR: 0
MSR: 00021200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 8FFA8120 3FE6DCC0 3FE6DF68 0000009A 00000003 00000000
GPR08: 00004000 3FE75800 3F000000 3FE6DCC0 84000024 81C5D766
GPR16: 3FFF92E8 3FFCB384 3FE6DDA8 00000000 00000000 00000000
GPR24: 3FFDA09C 3FFE0544 3FFF9A6C 3FFF9A6C 3FE6DD24 3FFF9A6C ** Illegal Instruction **

Quoted 7 lines
Quoted 4 lines

This patch fixes it:

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/48103

I still get this crash with latest head
(u-boot 2009.08-00338-gcd77dd1).

Thanks Ed,
To clarify, you're saying that the patch linked above just needs to be applied, right? Was there a reason the patch wasn't applied back in 2008?

The change looks good to me for what its worth. Wolfgang or Kumar, could one of you pick it up?

Best,
Peter