From 436ce9a1a5e9f7158dd61608c51913ecfacbb16e Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Thu, 8 Jul 2010 19:03:43 +0000 Subject: [PATCH] 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.2