DEBUG_INFO

Anton Blanchard anton at samba.org
Sun Sep 12 12:28:31 EST 2004


Hi,

# grep DEBUG_INFO .config
CONFIG_DEBUG_INFO=y

# ls -l vmlinux arch/ppc64/boot/zImage
-rwxr-xr-x  1 anton anton 18428775 Sep 12 11:38 arch/ppc64/boot/zImage
-rwxr-xr-x  1 anton anton 39353167 Sep 12 11:37 vmlinux

We should at least strip the vmlinux we stuff into zImage, an 18MB
zImage is pretty obnoxious and it fails to load over the network on my
270:

BOOTP S = 1
FILE: zImage.congo
Load Addr=0x4000 Max Size=0xbfc000
FINAL File Size = 12566528 bytes.


        !20EE000B !

Does anyone with special Makefile powers want to have a go at fixing
this? Bonus points for converting zlib stuff to the generic /lib stuff
like Tom Rini did on ppc32 :)

It looks like yaboot can load a 40MB vmlinux OK, so Id prefer to leave
the vmlinux unstripped (so people can use gdb against it, addr2line
etc).

Anton



More information about the Linuxppc64-dev mailing list