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

Pratyush Anand panand at redhat.com
Mon Apr 20 21:42:10 PDT 2015

On Monday 20 April 2015 12:54 PM, Baoquan He wrote:
> On 04/16/15 at 10:17pm, 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.
>> >
>> >Signed-off-by: Pratyush Anand<panand at redhat.com>
>> >---
> Seems there's a function get_kernel_page_offset used to get page_offset
> automatically in arm. arm64 should have it either.

ARM still takes user option for --page-offset in user_page_offset 
variable and then cross check that value with one found in /proc/kallsyms.

May be for ARM64, we can read it like "value of symbol _text in 
/proc/kallsyms & 0xfffffffffff00000".


More information about the kexec mailing list