update kernel to openEuler 5.10.0-4.0.0
This commit is contained in:
parent
256b95eaa2
commit
45ea859e16
@ -16,10 +16,10 @@ AArch64
|
|||||||
|
|
||||||
#### Instructions
|
#### Instructions
|
||||||
|
|
||||||
1. The version of raspberrypi kernel is in the front of `.raspi.aarch64` such as `4.19.90-2005.2.0.0001.raspi.aarch64`.
|
1. The version of raspberrypi kernel is in the front of `.raspi.aarch64` such as `5.10.0-4.0.0.1.raspi.aarch64`.
|
||||||
2. The module files will be installed into `/lib/modules/` such as `/lib/modules/4.19.90-2005.2.0.0001.raspi.aarch64`, where `4.19.90-2005.2.0.0039.raspi` is the version of raspberrypi kernel.
|
2. The module files will be installed into `/lib/modules/` such as `/lib/modules/5.10.0-4.0.0.1.raspi.aarch64`, where `5.10.0-4.0.0.1.raspi` is the version of raspberrypi kernel.
|
||||||
3. The image file will be installed into `/boot/` such as `/boot/vmlinuz-4.19.90-2005.2.0.0001.raspi.aarch64`. Meanwhile, the `/boot/kernel8.img` will be overrided by the image file.
|
3. The image file will be installed into `/boot/` such as `/boot/vmlinuz-5.10.0-4.0.0.1.raspi.aarch64`. Meanwhile, the `/boot/kernel8.img` will be overrided by the image file.
|
||||||
4. The device tree files will be installed into `/boot/` such as `/boot/dtb-4.19.90-2005.2.0.0001.raspi.aarch64`. Meanwhile, the `.dtb` files and `overlays` folder in this `dtb-4.19.90-2005.2.0.0001.raspi.aarch64` directory will replace the corresponding files in `/boot/`.
|
4. The device tree files will be installed into `/boot/` such as `/boot/dtb-5.10.0-4.0.0.1.raspi.aarch64`. Meanwhile, the `.dtb` files and `overlays` folder in this `dtb-5.10.0-4.0.0.1.raspi.aarch64` directory will replace the corresponding files in `/boot/`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -18,10 +18,10 @@ AArch64
|
|||||||
|
|
||||||
安装 raspberrypi-kernel 后,
|
安装 raspberrypi-kernel 后,
|
||||||
|
|
||||||
1. 内核版本号后缀增加 `.raspi` 标识,形如 `4.19.90-2005.2.0.0001.raspi.aarch64`。
|
1. 内核版本号后缀增加 `.raspi` 标识,形如 `5.10.0-4.0.0.1.raspi.aarch64`。
|
||||||
2. 内核模块安装在 `/lib/modules/` 目录下,对应文件夹名称同内核版本号,如 `4.19.90-2005.2.0.0001.raspi.aarch64`。
|
2. 内核模块安装在 `/lib/modules/` 目录下,对应文件夹名称同内核版本号,如 `5.10.0-4.0.0.1.raspi.aarch64`。
|
||||||
3. 内核映像文件在 `/boot/` 目录下,映像文件名形如 `vmlinuz-4.19.90-2005.2.0.0001.raspi.aarch64`。同时,该文件会替换原来的 `/boot/kernel8.img` 文件。
|
3. 内核映像文件在 `/boot/` 目录下,映像文件名形如 `vmlinuz-5.10.0-4.0.0.1.raspi.aarch64`。同时,该文件会替换原来的 `/boot/kernel8.img` 文件。
|
||||||
4. 设备树文件在 `/boot/` 目录下的文件夹下,该文件夹名称形如 `dtb-4.19.90-2005.2.0.0001.raspi.aarch64`。同时,该文件夹下的 `.dtb` 文件和 `overlays` 文件夹会替换 `/boot/` 下对应的文件。
|
4. 设备树文件在 `/boot/` 目录下的文件夹下,该文件夹名称形如 `dtb-5.10.0-4.0.0.1.raspi.aarch64`。同时,该文件夹下的 `.dtb` 文件和 `overlays` 文件夹会替换 `/boot/` 下对应的文件。
|
||||||
|
|
||||||
#### 参与贡献
|
#### 参与贡献
|
||||||
|
|
||||||
|
|||||||
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
%global KernelVer %{version}-%{release}.raspi.%{_target_cpu}
|
%global KernelVer %{version}-%{release}.raspi.%{_target_cpu}
|
||||||
|
|
||||||
%global hulkrelease 2011.1.0
|
%global hulkrelease 4.0.0
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: raspberrypi-kernel
|
Name: raspberrypi-kernel
|
||||||
Version: 4.19.140
|
Version: 5.10.0
|
||||||
Release: %{hulkrelease}.0003
|
Release: %{hulkrelease}.1
|
||||||
Summary: Linux Kernel
|
Summary: Linux Kernel
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://www.kernel.org/
|
URL: http://www.kernel.org/
|
||||||
@ -24,7 +24,7 @@ BuildRequires: hmaccalc
|
|||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: elfutils-libelf-devel
|
BuildRequires: elfutils-libelf-devel
|
||||||
BuildRequires: rpm >= 4.14.2
|
BuildRequires: rpm >= 4.14.2
|
||||||
BuildRequires: elfutils-devel zlib-devel binutils-devel newt-devel python-devel perl(ExtUtils::Embed) bison
|
BuildRequires: elfutils-devel zlib-devel binutils-devel newt-devel perl(ExtUtils::Embed) bison
|
||||||
BuildRequires: audit-libs-devel
|
BuildRequires: audit-libs-devel
|
||||||
BuildRequires: pciutils-devel gettext
|
BuildRequires: pciutils-devel gettext
|
||||||
BuildRequires: rpm-build, elfutils
|
BuildRequires: rpm-build, elfutils
|
||||||
@ -56,7 +56,7 @@ cd linux-%{KernelVer}
|
|||||||
|
|
||||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.raspi.%{_target_cpu}/" Makefile
|
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.raspi.%{_target_cpu}/" Makefile
|
||||||
|
|
||||||
make ARCH=%{Arch} %{?_smp_mflags} openeuler-raspi_defconfig
|
make ARCH=%{Arch} %{?_smp_mflags} bcm2711_defconfig
|
||||||
|
|
||||||
make ARCH=%{Arch} %{?_smp_mflags}
|
make ARCH=%{Arch} %{?_smp_mflags}
|
||||||
|
|
||||||
@ -163,26 +163,5 @@ install -m 644 /boot/dtb-%{KernelVer}/overlays/README /boot/overlays/
|
|||||||
/lib/modules/%{KernelVer}
|
/lib/modules/%{KernelVer}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Nov 16 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.140-2011.1.0.0003
|
* Mon Feb 22 2021 Yafen Fang<yafen@iscas.ac.cn> - 5.10.0-4.0.0.1
|
||||||
- update kernel version to openEuler 4.19.140-2011.1.0
|
- update kernel version to openEuler 5.10.0-4.0.0
|
||||||
|
|
||||||
* Tue Nov 10 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.140-2009.4.1.0002
|
|
||||||
- update to the latest kernel version(4.19.127) of raspberrypi upstream kernel
|
|
||||||
|
|
||||||
* Fri Sep 25 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.140-2009.4.0.0001
|
|
||||||
- Update kernel version to 4.19.140-2009.4.0.
|
|
||||||
|
|
||||||
* Wed Sep 16 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.140-2009.2.0.0001
|
|
||||||
- Update kernel version to 4.19.140-2009.2.0.
|
|
||||||
|
|
||||||
* Wed Sep 2 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.140-2008.3.0.0001
|
|
||||||
- Update kernel version to 4.19.140-2008.3.0.
|
|
||||||
|
|
||||||
* Tue Aug 18 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.138-2008.1.0.0001
|
|
||||||
- Update kernel version to 4.19.138-2008.1.0.
|
|
||||||
|
|
||||||
* Tue Jul 21 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.90-2005.2.0.0002
|
|
||||||
- Override old files in /boot.
|
|
||||||
|
|
||||||
* Tue Jul 7 2020 Yafen Fang<yafen@iscas.ac.cn> - 4.19.90-2005.2.0.0001
|
|
||||||
- Add spec file to generate RaspberryPi kernel image rpm.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user