linux/arch/powerpc/boot
Milton Miller e47654d016 [POWERPC] boot: Record header bytes in gunzip_start
Record the number of header bytes skipped in the total bytes read field.

This is needed for the initramfs parsing code to find the end of the zip file.

Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-10-03 11:48:43 +10:00
..
dts [POWERPC] mpc8349: Add linux,network-index to ethernet nodes in device tree 2007-09-22 14:49:22 +10:00
.gitignore [POWERPC] bootwrapper: Update .gitignore 2007-08-22 15:21:47 +10:00
4xx.c [POWERPC] PowerPC 440EPx: Sequoia bootwrapper 2007-09-07 07:49:28 -05:00
4xx.h [POWERPC] PowerPC 440EPx: Sequoia bootwrapper 2007-09-07 07:49:28 -05:00
44x.h [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05: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
bamboo.c [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
cpm-serial.c [POWERPC] bootwrapper: Add CPM serial driver 2007-08-22 15:26:20 +10:00
crt0.S [POWERPC] Fix building of COFF zImages 2007-06-07 22:21:31 +10:00
cuboot-8xx.c [POWERPC] bootwrapper: Add 8xx cuboot support 2007-08-22 15:28:59 +10:00
cuboot-52xx.c [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
cuboot-83xx.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot-85xx.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot-bamboo.c [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
cuboot-ebony.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot-pq2.c [POWERPC] bootwrapper: Add PowerQUICC II (82xx with CPM) cuboot support 2007-08-22 15:37:09 +10:00
cuboot-sequoia.c [POWERPC] PowerPC 440EPx: Sequoia bootwrapper 2007-09-07 07:49:28 -05:00
cuboot.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot.h [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
dcr.h [POWERPC] Walnut zImage wrapper 2007-09-07 07:51:44 -05:00
devtree.c [POWERPC] bootwrapper: Only print MAC addresses when the node is actually present 2007-09-14 01:33:23 +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] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
elf_util.c [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
elf.h [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
flatdevtree_env.h [POWERPC] Move bootwrapper's strchr() and strncmp() from .h to string.S 2007-09-14 01:33:19 +10:00
flatdevtree_misc.c [POWERPC] bootwrapper: Add get_path() 2007-09-14 01:33:23 +10:00
flatdevtree.c [POWERPC] bootwrapper: Add get_path() 2007-09-14 01:33:23 +10:00
flatdevtree.h [POWERPC] bootwrapper: Add get_path() 2007-09-14 01:33:23 +10:00
gunzip_util.c [POWERPC] boot: Record header bytes in gunzip_start 2007-10-03 11:48:43 +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] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +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] bootwrapper: Add 16-bit I/O, sync(), eieio(), and barrier() 2007-08-22 15:21:48 +10:00
main.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
Makefile [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
mktree.c [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
mpc52xx-psc.c [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
mpsc.c [POWERPC] bootwrapper: Declare udelay() in ops.h 2007-08-22 15:21:49 +10:00
mv64x60_i2c.c [POWERPC] bootwrapper: Declare udelay() in ops.h 2007-08-22 15:21: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
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] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
of.h [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
ofconsole.c [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
oflib.c [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
ops.h [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +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 TARGET_HAS_ETHn tests to ppcboot.h 2007-08-22 15:21:48 +10:00
prpmc2800.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
ps3-head.S PS3: Fix build with 32-bit toolchains 2007-07-21 17:49:16 -07:00
ps3-hvcall.S PS3: Fix build with 32-bit toolchains 2007-07-21 17:49:16 -07:00
ps3.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +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] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
simple_alloc.c [POWERPC] bootwrapper: Use `unsigned long' for malloc sizes 2007-04-24 22:06:54 +10:00
stdio.c [POWERPC] Add u64 printf to bootwrapper 2007-06-28 19:16:48 +10:00
stdio.h [POWERPC] Add gcc format warnings to zImage printf() 2007-03-26 15:11:20 +10:00
stdlib.c [POWERPC] bootwrapper: Add strtoull() 2007-09-14 01:33:23 +10:00
stdlib.h [POWERPC] bootwrapper: Add strtoull() 2007-09-14 01:33:23 +10:00
string.h [POWERPC] Move bootwrapper's strchr() and strncmp() from .h to string.S 2007-09-14 01:33:19 +10:00
string.S [POWERPC] Move bootwrapper's strchr() and strncmp() from .h to string.S 2007-09-14 01:33:19 +10:00
treeboot-bamboo.c [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
treeboot-ebony.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
treeboot-walnut.c [POWERPC] Walnut zImage wrapper 2007-09-07 07:51:44 -05:00
types.h [POWERPC] Add signed types to bootwrapper 2007-06-28 19:16:47 +10:00
util.S [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
wrapper [POWERPC] PS3: Bootwrapper support. 2007-07-10 21:56:40 +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
zImage.ps3.lds.S [POWERPC] PS3: Bootwrapper support. 2007-07-10 21:56:40 +10: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