[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Revert "Link yaboot at 1MB"



This reverts commit f7a364631f2a8975ecca56668a19ee0a66c1ddcd.

An iBook G4 (PowerBook6,5) was unable to boot when linking to the
lower address. Revert back to 2MB.

Signed-off-by: John Ogness <powerpc@ogness.net>
---
 I could not find any references about _why_ yaboot was moved
 from 2MB to 1MB. I did not bother to see how low I could get
 it on my iBook. If 2MB is too high for some machine, I can
 investigate to see how low I can go.

 This patch was tested using both yaboot-mainline and 1.3.17-4
 in Debian/sid. The tests were only performed on my iBook G4.

 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f3b46a5..d2666f8 100644
--- 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 1Mb
-TEXTADDR	= 0x100000
+# Load the bootstrap at 2Mb
+TEXTADDR	= 0x200000
 # Malloc block of 1MB
 MALLOCSIZE	= 0x100000
 # Load kernel and ramdisk at as low as possible
-- 
2.15.0.rc0


Reply to: