kernel_optimize_test/arch/powerpc/boot
David Gibson 6c5b59b913 powerpc/boot: Add an ePAPR compliant boot wrapper
This is a first cut at making bootwrapper code which will
produce a zImage compliant with the requirements set down
by ePAPR.

This is a very simple bootwrapper, taking the device tree
blob supplied by the ePAPR boot program and passing it on
to the kernel. It builds on the earlier patch to build a
relocatable ET_DYN zImage to meet the other ePAPR image
requirements.

For good measure we have some paranoid checks which will
generate warnings if some of the ePAPR entry condition
guarantees are not met.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-04-20 16:59:21 +10:00
..
dtc-src
dts powerpc/85xx: Update dts for PCIe memory maps to match u-boot of Px020RDB 2011-04-04 09:30:40 -05:00
.gitignore
4xx.c
4xx.h
44x.h
addnote.c
bamboo.c
cpm-serial.c
crt0.S powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN 2011-04-20 16:59:20 +10:00
crtsavres.S
cuboot-8xx.c
cuboot-52xx.c
cuboot-83xx.c
cuboot-85xx-cpm2.c
cuboot-85xx.c
cuboot-824x.c
cuboot-acadia.c
cuboot-amigaone.c
cuboot-bamboo.c
cuboot-c2k.c
cuboot-ebony.c
cuboot-hotfoot.c
cuboot-katmai.c
cuboot-kilauea.c
cuboot-mpc7448hpc2.c
cuboot-pq2.c
cuboot-rainier.c
cuboot-sam440ep.c
cuboot-sequoia.c
cuboot-taishan.c
cuboot-warp.c
cuboot-yosemite.c
cuboot.c
cuboot.h
dcr.h
devtree.c
div64.S
dummy.c
ebony.c
elf_util.c
elf.h
ep88xc.c
ep405.c
ep8248e.c
epapr.c powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
fixed-head.S
flatdevtree_env.h
fsl-soc.c
fsl-soc.h
gamecube-head.S
gamecube.c
gunzip_util.c
gunzip_util.h
hack-coff.c
holly.c
install.sh
io.h
libfdt_env.h
libfdt-wrapper.c
main.c
Makefile powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
mktree.c
mpc8xx.c
mpc8xx.h
mpc52xx-psc.c
mpsc.c
mv64x60_i2c.c
mv64x60.c
mv64x60.h
ns16550.c
of.c
of.h
ofconsole.c
oflib.c
ops.h
page.h
planetcore.c
planetcore.h
ppc_asm.h
ppcboot-hotfoot.h
ppcboot.h
pq2.c
pq2.h
prpmc2800.c
ps3-head.S
ps3-hvcall.S
ps3.c
README
redboot-8xx.c
redboot-83xx.c
redboot.h
reg.h
rs6000.h
serial.c
simple_alloc.c
simpleboot.c
stdio.c
stdio.h
stdlib.c
stdlib.h
string.h
string.S
treeboot-bamboo.c
treeboot-ebony.c
treeboot-iss4xx.c
treeboot-walnut.c
types.h
uartlite.c
ugecon.c
ugecon.h
util.S
virtex405-head.S
virtex.c
wii-head.S
wii.c
wrapper powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
zImage.coff.lds.S powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN 2011-04-20 16:59:20 +10:00
zImage.lds.S powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN 2011-04-20 16:59:20 +10:00
zImage.ps3.lds.S

To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary:

objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz
objcopy -j .kernel:System.map -O binary zImage System.map.gz
objcopy -j .kernel:.config -O binary zImage config.gz
objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz


	Peter