From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L3yrf-00053X-1D for mharc-grub-devel@gnu.org; Sat, 22 Nov 2008 15:13:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3yrc-00052I-GV for grub-devel@gnu.org; Sat, 22 Nov 2008 15:13:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3yra-00051h-W8 for grub-devel@gnu.org; Sat, 22 Nov 2008 15:13:56 -0500 Received: from [199.232.76.173] (port=33016 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3yra-00051e-Oy for grub-devel@gnu.org; Sat, 22 Nov 2008 15:13:54 -0500 Received: from aybabtu.com ([69.60.117.155]:44212) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L3yra-0006Qp-Ke for grub-devel@gnu.org; Sat, 22 Nov 2008 15:13:55 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1L3yp3-0004ye-7I; Sat, 22 Nov 2008 21:11:17 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1L3yqo-0002lX-Ea; Sat, 22 Nov 2008 21:13:06 +0100 Date: Sat, 22 Nov 2008 21:13:06 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20081122201306.GF7779@thorin> References: <1227034953.17386.29.camel@manoel-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1227034953.17386.29.camel@manoel-laptop> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Carlos Roberto do Nascimento Costa , Hollis Blanchard , Segher Boessenkool Subject: Re: [PATCH] Grub2 running address on PowerPC64 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2008 20:13:56 -0000 Committed, thanks! On Tue, Nov 18, 2008 at 05:02:33PM -0200, Manoel wrote: > OF uses the address 0x4000 as base-load (as stated in NOTE section added > by grub-mkelfimage) and grub uses 0x10000 as running address, thus > causing segment overlapping which leads to grub2 unable to load its > modules. > > This patch moves the running address to 0x200000 to prevent overlapping, > its the same address used by Yaboot and is know to work well. > > the makefile must be regenerated using the command: > $ ruby genmk.rb < conf/powerpc-ieee1275.rmk> conf/powerpc-ieee1275.mk > > > -- > Best Regards, > > Manoel Abranches > IBM Linux Technology Center Brazil > Index: conf/powerpc-ieee1275.rmk > =================================================================== > --- conf/powerpc-ieee1275.rmk (revision 1917) > +++ conf/powerpc-ieee1275.rmk (working copy) > @@ -85,7 +85,7 @@ > kernel_elf_CFLAGS = $(COMMON_CFLAGS) > kernel_elf_ASFLAGS = $(COMMON_ASFLAGS) > kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \ > - -Wl,-N,-S,-Ttext,0x10000,-Bstatic > + -Wl,-N,-S,-Ttext,0x200000,-Bstatic > > # Scripts. > sbin_SCRIPTS = grub-install > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."