This action will force synchronization from openEuler/raspberrypi-kernel, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
English | 简体中文
The kernel for running on Raspberry Pi.
This repository is based on openEuler kernel which is merged patches of Raspberry Pi kernel.
Hardware: Raspberry Pi 3B/3B+/4B.
Architecture: AArch64.
Compile kernel and kernel modules.
Prepare compile environment
OS: openEuler or CentOS 7/8;
Architecture: AArch64.
You follow the documents of raspberrypi to cross-compile this kernel.
Download source
You need download different branches of different repositories according to the kernel version.
Kernel 5.10
git clone git@gitee.com:openeuler/raspberrypi-kernel.git -b openEuler-21.09 && cd raspberrypi-kernel
git clone git@gitee.com:openeuler/kernel.git -b openEuler-21.03 && cd kernel
Kernel 4.19
git clone git@gitee.com:openeuler/raspberrypi-kernel.git -b openEuler-20.03-LTS && cd raspberrypi-kernel
git clone git@gitee.com:openeuler/raspberrypi-kernel.git -b openEuler-20.09 && cd raspberrypi-kernel
Load default settings
You need load different settings according to the kernel version.
Kernel 5.10
make bcm2711_defconfig
make bcm2711_defconfig
Kernel 4.19
make openeuler-raspi_defconfig
make openeuler-raspi_defconfig
The corresponding defconfig file is in . /arch/arm64/configs.
Compile kernel
make ARCH=arm64 -j4
Create directory for compiling kernel modules
mkdir ../output
Compile kernel modules
make INSTALL_MOD_PATH=../output/ modules_install
Now, the kernel compilation is complete.
Refer to raspberrypi Repository for details about how to use this compiled kernel to build openEuler image for Raspberry Pi.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。