android_kernel_xiaomi_sm8350/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
..
addnote.c [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
addRamDisk.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crt0.S [PATCH] ppc64 boot: print firmware provided stackpointer 2005-10-29 15:11:35 +10:00
div64.S [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
elf.h [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
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
Makefile [PATCH] ppc64 boot: proof that reloc works 2005-10-29 15:11:00 +10:00
page.h [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
ppc_asm.h [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
prom.c [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
prom.h [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stdio.h [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
string.h [PATCH] ppc64 boot: missing include for size_t 2005-10-29 15:04:21 +10:00
string.S [PATCH] ppc64 boot: fix typo in asm comments 2005-10-29 15:07:50 +10:00
zImage.lds [PATCH] ppc64 boot: proof that reloc works 2005-10-29 15:11:00 +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