]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Change the default link address for pSeries zImage kernels
authorTony Breeds <tony@bakeyournoodle.com>
Tue, 24 Jun 2008 04:20:29 +0000 (14:20 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:32 +0000 (11:28 +1000)
commit9b09c6d909dfd8de96b99b9b9c808b94b0a71614
tree0796f29964a133130ed39584000b2108497f3d65
parentc230328def963373ec474056f372e1918692c3c8
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>
arch/powerpc/boot/addnote.c
arch/powerpc/boot/oflib.c
arch/powerpc/boot/wrapper
arch/powerpc/boot/zImage.coff.lds.S
arch/powerpc/boot/zImage.lds.S