[PATCH 11/15] zImage wrapper for Ebony

Mark A. Greer mgreer at mvista.com
Thu Mar 8 11:54:43 EST 2007


On Thu, Mar 08, 2007 at 11:24:00AM +1100, David Gibson wrote:
> On Wed, Mar 07, 2007 at 01:47:32PM -0600, Scott Wood wrote:
> > On Tue, Mar 06, 2007 at 11:09:05AM +1100, David Gibson wrote:
> > > On Mon, Mar 05, 2007 at 10:10:53AM -0700, Mark A. Greer wrote:

> > > Actually, longer term what I think might be a better option is to
> > > build *all* the dts files into asm (with different symbolic names) and
> > > fold them into the wrapper library.
> > 
> > I can see potential benefit in allowing multiple dtbs to be included, to
> > be chosen at runtime (such as from a board ID passed from the bootloader,
> > or based on detection of how the board is configured (such as detecting
> > whether an MDS board is plugged into a PCI backplane, or is acting as a
> > PCI agent, or is standalone)).  But why all of them?
> 
> Simplicity, and a better chance to pick up syntax errors at least for
> obscure platforms.  Note that they'd be going as separate modules into
> a .a, so only the relevant ones would be included in the final zImage.

This seems like overkill to me.  I believe Paul's intention was that
you could run the wrapper script any time (e.g., well after you built
the zImage).  I don't really see the benefit of building them all and
now you have to worry about stale .S' in the .a file when it so easy to
just run the wrapper script with whatever .dts file you want.

My $0.02.

Mark



More information about the Linuxppc-dev mailing list