Thread (11 messages) 11 messages, 4 authors, 2003-09-18

Re: BOOT_TARGET pImage & uImage ???

flat view

From: Tom Rini <hidden>
Date: 2003-09-18 18:31:46

On Thu, Sep 18, 2003 at 09:52:29AM -0400, Brian Waite wrote:
Here  is the patch I have been using myself. I am embarrassed to say that I
was the 2nd person to ask and I forgot to post the patch for inclusion. I
don;t have a version for 2.5/6 but this works for 2.4 (based on
2.4.22-pre10). Tom, I am not sure this is exactly what yoou wanted when we
initially talked about it so let me know if you would like a better method.
That looks alright.  I've got one comment:
[snip]
quoted hunk ↗ jump to hunk
diff -Nru a/arch/ppc/boot/Makefile b/arch/ppc/boot/Makefile
--- a/arch/ppc/boot/Makefile	Thu Sep 18 09:45:53 2003
+++ b/arch/ppc/boot/Makefile	Thu Sep 18 09:45:53 2003
@@ -17,7 +17,7 @@
 AFLAGS	+= -D__BOOTER__
 OBJCOPY_ARGS = -O elf32-powerpc

-MKIMAGE				:= ./utils/mkimage.wrapper
+MKIMAGE				:= $(TOPDIR)/scripts/mkuboot.sh

 lib/zlib.a: lib/zlib.c
 	$(MAKE) -C lib
@@ -67,12 +67,18 @@
 	gzip $(GZIP_FLAGS) images/vmapus
 endif

+mkuboot: $(MKIMAGE)
+	cp $< $@
+	chmod 755 $@
Add this to the clean target, and then don't rm it at the end of
'uImage' so that we only 'build' this once.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help