Package Details: linux-aarch64-raspberrypi-bin 4.14.50.20180619-1

Git Clone URL: https://aur.archlinux.org/linux-aarch64-raspberrypi-bin.git (read-only)
Package Base: linux-aarch64-raspberrypi-bin
Description: Automated weekly build of the default branch aarch64 bcmrpi3_defconfig Linux kernel for the Raspberry Pi 3 models B/B+
Upstream URL: https://github.com/sakaki-/bcmrpi3-kernel
Keywords: kernel raspberrypi
Licenses: GPL2
Conflicts: linux-aarch64, uboot-raspberrypi
Provides: linux=4.14.50
Submitter: ava1ar
Maintainer: ava1ar (ava1ar-auto)
Last Packager: ava1ar-auto
Votes: 6
Popularity: 2.842374
First Submitted: 2018-04-14 07:20
Last Updated: 2018-06-19 14:39

Required by (189)

Sources (5)

Pinned Comments

ava1ar commented on 2018-04-14 07:57

Currently, aarch64 version of ArchLinuxARM for Raspberry Pi 3B/3B+ is using official linux kernel build, but not the raspberry project own kernel version. As a result, some features do not work correctly (i.e. Raspberry Touch display). I found a fresh build of Raspberry official kernel for aarch64 here: https://github.com/sakaki-/bcmrpi3-kernel and packaged it for arch usage.

To install, simply perform

$ yaourt -S linux-aarch64-raspberrypi-bin raspberrypi-overlays

and agree with all replacements. Optionally you may want ot install raspberrypi-bootloader-x as well. Reboot and enjoy full featured Raspberry Pi with aarch64 Arch Linux system!

Please note, there are no corresponding kernel headers package yet. linux-raspberrypi-headers supposed to work, but they are not available for aarch64. I may add headers package later if I will need it myself.

Latest Comments

Raansu commented on 2018-05-12 21:15

ava1ar, Thank you for the fixes. Everything looks good on my end.

ava1ar commented on 2018-05-12 20:02

Raansu, thanks for your feedback. I adjusted the PKGBUILD to no create symlink and use full kernel version in both .install and .preset. Works fine for me. Can you please check and report it is working for your as expected?

Raansu commented on 2018-05-12 18:45

This package seems to have a couple of issues.

For one, I was trying to make use of a encryption module in mkinitcpio and initramfs and it took me days to track down why it wasn't working. Found out that this package is configuring the preset file for mkinitcpio incorrectly. modprobe in the initramfs shell was looking for modules in /lib/modules/4.14.37-v8-b9094272af9e+ but that did not exist. According to this, https://wiki.archlinux.org/index.php/Kernels/Traditional_compilation#Automated_preset_method "the ALL_kver= should match the name custom kernel specified".

I was able to fix my issues by editing the PKGBUILD to

-e "s|ALL_kver=.*|ALL_kver=\"${_kernver}$(source "${pkgdir}/boot/config"; echo $CONFIG_LOCALVERSION)+\"|" \

Secondly, I don't think the symlink in the root file system is necessary.

ava1ar commented on 2018-04-27 13:36

Cool! Thanks for sharing!

Raansu commented on 2018-04-27 08:37

For future reference: I got this working by setting up my Raspberry Pi 3B+ as normal with the 32bit Arch Linux Arm tarball. (since I couldn't boot the 64Bit version) Then after setting up everything I needed for makepkg I installed this package. I powered down the Pi and took the SD card back to the computer. I deleted everything except for what was on the boot partition and /usr/lib/modules, I then unpacked the Arch Linux Arm 64bit root tarball (ArchLinuxARM-rpi-3-latest.tar.gz) to the root partition of my SD card. I made sure to remove files added to /root/boot and then everything booted fine. After boot I installed this package again to ensure I got the correct updates.

ava1ar commented on 2018-04-27 05:01

Yes, this is correct and should work (I didn't test it, since I have 3B model). But don't forget, that kernel places files to the / as well.

Raansu commented on 2018-04-27 04:55

The issue was I have a 3B+ and Arch Linux Arm doesn't support 3B+ for 64Bit yet. I just saw that the Github has the already compiled kernel so now I know to download that and place the kernel into the /boot partition. Then I should install this package to keep up-to-date.

ava1ar commented on 2018-04-27 04:32

Raansu,

Yes. You should install aarch64 build to your RaspberryPi using official installation guide here: https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3 and then install this kernel and other required packages. Conversion of installed system from armv7 to aarch64 is possible, but very complex and unsupported officially, so I suggest re-install.

Raansu commented on 2018-04-27 04:29

If I install this how should I switch the rest of my system over to 64bit ARM packages?

ava1ar commented on 2018-04-14 07:57

Currently, aarch64 version of ArchLinuxARM for Raspberry Pi 3B/3B+ is using official linux kernel build, but not the raspberry project own kernel version. As a result, some features do not work correctly (i.e. Raspberry Touch display). I found a fresh build of Raspberry official kernel for aarch64 here: https://github.com/sakaki-/bcmrpi3-kernel and packaged it for arch usage.

To install, simply perform

$ yaourt -S linux-aarch64-raspberrypi-bin raspberrypi-overlays

and agree with all replacements. Optionally you may want ot install raspberrypi-bootloader-x as well. Reboot and enjoy full featured Raspberry Pi with aarch64 Arch Linux system!

Please note, there are no corresponding kernel headers package yet. linux-raspberrypi-headers supposed to work, but they are not available for aarch64. I may add headers package later if I will need it myself.