original_kernel/arch/powerpc/boot
Milton Miller 9da82a6dee [POWERPC] boot: Use a common zImage rule
Before the plethora of platforms gets any worse, establish a common
rule to invoke the wrapper for any platform.  Add arguments to
the rule for initrd, dts, dtb, etc.   Show example usage with initrd.

Create default rules for zImage, and zImage.initrd.  initrd targets
depend on the ramdisk file.

Don't consider targets for zImage.initrd that are targets for zImage.
This means uImage is no longer considered a target for zImage.initrd.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-26 15:11:20 +10:00
..
dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
.gitignore
Makefile [POWERPC] boot: Use a common zImage rule 2007-03-26 15:11:20 +10:00
README
addRamDisk.c
addnote.c
crt0.S [POWERPC] bootwrapper: Allow platforms to call library zImage_start 2007-03-26 15:11:20 +10:00
div64.S
dummy.c
elf.h
flatdevtree.c [POWERPC] bootwrapper: Make ft_create_node() pay attention to the parent parameter. 2007-03-16 15:49:15 +11:00
flatdevtree.h [POWERPC] bootwrapper: Make ft_create_node() pay attention to the parent parameter. 2007-03-16 15:49:15 +11:00
flatdevtree_env.h
flatdevtree_misc.c [POWERPC] bootwrapper: Add dt_ops methods. 2007-03-21 22:35:21 +11:00
gunzip_util.c [POWERPC] bootwrapper: Add a fatal error helper 2007-03-26 15:11:20 +10:00
gunzip_util.h [POWERPC] Add documentation for the zImage's gunzip convenience functions 2007-03-16 16:38:19 +11:00
hack-coff.c
install.sh
io.h
main.c [POWERPC] bootwrapper: Add a fatal error helper 2007-03-26 15:11:20 +10:00
mktree.c
ns16550.c
of.c [POWERPC] bootwrapper: Add a fatal error helper 2007-03-26 15:11:20 +10:00
ops.h [POWERPC] bootwrapper: Add a fatal error helper 2007-03-26 15:11:20 +10:00
page.h
ppc_asm.h
rs6000.h
serial.c
simple_alloc.c
stdio.c
stdio.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
string.S
string.h
types.h
util.S
wrapper [POWERPC] bootwrapper: Make compression of the kernel image optional. 2007-03-21 22:35:21 +11:00
zImage.coff.lds.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
zImage.lds.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00

README

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