]> git.ozlabs.org Git - tonyb-yaboot.git/commit
On some of the larger kernels we are starting to see a space squeeze.
authorPaul Nasrat <pnasrat@redhat.com>
Fri, 17 Aug 2007 14:22:00 +0000 (15:22 +0100)
committerPaul Nasrat <pauln@enki.eridu>
Fri, 17 Aug 2007 14:22:00 +0000 (15:22 +0100)
commit58838f4a6973c60dc1b764fba20682ce07bb6c96
tree1092defe390b594978a9a368ac77aab7bdb13b68
parent1bea6140c2894b1259fd07f323b25fd846bd5acf
On some of the larger kernels we are starting to see a space squeeze.
The kernel is currently being put at 20MBs and on some of the newer
pSeries systems we are getting real-bases at 32MBs (plus AIX 5.3 has
real-base at 32MB, so if AIX is ever booted, everything gets shifted).

If the uncompressed kernel+initrd is larger than 12MBs then we see
truncation (typical on install kernels).

This patch moves the KERNELADDR to 0x00C00000 (12MB).  If real-base is
12MB and is loaed there, yaboot will keep going up by a megabyte until
prom_claim finds space.  And the uncompressed kernel should be
indifferent where it's loaded because there's nothing at 32MB (ie it
will operate as it does today).  If OF is loaded at 32MB then the 12MB
region is free and the uncompressed kernel will have more space to grow.

I have tested this on numerous pSeries boxes.  I have not tested on
anything else.

Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Makefile