On Wed, Sep 05, 2012 at 12:43:59PM +0100, Matthew Leach wrote: > Hi all, > > Running a kexec() on newer ARM platforms has become an issue as > information about the platform that is presented via device-tree is > required to boot a new kernel. > > The ATAGs kernel code is re-used, replacing the ATAGs with a > device-tree blob so that only kexec-tools needs to be changed. There > are two options for generating a dtb to be passed to the kernel from > kexec-tools: 1) Read in the device-tree that is exposed in > /proc/device-tree and flatten this out into a dtb. 2) Allow the user > to specify a dtb file on the command line. These blobs are then > loaded into memory before the kernel image and the address passed > through to r2, as stated in the ARM booting documentation. Hi Matt, are you aware that I posted patches to add ARM DT support to kexec-tools a few weeks ago? I'm not particularly concerned which version goes in, but perhaps we can learn from each others efforts.