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

Pratyush Anand panand at redhat.com
Wed Apr 22 04:19:20 PDT 2015

On Wednesday 22 April 2015 08:23 AM, Baoquan He wrote:
> On 04/21/15 at 10:12am, Pratyush Anand wrote:
>> 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.
> Well, this looks good. Try --page-offset and then fetch it in
> /proc/kallsysms if not specificed by user. ARM64 should have this too.

OK... Will do that.

@Geoff: I will send this patch in two parts. First will apply on top of 
your patches. Second will apply after Takahiro's patch.


More information about the kexec mailing list