linux-stable-rt/arch/ppc64/boot
Olaf Hering decd300b30 [PATCH] ppc64: make arch/ppc64/boot standalone
Make the bootheader for ppc64 independent from kernel and libc headers.
* add -nostdinc -isystem $gccincludes to not include libc headers
* declare all functions in header files, also the stuff from string.S
* declare some functions static
* use stddef.h to get size_t (hopefully ok)
* remove ppc32-types.h, only elf.h used the __NN types

With further modifications by Paul Mackerras and Stephen Rothwell.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-08-29 10:53:31 +10:00
..
Makefile [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
README
addRamDisk.c
addnote.c [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
crt0.S [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +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
main.c [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +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
stdio.h [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
string.S [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
string.h [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
zImage.lds
zlib.c [PATCH] ppc64: make arch/ppc64/boot standalone 2005-08-29 10:53:31 +10:00
zlib.h

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