grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Grub2 running address on PowerPC64


From: Robert Millan
Subject: Re: [PATCH] Grub2 running address on PowerPC64
Date: Sat, 22 Nov 2008 21:13:06 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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 <address@hidden>
> 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
> address@hidden
> 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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]