kernel-ark/arch/powerpc/boot
Benjamin Herrenschmidt 54c9941288 [POWERPC] Fix zImage.coff on oldworld PowerMac
Recent changes to the PowerPC zImage wrapper broke zImage.coff due to
the addition of new ELF sections that aren't very well converted to
xcoff and not supported by old OpenFirmware. This fixes it by putting
those sections in the xcoff .data.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-04 14:52:27 +10:00
..
dts POWERPC: Bring the fs_no calculation to the relevant SoC enumeration 2006-09-21 22:38:05 +04:00
.gitignore
addnote.c
addRamDisk.c
crt0.S [PATCH] powerpc: correct cacheflush loop in zImage 2006-03-16 16:54:57 +11:00
div64.S
dummy.c powerpc/32: Generate miboot images with ARCH=powerpc 2006-01-15 13:00:08 +11:00
elf.h
flatdevtree.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
hack-coff.c
install.sh [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
main.c [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00
of.c [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
ops.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
page.h
ppc_asm.h
README
rs6000.h
stdio.c [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
stdio.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
string.h
string.S powerpc: Avoid unaligned loads and stores in boot memcpy code 2006-01-14 15:06:51 +11:00
types.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
wrapper [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00
zImage.coff.lds.S [POWERPC] Fix zImage.coff on oldworld PowerMac 2006-10-04 14:52:27 +10:00
zImage.lds.S [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +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