Package Details: linux-aarch64-raspberrypi-bin 4.14.61.20180814-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.61
Submitter: ava1ar
Maintainer: ava1ar (ava1ar-auto)
Last Packager: ava1ar-auto
Votes: 9
Popularity: 2.334897
First Submitted: 2018-04-14 07:20
Last Updated: 2018-08-14 15:08

Required by (191)

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 to 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

1 2 Next › Last »

rokka commented on 2018-07-27 18:16

for people like me (stupid and lazy): what @Raansu means with "get everything ready for makepkg": install base-devel and replace the matching part in makepkg.conf with the aarch64 options: https://pastebin.com/raw/06vjKpyW

ava1ar commented on 2018-07-05 10:52

@marakasmalan

Thanks for your report. I am using it with my RPi3b for Home Assistant setup in headless mode (well, almost headless - I have Raspberry display connected, which displays HomeAssistant UI) and generally my experience is similar to yours. I tried using GUI with this kernel - it generally works, but less stable, than with official 32-bit kernel. Also, only 1Gb of RAM is a limitation for usage as desktop.

marakasmalan commented on 2018-07-05 02:40

ava1ar, thank for this package and for your work in this regard.

I can confirm it worked fine for me. Some observations: - Installed the stock aarch64 from archlinuxarm.org for the rpi3, then installed the AUR package as on this page and raspberrypi-overlays and raspberrypi-bootloader-x. This I managed without any problems. - I did not test any graphical applications or DE. - the cli temperatur command /opt/vc/bin/vcgencmd measure_temp does not work, or rather does not exist. Temperature can be measured with /sys/class/thermal/thermal_zone0/temp . - wifi worked (only used netctl), I did not test bluetooth. - As an experiment I installed the aur package xmrig-donateless, but this performed at 62% of the speed of the same package installed on the standard 32bit rpi2 arch installation.

Bottom line, I had no problems working in terminal only, everything seemed to work. Let me know if you need anything specific to be tested.

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.