[PATCH 11/15] zImage wrapper for Ebony

Mark A. Greer mgreer at mvista.com
Tue Mar 6 04:10:53 EST 2007


On Mon, Mar 05, 2007 at 02:24:52PM +1100, David Gibson wrote:
> This patch adds support for building a zImage wrapper suitable for the
> Ebony (440GP) evaluation board.  This supports booting both from uboot
> (old versions which don't supply a flattened device tree) and IBM
> Openbios (aka "treeboot").
> 
> Signed-off-by: David Gibson <dwg at au1.ibm.com>
> ---

<snip>

> Index: working-2.6/arch/powerpc/boot/Makefile
> ===================================================================
> --- working-2.6.orig/arch/powerpc/boot/Makefile	2007-02-26 13:25:31.000000000 +1100
> +++ working-2.6/arch/powerpc/boot/Makefile	2007-02-26 13:25:33.000000000 +1100

<snip>

> @@ -120,6 +128,13 @@ quiet_cmd_wrap_initrd = WRAP    $@
>        cmd_wrap_initrd =$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
>  				-i $(obj)/ramdisk.image.gz vmlinux
>  
> +quiet_cmd_wrap_dtb	= WRAP    $@
> +      cmd_wrap_dtb	=$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
> +				-d $3 vmlinux
> +quiet_cmd_wrap_dtb_initrd = WRAP    $@
> +      cmd_wrap_dtb_initrd =$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
> +				-d $3 -i $(obj)/ramdisk.image.gz vmlinux
> +

David,

I think we more-or-less agreed to go with Scott Wood's 'wrap' method
(unless there is a problem with it).

http://ozlabs.org/pipermail/linuxppc-dev/2007-February/031337.html

Mark



More information about the Linuxppc-dev mailing list