rpms/yaboot/devel yaboot-1.3.14-baseaddr.patch, NONE, 1.1 yaboot.spec, 1.53, 1.54

Roman Rakus rrakus at fedoraproject.org
Wed Nov 5 12:46:37 UTC 2008


Author: rrakus

Update of /cvs/extras/rpms/yaboot/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17860

Modified Files:
	yaboot.spec 
Added Files:
	yaboot-1.3.14-baseaddr.patch 
Log Message:
Changed kernel load base address. Resolves: #468492

yaboot-1.3.14-baseaddr.patch:

--- NEW FILE yaboot-1.3.14-baseaddr.patch ---
diff --git a/Makefile b/Makefile
index 5457dc9..ce0dc06 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ TEXTADDR	= 0x200000
 MALLOCADDR	= 0x300000
 MALLOCSIZE	= 0x100000
 # Load kernel and ramdisk at real-base.  If there is overlap, will retry until find open space
-KERNELADDR	= 0x00000000
+KERNELADDR	= 0x00C00000
 
 # Set this to the prefix of your cross-compiler, if you have one.
 # Else leave it empty.
diff --git a/second/fs_of.c b/second/fs_of.c
index 0d554c5..95c131d 100644
--- a/second/fs_of.c
+++ b/second/fs_of.c
@@ -44,8 +44,8 @@
 #include "errors.h"
 #include "debug.h"
 
-#define LOAD_BUFFER_POS		0x00000000
-#define LOAD_BUFFER_SIZE	0x01000000
+#define LOAD_BUFFER_POS		0x1000000
+#define LOAD_BUFFER_SIZE	0x1000000
 
 static int of_open(struct boot_file_t* file, const char* dev_name,
 		   struct partition_t* part, const char* file_name);


Index: yaboot.spec
===================================================================
RCS file: /cvs/extras/rpms/yaboot/devel/yaboot.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- yaboot.spec	11 Aug 2008 08:56:27 -0000	1.53
+++ yaboot.spec	5 Nov 2008 12:46:07 -0000	1.54
@@ -1,7 +1,7 @@
 Summary: Linux bootloader for Power Macintosh "New World" computers.
 Name: yaboot
 Version: 1.3.14
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source: http://yaboot.ozlabs.org/releases/yaboot-%{version}.tar.gz
@@ -20,7 +20,8 @@
 Patch21: yaboot-1.3.13-pegasos-serial.patch
 Patch22: yaboot-1.3.13-allow-deep-mntpoint.patch
 Patch27: yaboot-ppc64.patch
-Patch29: yaboot-1.3.13-dontwritehome.patch
+Patch28: yaboot-1.3.13-dontwritehome.patch
+Patch29: yaboot-1.3.14-baseaddr.patch
 
 URL: http://yaboot.ozlabs.org/
 BuildRoot: %{_tmppath}/%{name}-root
@@ -51,7 +52,8 @@
 %patch21 -p1 -b .pegasos-serial
 %patch22 -p1 -b .deepmnt
 %patch27 -p1 -b .ppc64
-%patch29 -p1 -b .bootwrite
+%patch28 -p1 -b .bootwrite
+%patch29 -p1 -b .baseaddr
 
 %build
 make VERSIONEXTRA='\ (Red Hat %version-%release)'
@@ -87,6 +89,10 @@
 %ghost %config(noreplace) %{_sysconfdir}/yaboot.conf
 
 %changelog
+* Wed Nov 05 2008 Roman Rakus <rrakus at redhat.com> - 1.3.14-6
+- Changed kernel load base address
+  Resolves: #468492
+
 * Mon Aug 11 2008 Roman Rakus <rrakus at redhat.com> - 1.3.14-5
 - Clearing in specfile
 - Fixed patches for --fuzz=0




More information about the fedora-extras-commits mailing list