The main goal of this patch series is to pass initrd position to secondary kernel. To makes code clear, patch 1/2 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. Wang Nan (2): kexec: introduce setup_dtb_prop to make code clear kexec: pass initrd position by dtb kexec/arch/arm/kexec-zImage-arm.c | 109 +++++++++++++++++++++++++++++--------- 1 file changed, 83 insertions(+), 26 deletions(-) -- 1.8.3.4