From 4cdc802ea38be38edff2b72c9028d7a8af8f8938 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Fri, 20 Nov 2020 07:35:13 +0100 Subject: Add Linux kernel module support for 32-bit architectures (eg. ARM) This change replaces all 64-bit division and modulo operations with specific Linux kernel macros and functions to support 32-bit hardware architectures. Thus, the xloop kernel modules can also run on 32-bit ARM architectures, such as the Raspberry Pi 1 running Raspberry Pi OS. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 8b06805..bd3da5b 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ This repository contains the source code for the xloop Linux kernel modules and the user space utility **xlosetup** to configure xloop devices. The xloop Linux kernel modules can be built for the following Linux kernel versions and Linux distributions: - Archlinux with **Linux kernel 5.9.x** or **5.4.x** + - Raspberry Pi OS with **Linux kernel 5.4.x** - Ubuntu 20.04 with **Linux kernel 5.4.x** - Ubuntu 18.04 with **Linux kernel 4.19.x** - CentOS 8 with **Linux kernel 4.18.x** @@ -34,6 +35,18 @@ pacman -S git \ rpm-tools ``` +#### Raspberry Pi OS with Linux kernel 5.4.x +```shell +apt-get install git \ + make \ + cmake \ + gcc \ + raspberrypi-kernel-headers \ + libcap-dev \ + libncurses-dev \ + rpm +``` + #### Ubuntu 20.04 with Linux kernel 5.4.x ```shell apt-get install git \ -- cgit v1.2.3-55-g7522