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

Wang Nan wangnan0 at huawei.com
Tue Mar 25 00:09:42 EDT 2014


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(-)

-- 
1.8.4




More information about the kexec mailing list