[PATCH 0/13] ppc64 boot: use in-kernel zlib, make zImage header relocateable, misc fixes

Olaf Hering olh at suse.de
Mon Oct 10 04:19:31 EST 2005



The following series of patches improves the zImage header on ppc64.
Similar code is used in openSuSE since a while and works well, on 32bit
and 64bit systems.

Two patches touch generic code, they are required to simplify the copying
of lib/zlib_inflate. Since the bootheader is 32bit and include/asm points
to 64bit headers, the source files cant be used as is.

I have tested the resulting zImage on a 44p 270, with stock yaboot 1.3.13.


 arch/ppc64/boot/Makefile   |   67 -
 arch/ppc64/boot/crt0.S     |   52 -
 arch/ppc64/boot/main.c     |  264 ++---
 arch/ppc64/boot/string.S   |    4 
 arch/ppc64/boot/string.h   |    1 
 arch/ppc64/boot/zImage.lds |   64 -
 arch/ppc64/boot/zlib.c     | 2195 ---------------------------------------------
 arch/ppc64/boot/zlib.h     |  432 --------
 include/linux/zutil.h      |    1 
 lib/zlib_inflate/inflate.c |    1 
 10 files changed, 191 insertions(+), 2890 deletions(-)




More information about the Linuxppc64-dev mailing list