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 <[EMAIL PROTECTED]> > 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." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel