From: Anton Blanchard Date: Thu, 8 Jul 2010 19:03:43 +0000 (+0000) Subject: Allocate kernel and ramdisk as low as possible X-Git-Tag: yaboot-1.3.17-rc1~4 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=436ce9a1a5e9f7158dd61608c51913ecfacbb16e;ds=sidebyside Allocate kernel and ramdisk as low as possible We currently start the search for free memory for the kernel at 12MB. This made sense back when firmware (real-base) was always 12MB, but it doesn't now it is often at 32MB. In light of this and now we have fixed the initrd load issues, just try and allocate the kernel as low as possible. Signed-off-by: Anton Blanchard Signed-off-by: Tony Breeds --- diff --git a/Makefile b/Makefile index 78184a0..e8f62ad 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,8 @@ GETROOT = fakeroot TEXTADDR = 0x200000 # Malloc block of 1MB MALLOCSIZE = 0x100000 -# Load kernel and ramdisk at real-base. If there is overlap, will retry until find open space -KERNELADDR = 0x00C00000 +# Load kernel and ramdisk at as low as possible +KERNELADDR = 0x00000000 # Set this to the prefix of your cross-compiler, if you have one. # Else leave it empty.