Re: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-31 Thread Geoff Levand
On 01/30/2008 04:34 PM, Grant Likely wrote: > --- a/arch/powerpc/boot/Makefile > +++ b/arch/powerpc/boot/Makefile ... > $(obj)/zImage.ps3: vmlinux $(wrapper) $(wrapperbits) > $(srctree)/$(src)/dts/ps3.dts Seems like this could use $(dtstree). > $(STRIP) -s -R .comment $< -o vmlinux.strip

Re: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-31 Thread Grant Likely
On 1/31/08, Scott Wood <[EMAIL PROTECTED]> wrote: > On Wed, Jan 30, 2008 at 07:40:28PM -0700, Grant Likely wrote: > > mpc866ads, mpc885ads and ep88xc are oddities in that they build > > zImages with embedded device tree blobs. > > What about ep8248e? And the mpc8xxads boards use cuImage, not zImag

Re: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-31 Thread Scott Wood
On Wed, Jan 30, 2008 at 07:40:28PM -0700, Grant Likely wrote: > mpc866ads, mpc885ads and ep88xc are oddities in that they build > zImages with embedded device tree blobs. What about ep8248e? And the mpc8xxads boards use cuImage, not zImage. > One option would be to add two new targets: zImage.

Re: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-31 Thread Jochen Friedrich
Hi Grant, > Currently, the kernel uses CONFIG_DEVICE_TREE to wrap a kernel image > with a fdt blob which means for any given configuration only one dts > file can be selected and so support for only one board can be built > > This patch moves the selection of the default .dts file out of the kern

Re: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-30 Thread Grant Likely
On 1/30/08, Stephen Neuendorffer <[EMAIL PROTECTED]> wrote: > > I like the spirit... It does seem like the compiled in device tree is > specified in the wrong place. heh, thanks. :-) > > +zImage.mpc866ads: vmlinux $(wrapperbits) $(dtstree)/mpc866ads.dts > > + $(call if_changed,wrap,$*,$(dts

RE: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-30 Thread Stephen Neuendorffer
I like the spirit... It does seem like the compiled in device tree is specified in the wrong place. Comments inline. > -Original Message- > From: [EMAIL PROTECTED] [mailto:linuxppc-dev- > [EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Wednesday, January 30, 2008 4:34 PM > To: [EMAIL