[RFC PATCH 0/4] Add device-tree support to kexec-tools for ARM

Simon Horman horms at verge.net.au
Wed Sep 5 23:29:02 EDT 2012


Hi Matt,

On Wed, Sep 05, 2012 at 03:34:09PM +0100, Matthew Leach wrote:
> Hi Simon,
> 
> > Hi Matt,
> > 
> > are you aware that I posted patches to add ARM DT support
> > to kexec-tools a few weeks ago?
> 
> Ah, I missed that...
>  
> > I'm not particularly concerned which version goes in,
> > but perhaps we can learn from each others efforts.
> 
> After looking over your patches I propose that I incorporate your
> generic fs2dt code instead of pulling in the dtc.

Thanks. It was that part of the code that I spent the bulk of my time on.
And although it is still has a few rough edges I would be happy for it
to be used.

> Also, I use a
> different segment for the dtb rather than appending it to the
> zImage; I think this approach would be better as it is less
> restrictive, however a kernel patch is required to set r2 to the
> appropriate address on entry to the new kernel. What are your
> thoughts?

I would prefer to avoid requiring kernel changes unless necessary -
the kernels some of the boards I work with require DT since 3.5.
However, I am happy to discuss this further, there certainly is
merit to a clean implementation.

> If you are happy with this I will submit a v2 set of patches.



More information about the kexec mailing list