Tony Breeds 9b09c6d909 powerpc: Change the default link address for pSeries zImage kernels
Currently we set the start of the .text section to be 4Mb for pSeries.
In situations where the zImage is > 8Mb we'll fail to boot (due to
overlapping with OF).  Move .text in a zImage from 4MB to 64MB
(well past OF).

We still will not be able to load large zImage unless we also move OF,
to that end, add a note to the zImage ELF to move OF to 32Mb.  If this
is the very first kernel booted then we'll need to move OF manually by
setting real-base.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-07-01 11:28:32 +10:00
..
2008-01-17 14:57:09 +11:00
2008-06-30 10:16:50 +10:00
2007-09-19 21:13:16 -05:00
2007-06-07 22:21:31 +10:00
2008-06-09 13:42:25 +10:00
2008-04-17 01:01:40 -05:00
2007-12-11 13:46:15 +11:00
2008-06-30 10:16:50 +10:00
2008-04-01 20:43:07 +11:00
2007-09-14 01:33:23 +10:00
2007-09-14 01:33:23 +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