[PATCH RFC 5/6] arm64: Add support for binary image

Geoff Levand geoff at infradead.org
Fri Apr 17 10:07:17 PDT 2015


On Thu, 2015-04-16 at 22:17 +0530, Pratyush Anand wrote:
> This patch adds support to use binary image ie arch/arm64/boot/Image.
> 
> Binary image does not have sufficient knowledge to extract page offset
> information, which is needed by kexec tool. Use a new command parameter
> --page-offset, so that user can provide page offset information for
> liner mapping.

This looks OK.  I'll add it to my arm64 series.

> diff --git a/kexec/arch/arm64/kexec-arm64.h b/kexec/arch/arm64/kexec-arm64.h
> index 61e15032cbd6..7e4d0568bd01 100644
> --- a/kexec/arch/arm64/kexec-arm64.h
> +++ b/kexec/arch/arm64/kexec-arm64.h
> @@ -17,6 +17,8 @@
>  #define BOOT_BLOCK_LAST_COMP_VERSION 16
>  #define COMMAND_LINE_SIZE 512
>  
> +#define ARM64_DEFAULT_PAGE_OFFSET 0xfffffe0000000000
> +

Since this is only used in kexec-image-arm64.c, I'll move it there.

-Geoff




More information about the kexec mailing list