Skip to content

bootwrapper: kexec and external payloads

Milton Miller linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15boot: find initrd location from device-treearch/powerpc/boot/devtree.c arch/powerpc/boot/ops.h arch/powerpc/boot/types.h+69 -05 replies
2/15boot: record header bytes in gunzip_startarch/powerpc/boot/gunzip_util.c+1 -01 reply
3/15boot: simplfy gunzip_finisharch/powerpc/boot/gunzip_util.c+2 -50 replies
4/15bootwrapper: smp support codearch/powerpc/boot/Makefile arch/powerpc/boot/marshal.c arch/powerpc/boot/marshal_low.S +2 more+392 -10 replies
5/15bootwrapper: occuppied memory rangesarch/powerpc/boot/Makefile arch/powerpc/boot/memranges.c arch/powerpc/boot/ops.h+311 -12 replies
6/15bootwrapper: help for 64 bit cpusarch/powerpc/boot/crt0.S+36 -01 reply
7/15bootwrapper: Add kexec callable zImage wrapperarch/powerpc/boot/Makefile arch/powerpc/boot/crt0_kexec.S arch/powerpc/boot/kexec.c +2 more+185 -41 reply
8/15bootwrapper: convert flatdevtree to version 16arch/powerpc/boot/Makefile arch/powerpc/boot/flatdevtree_conv.c arch/powerpc/boot/kexec.c +1 more+285 -19 replies
9/15bootwrapper: rtas supportarch/powerpc/boot/Makefile arch/powerpc/boot/kexec.c arch/powerpc/boot/ops.h +1 more+152 -11 reply
10/15bootwrapper: add cpio file extraction library.arch/powerpc/boot/Makefile arch/powerpc/boot/cpio.c arch/powerpc/boot/cpio.h+320 -20 replies
11/15bootwrapper: allow vmlinuz to be an external payloadarch/powerpc/boot/main.c arch/powerpc/boot/ops.h+16 -30 replies
12/15bootwrapper: kexec extract vmlinux from initramfsarch/powerpc/boot/kexec.c+48 -00 replies
13/15bootwrapper: attach an empty vmlinuxarch/powerpc/boot/Makefile arch/powerpc/boot/wrapper+14 -21 reply
14/15boot: add a hook to start cpusarch/powerpc/boot/kexec.c arch/powerpc/boot/main.c arch/powerpc/boot/ops.h+6 -240 replies
15/15bootwrapper: recheck for command line after fixupsarch/powerpc/boot/main.c+5 -00 replies

Reviews trailers per patch

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

PatchDavid Gibson
1/15A-b
2/15A-b
3/15A-b
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

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/15] bootwrapper: kexec and external payloads

The following series of 15 patches implement

support for 64-bit powerpc zImage to be loaded by kexec-tools
the wrapper uses the same startup interface as the kernel

support for obtaining the kernel externally to the zImage link
including via searching for a path string in initramfs

This is the third round of posting for most of the patches, which have been rebased to apply to for-2.6.24, and I ask they be considered for inclusion therein.

I have ordered the series to apply needed functionality to get usable code for similar enviornments before fleshing out the feature set I am using. If desired I can reorder and rediff as requested. (for example, adding the smp hook could go with the smp marshalling support). The last patch is only needed for the qemu pathes below.

Following the series are an additonal 2 patches to provide experimental platform support for running under qemu with its exiting powerpc prep emulation. One patch provides the support necessary to build the kernel, the second patch provides the wrapper changes and device tree to boot, including bulding a "rom" image. Once the rom is built, it can start a vmlinux elf when loaded into memory by qemu.

Thanks for your consideration,
milton