Skip to contentSkip to conversation

powerpc/bootwrapper: add fixed-head.o to simpleimage wrappers

PATCH In review Grant Likely 2 participants 2 messages Mar 9, 2009 – Mar 11, 2009 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/bootwrapper: add fixed-head.o to simpleimage wrappers

From: Grant Likely <[email protected]>

fixed-head.o must be linked into the bootwrapper for raw-binary images to work. This patch adds it into the bootwrapper.

---

I pulled this chunk out of Eddie's bigger patch and also modified the other case where it applies. This is a definite bug on the simpleimage generation. Once I get an ack, I'll add it to my -next tree and ask Ben to pull.

Cheers,
g.

 arch/powerpc/boot/wrapper |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/boot/wrapper +2 -2
index 965c237..c5bd9cf 100755
@@ -211,11 +211,11 @@ simpleboot-virtex405-*)
     binary=y
     ;;
 simpleboot-virtex440-*)
-    platformo="$object/simpleboot.o $object/virtex.o"
+    platformo="$object/fixed-head.o $object/simpleboot.o $object/virtex.o"
     binary=y
     ;;
 simpleboot-*)
-    platformo="$object/simpleboot.o"
+    platformo="$object/fixed-head.o $object/simpleboot.o"
     binary=y
     ;;
 asp834x-redboot)
#1 lore raw
Quoted 8 lines · Grant Likely

From: Grant Likely <[email protected]>

fixed-head.o must be linked into the bootwrapper for raw-binary images to work. This patch adds it into the bootwrapper.

---

Ack :-)

Quoted 34 lines

I pulled this chunk out of Eddie's bigger patch and also modified the other case where it applies. This is a definite bug on the simpleimage generation. Once I get an ack, I'll add it to my -next tree and ask Ben to pull.

Cheers,
g.

 arch/powerpc/boot/wrapper |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/boot/wrapper +2 -2
index 965c237..c5bd9cf 100755
@@ -211,11 +211,11 @@ simpleboot-virtex405-*)
     binary=y
     ;;
 simpleboot-virtex440-*)
-    platformo="$object/simpleboot.o $object/virtex.o"
+    platformo="$object/fixed-head.o $object/simpleboot.o $object/virtex.o"
     binary=y
     ;;
 simpleboot-*)
-    platformo="$object/simpleboot.o"
+    platformo="$object/fixed-head.o $object/simpleboot.o"
     binary=y
     ;;
 asp834x-redboot)

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev