[PATCH] powerpc/bootwrapper: add fixed-head.o to simpleimage wrappers
Grant Likely
grant.likely at secretlab.ca
Tue Mar 10 02:23:09 EST 2009
From: Grant Likely <grant.likely at secretlab.ca>
fixed-head.o must be linked into the bootwrapper for raw-binary images to
work. This patch adds it into the bootwrapper.
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
Reported-by: Eddie Dawydiuk <eddie at embeddedarm.com>
---
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(-)
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index 965c237..c5bd9cf 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -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)
More information about the Linuxppc-dev
mailing list