RPi 4 wiki: ARMv7 Installation vs. AArch64 Installation

This is for ARMv8 based devices

RPi 4 wiki: ARMv7 Installation vs. AArch64 Installation

Postby cj0 » Mon Mar 15, 2021 10:26 am

kernel bitness
After reading https://archlinuxarm.org/platforms/armv ... berry-pi-4, I suspect that "AArch64" is a 64-bit kernel. Though I have no clue whether "ARMv7 Installation" contains a 32-bit or 64-bit kernel. Can anyone enlighten me?

kernel package name
Are these two installations similar, where "ArchLinuxARM-rpi-4-latest.tar.gz" contains a raspberrypi4 kernel and "ArchLinuxARM-rpi-aarch64-latest.tar.gz" provides a mainline kernel? Or do both provide mainline kernels, package: linux-armv7 versus linux-aarch64?

How to install 64-bit kernel with full device support?
What is the suggested way to install a 64-bit OS with maximum hardware support (binary overlays) on an RPi4B? Follow AArch64 installation and switch to kernel linux-raspberrypi4?
cj0
 
Posts: 7
Joined: Fri Dec 04, 2020 10:57 am

Re: RPi 4 wiki: ARMv7 Installation vs. AArch64 Installation

Postby graysky » Mon Mar 15, 2021 10:53 am

Correct.

linux-aarch64 = aarch64 and mainline
https://github.com/archlinuxarm/PKGBUIL ... GBUILD#L12
https://github.com/archlinuxarm/PKGBUIL ... LD#L17-L18

linux-raspberrypi4 = both armv7h and aarch64 and RPi Foundation
https://github.com/archlinuxarm/PKGBUIL ... GBUILD#L15
https://github.com/archlinuxarm/PKGBUIL ... GBUILD#L20

Currently, we are not providing an image with linux-raspberrypi4 in aarch64. I made one for a user you can try. Alternatively, read that thread for some advice. You can very easily use the official 64-bit image and just swap kernel packages and bootloaders.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 6 guests