ARM64 – Hikey to Kernel 4.7 – and Polkitd Fix..

Managed to update the Hikey ARM64 SoC to the latest kernel – 4.7 Final.

Fedora 24 (Twenty Four)
Kernel 4.7.0 on an aarch64 (ttyAMA0)
# uname -a
Linux rghikey 4.7.0 #1 SMP PREEMPT Sun Jul 24 19:53:54 EDT 2016 aarch64 aarch64 aarch64 GNU/Linux

On boot, and when the network initialised, polkitd segfaulted again, the same as when I booted a version of 4.7-next..   After a bit of research, I found that this was a userland problem with mozjs17 on ARM64:

As this had not been fixed for over a year, I went ahead and applied the patch to the latest mozjs17 source rpm, and rebuilt/updated, and the problem has gone away..

So.. this is (so far..) the only ARM64 device I have that works (headless..) with the mainstream Linux kernel..

Robert Gadsdon.   July 25, 2016.


ARM64 – Hikey to Kernel 4.7 – and Polkitd Fix.. — 4 Comments

  1. Could you test ODROID C2? The DTS was merged for 4.7 and it could get official support in Fedora 25 (if all pieces and bits are in).

    • The C2 ‘mainline’ kernel is still missing vital components – such as MMC support – and these have not made it into the released 4.7 kernel.. I have noticed that a patch has recently been submitted for ‘meson-gxbb – add MMC support’ but I have not had an opportunity to test this on the C2, yet.. U-Boot has had MMC/eMMC support for some time..
      So far, all the released Fedora aarch64 versions have been for ‘server’ support, with uEFI, which means that the standard Anaconda install script will fail on a non-uEFI ‘workstation’ system..

    • The standard Fedora 24 install images seem to all be for uEFI-based servers, and the Anaconda install fails if this is not detected..
      I did find some rootfs disk image F24 aarch64 sources here: They are all – for some reason – in XFS format..
      I had installed an F22 rootfs disk image on the Hikey SDcard some time ago, and just used dnf to upgrade each time (currently on F24..)


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.