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. > > May be for ARM64, we can read it like "value of symbol _text in > /proc/kallsyms & 0xfffffffffff00000". > > ~Pratyush > > _______________________________________________ > kexec mailing list > kexec at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec