]> git.ozlabs.org Git - tonyb-yaboot.git/commitdiff
Link yaboot at 1MB
authorAnton Blanchard <anton@samba.org>
Thu, 8 Jul 2010 19:03:44 +0000 (19:03 +0000)
committerTony Breeds <tony@bakeyournoodle.com>
Fri, 16 Jul 2010 05:51:57 +0000 (15:51 +1000)
Give ourselves another 1MB of available space by moving yaboot
down to 1MB. With load-base at 0x4000, our yaboot image would have to
be 1MB-0x4000 before we should encounter problems (because firmware
would have issues relocating us from 0x4000 to 1MB).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Makefile

index e8f62ad34a7da4419463dc22a4317478a3ca3638..f54997782d5a6ff1189b4177ef4c0eff911ae125 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@ GETROOT = fakeroot
 # We use fixed addresses to avoid overlap when relocating
 # and other trouble with initrd
 
-# Load the bootstrap at 2Mb
-TEXTADDR       = 0x200000
+# Load the bootstrap at 1Mb
+TEXTADDR       = 0x100000
 # Malloc block of 1MB
 MALLOCSIZE     = 0x100000
 # Load kernel and ramdisk at as low as possible