Skip to content

boot: cleanup and prep for more platforms

Milton Miller linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7boot: use a common zImage rulearch/powerpc/boot/Makefile+12 -344 replies
2/7boot: rebuild when wrapper changesarch/powerpc/boot/Makefile+2 -12 replies
3/7boot: use FORCEarch/powerpc/boot/Makefile+13 -111 reply
4/7bootwrapper: add a fatal error helperarch/powerpc/boot/gunzip_util.c arch/powerpc/boot/main.c arch/powerpc/boot/of.c +1 more+28 -473 replies
5/7bootwrapper: missing relocation in crt0.Sarch/powerpc/boot/crt0.S+9 -02 replies
6/7bootwrapper: allow platforms to call library zImage_startarch/powerpc/boot/crt0.S+2 -01 reply
7/7boot: export flush_cachearch/powerpc/boot/main.c arch/powerpc/boot/ops.h+1 -31 reply

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchDavid GibsonSegher Boessenkool
1/7
2/7A-b A-b
3/7
4/7
5/7
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] boot: cleanup and prep for more platforms

What follows are the first 7 of my 13 patch series working on a zImage that kexec will boot to, at least on 64 bit boxes.

The first one makes the Makefile maintainable, the second and third make the Makefile work correctly. The forth is a cleanup for a common idiom, the fifth adds some missing relocations, and the sixth and seventh allow other code to reuse the existing functions after necessary setup.

All have been compile and link tested, and were created against a 2.6.20 tree + the 20 patches I found related to the boot directory in powerpc.git + patchwork numbers 10010 and 10012 (which seemed to be moving that direction). I have included additional notes in some of the patches with the testing. I think all could be applied to for-2.6.22.

The last 4, that I am not posting at this time, build upon these to create a zImage for use by 64-bit kexec, add a sreset based derivative target, and allow for disjoint vmlinuz payloads. I hope to be able to find time in the near future to debug and post them.

milton

boot-zImage-rule
boot-add-wrapper-to-wrapperbits
boot-add-FORCE
boot-add-fatal
boot-crt0-missing-reloc
boot-crt0-export
boot-export-flush-cache