On Oct 6, 2006, at 10:38 AM, Kiyokuni Kawachiya wrote:


 3. In the public Xen tree, the 32-bit objcopy produces an image that
    Kawachiya's yaboot apparently cannot load.

The catch-22 is that if Maria updates the internal tree to get the fixes
in the public tree, the bootargs problem will go away, but the yaboot
problem will appear.

So we really need to know what yaboot is complaining about.

I will try Jimi's suggestion from now.

Kawachiya-san,
Please try the following patch against the yaboot boot.

diff -r f9631d8c3e3c xen/arch/powerpc/Makefile
--- a/xen/arch/powerpc/Makefile Thu Oct 05 16:06:42 2006 -0500
+++ b/xen/arch/powerpc/Makefile Fri Oct 06 10:57:24 2006 -0400
@@ -96,7 +96,7 @@ cmdline.o: cmdline.dep
cmdline.o: cmdline.dep
cmdline.o: CFLAGS += -DCMDLINE="\"$(FULL_CMDLINE)\""
-TARGET_OPTS = $(OMAGIC) -Wl,-Ttext,0x400000,-T,xen.lds
+TARGET_OPTS = $(OMAGIC) -Wl,-T,xen.lds
TARGET_OPTS += start.o $(ALL_OBJS)
.xen-syms: start.o $(ALL_OBJS) xen.lds
diff -r f9631d8c3e3c xen/arch/powerpc/xen.lds.S
--- a/xen/arch/powerpc/xen.lds.S        Thu Oct 05 16:06:42 2006 -0500
+++ b/xen/arch/powerpc/xen.lds.S        Fri Oct 06 10:57:24 2006 -0400
@@ -17,7 +17,7 @@ SECTIONS
SECTIONS
{
   /* Read-only sections, merged into text segment: */
- PROVIDE (__executable_start = 0x10000000); . = 0x10000000 + SIZEOF_HEADERS; + PROVIDE (__executable_start = 0x400000); . = 0x400000 + SIZEOF_HEADERS;
   .interp         : { *(.interp) } :text
   .hash           : { *(.hash) }
   .dynsym         : { *(.dynsym) }



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to