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 27 lines · Wolfgang Denk

Dear Peter Tyser,

Quoted 9 lines · In message <[email protected]> you wrote:

This series attempts to fix relocation to RAM for ppc boards.

I split the patches up pretty liberally, let me know if you'd like them organized differently.

I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)

Quoted 14 lines

Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Remove board.c relocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Remove reloc_off field from global_data structure

Quoted 7 lines

All patches applied to "reloc" branch. Thanks for all this work.

So far the only issue I've seen (I didn't do any actual testing yet, though) is the missing increment to the XF_VERSION value to indicate incompatibility with older standalone applications. If you agree, I woul like to squash this into the topmost commit on the "reloc" branch?

That sounds good to me. 2 additional comments:
1. Might be nice to move the jumptable to the beginning of the global_data struct when we increment XF_VERSION.

2. Depending on when you merge the reloc branch, it would be nice for people to give the patch in "[PATCH/RFC] arm/microblaze/nios/nios2/sh:
Remove relocation fixups" a try. It should reduce the bloat on some other arches and will put pressure on other, non-relocatable arches to fix relocation:)

Best,
Peter