[RFC PATCH 1/2] ARM: kexec: scan for dtb magic in segments

Simon Horman horms at verge.net.au
Thu Sep 6 20:55:40 EDT 2012


On Thu, Sep 06, 2012 at 02:35:02PM +0100, Matthew Leach wrote:
> This patch allows a dtb to be passed to a new kernel using the kexec
> mechinism.
> 
> When loading segments from userspace, scan each segment's first four
> bytes for the dtb magic. If this is found set the kexec_boot_atags
> parameter to the relocate_kernel code to the phyical address of this
> segment.
> 
> Cc: Simon Horman <horms at verge.net.au>
> Reviewed-by: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Matthew Leach <matthew.leach at arm.com>
> ---

Reviewed-by: Simon Horman <horms at verge.net.au>



More information about the linux-arm-kernel mailing list