Hi Pingfan,
On Tuesday 25 October 2016 03:17 PM, Pingfan Liu wrote:
> From: Pingfan Liu <piliu(a)redhat.com>
>
> Fix Bug 925630 - kexec-tools: support for arm64
>
https://bugzilla.redhat.com/show_bug.cgi?id=925630
> involves two things:
> 1. back porting upstream code to enable the function of kexec-tools on arm64
> patchset backported from upstream:
> commit abdfe97736f89d9bc73662b9134604b0229a599e
> commit 522df5f7217fda01ece3f6ac3e9987b0320c2bb0
> commit 217bcc00c9309416a6c6cd0584196559d28a9259
> 2. fix the arm related building issue by using autoreconf in spec file
Thanks for the update.
I noticed that koji build introduced new relocation and `kexec -l` failed
with following error:
machine_apply_elf_rel: ERROR Unknown type: 275
I used following patch(also attached here) which resolved above error
https://patchwork.kernel.org/patch/9386541/
However, there was further relocation error for 261.
Fix for that is here(also attached)
https://github.com/pratyushanand/kexec-tools/commit/3a3c61cb7f129936e5752...
So, I think you should also add attached patches in this commit.
@pbrobinson: How can I know the gcc version used by koji build. I need to
mention that in the commit log of my patch which I would send upstream.
Moreover, with above additional two patches kexec-tools seems fine, but
still fedora-kernel-arm64/devel (with fh_defconfig+kexec enabled) did not
reboot on a seattle platform (Nothing after "Bye"). Will debug and come back
on it.
...
DEBUG util.py:421: gcc x86_64 6.2.1-2.fc25 build 20 M
...
Thanks
Dave