[PATCH 0/3] kexec: pass initrd position in dtb

Dave Young dyoung at redhat.com
Wed Mar 26 21:14:34 EDT 2014


On 03/25/14 at 12:09pm, Wang Nan wrote:
> The main goal of this patch series is to pass initrd position to
> secondary kernel. To makes code clear, patch 2/3 introduce a new
> function to handle fdt related operations.
> 
> Without these two patches, kexec failed to work on arm.
> 
> 
> Change from v1:
> 
>  - Remove #include "libfdt_internal.h" since it is for internal use
>      for libfdt.
> 
> Change from v2:
> 
>  - Split into two logically independent patches.
>  - Compute memory consumption more accurate.
> 
> Change from v3:
> 
>  - Introduces helpers in libfdt for memory usage computation.
> 
> 
> Wang Nan (3):
>   kexec: introduce helpers for computing dtb size
>   kexec: introduce setup_dtb_prop to make code clear
>   kexec: pass initrd position by dtb
> 
>  kexec/arch/arm/kexec-zImage-arm.c | 106 +++++++++++++++++++++++++++++---------
>  kexec/libfdt/libfdt.h             |  24 +++++++++
>  kexec/libfdt/libfdt_internal.h    |   3 --
>  3 files changed, 105 insertions(+), 28 deletions(-)
> 

Thanks for the update.

Acked-by: Dave Young <dyoung at redhat.com>

Thanks
Dave



More information about the kexec mailing list