android_kernel_samsung_msm8976/arch/powerpc/boot
Mark A. Greer a00cec48cc [POWERPC] When appropriate, wrap device tree with zImage
There are 2 config options that indicate whether the platform being built
has a device tree source file associated with it.  Namely,
CONFIG_WANT_DEVICE_TREE and CONFIG_DEVICE_TREE.  When CONFIG_WANT_DEVICE_TREE
is 'y' and CONFIG_DEVICE_TREE isn't an empty string, automatically wrap
the specified device tree with the zImage being built.

To achieve this, the 'dts' variable will only be set when the conditions
above are true.  The changes to the zImage.initrd.% and zImage.% rules
cause the device tree to be wrapped when 'dts' is set; otherwise, they
will work as they previosly did (i.e., build a zImage with no device tree).

Signed-off-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-06-25 17:00:09 +10:00
..
dts [POWERPC] Fix problems with device tree representation of TSI-1xx bridges 2007-06-14 22:30:17 +10:00
.gitignore [POWERPC] bootwrapper: Add a cuboot platform and a cuImage target 2007-04-24 21:31:54 +10:00
44x.c [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
44x.h [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
addnote.c powerpc: Move ppc64 boot wrapper code over to arch/powerpc 2005-11-16 13:52:21 +11:00
addRamDisk.c powerpc: Move ppc64 boot wrapper code over to arch/powerpc 2005-11-16 13:52:21 +11:00
crt0.S [POWERPC] Fix building of COFF zImages 2007-06-07 22:21:31 +10:00
cuboot-83xx.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot-85xx.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot-ebony.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot.h [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
dcr.h [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
devtree.c [POWERPC] Add dt_xlate_addr() to bootwrapper 2007-04-30 11:02:05 +10:00
div64.S powerpc: Move ppc64 boot wrapper code over to arch/powerpc 2005-11-16 13:52:21 +11:00
dummy.c powerpc/32: Generate miboot images with ARCH=powerpc 2006-01-15 13:00:08 +11:00
ebony.c [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
elf.h [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
elf_util.c [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
flatdevtree.c [POWERPC] Fix bug adding properties with flatdevtree.c's ft_set_prop() 2007-05-17 21:11:13 +10: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 [POWERPC] Add flatdevtree source 2006-10-23 12:49:18 +10:00
flatdevtree_misc.c [POWERPC] bootwrapper: Add dt_ops methods. 2007-03-21 22:35:21 +11:00
gunzip_util.c [POWERPC] boot: More verbose gunzip error message 2007-04-27 21:13:49 +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 powerpc: Make COFF zImages for old 32-bit powermacs 2006-01-14 15:04:06 +11:00
holly.c [POWERPC] Holly bootwrapper 2007-05-08 11:54:21 +10:00
install.sh [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
io.h [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
main.c [POWERPC] bootwrapper: Decompress less, check more 2007-04-13 03:55:17 +10:00
Makefile [POWERPC] When appropriate, wrap device tree with zImage 2007-06-25 17:00:09 +10:00
mktree.c [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
mpsc.c [POWERPC] Add bootwrapper support for Marvell MPSC 2007-05-12 11:32:49 +10:00
mv64x60.c [POWERPC] Add bootwrapper support for Marvell/mv64x60 hostbridge 2007-05-12 11:32:49 +10:00
mv64x60.h [POWERPC] Add bootwrapper support for Marvell/mv64x60 hostbridge 2007-05-12 11:32:49 +10:00
mv64x60_i2c.c [POWERPC] Add bootwrapper support for Marvell/mv64x60 I2C 2007-05-12 11:32:49 +10:00
ns16550.c [POWERPC] bootwrapper: Add dt_xlate_reg(), and use it to find serial registers. 2007-04-13 03:55:15 +10:00
of.c [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
of.h [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
ofconsole.c [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
oflib.c [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
ops.h [POWERPC] Add bootwrapper support for Marvell MPSC 2007-05-12 11:32:49 +10:00
page.h powerpc: Move ppc64 boot wrapper code over to arch/powerpc 2005-11-16 13:52:21 +11:00
ppc_asm.h powerpc: Move ppc64 boot wrapper code over to arch/powerpc 2005-11-16 13:52:21 +11:00
ppcboot.h [POWERPC] bootwrapper: Add ppcboot.h 2007-04-24 21:31:55 +10:00
prpmc2800.c [POWERPC] Add bootwrapper support for Motorola PrPMC2800 platform 2007-05-12 11:32:50 +10:00
README powerpc: Move ppc64 boot wrapper code over to arch/powerpc 2005-11-16 13:52:21 +11:00
reg.h [POWERPC] New reg.h for the zImage 2007-03-26 15:11:20 +10:00
rs6000.h powerpc: Make COFF zImages for old 32-bit powermacs 2006-01-14 15:04:06 +11:00
serial.c [POWERPC] Add bootwrapper support for Marvell MPSC 2007-05-12 11:32:49 +10:00
simple_alloc.c [POWERPC] bootwrapper: Use `unsigned long' for malloc sizes 2007-04-24 22:06:54 +10:00
stdio.c [POWERPC] More bootwrapper reorganization 2006-10-18 15:50:18 +10:00
stdio.h [POWERPC] Add gcc format warnings to zImage printf() 2007-03-26 15:11:20 +10:00
string.h powerpc: Move ppc64 boot wrapper code over to arch/powerpc 2005-11-16 13:52:21 +11:00
string.S powerpc: Avoid unaligned loads and stores in boot memcpy code 2006-01-14 15:06:51 +11:00
treeboot-ebony.c [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
types.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
util.S [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
wrapper [POWERPC] Fix zImage.coff generation for 32-bit pmac 2007-06-02 22:26:22 +10: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