linux-hardened/arch/powerpc/boot
Scott Wood 7c71c04625 [POWERPC] bootwrapper: Add ft_root_node().
Clean up some of the open-coded data structure references by providing a
function to return a pointer to the tree's root node.  This is only used
in high-level functions trying to access the root of the tree, not in
low-level code that is actually manipulating the data structure.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-13 21:15:44 +11:00
..
dts
.gitignore
addnote.c
addRamDisk.c
crt0.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
div64.S
dummy.c
elf.h
flatdevtree.c [POWERPC] bootwrapper: Add ft_root_node(). 2007-03-13 21:15:44 +11:00
flatdevtree.h
flatdevtree_env.h
flatdevtree_misc.c
gunzip_util.c
gunzip_util.h
hack-coff.c
install.sh
io.h
main.c [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
Makefile [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
mktree.c
ns16550.c
of.c [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
ops.h [POWERPC] bootwrapper: Add stddef.h to ops.h 2007-03-13 21:15:42 +11:00
page.h
ppc_asm.h
README
rs6000.h
serial.c
simple_alloc.c
stdio.c
stdio.h
string.h
string.S
types.h
util.S
wrapper [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +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

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