linux-stable-rt/arch/ppc64/boot
Benjamin Herrenschmidt c8e3c8b21b [PATCH] ppc64: Fix zImage boot
The zImage wrapper has a bug where it doesn't claim() the memory for the
kernel properly, it forgets to take into account the offset between the ELF
header and the kernel itself.  This results on some machines, like G5s,
into a kernel that crashes at boot when clearing the BSS.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:23 -08:00
..
Makefile [PATCH] ppc64 boot: proof that reloc works 2005-10-29 15:11:00 +10:00
README
addRamDisk.c
addnote.c
crt0.S [PATCH] ppc64 boot: print firmware provided stackpointer 2005-10-29 15:11:35 +10:00
div64.S
elf.h
install.sh [PATCH] ppc64: change name of target file during make install 2005-10-29 15:20:27 +10:00
main.c [PATCH] ppc64: Fix zImage boot 2005-11-07 07:53:23 -08:00
page.h
ppc_asm.h
prom.c
prom.h
stdio.h
string.S [PATCH] ppc64 boot: fix typo in asm comments 2005-10-29 15:07:50 +10:00
string.h
zImage.lds [PATCH] ppc64 boot: proof that reloc works 2005-10-29 15:11:00 +10: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