diff --git a/0000-raspberrypi-kernel.patch b/0000-raspberrypi-kernel.patch index 1cab605..8bbb294 100644 --- a/0000-raspberrypi-kernel.patch +++ b/0000-raspberrypi-kernel.patch @@ -1,10 +1,9 @@ -From d177e16468aae54baec6af6b93eb7cdd80cc82a4 Mon Sep 17 00:00:00 2001 +From 206dcf42462c5ad8d8c38955848f9320d419b89c Mon Sep 17 00:00:00 2001 From: Yafen Date: Thu, 30 May 2024 00:36:36 +0800 Subject: [PATCH] apply RPi patch of 5.10.0(openEuler 5.10.0-201.0.0) --- - .gitignore | 1 + .../admin-guide/media/bcm2835-isp.rst | 127 + .../clock/raspberrypi,firmware-clocks.yaml | 32 + .../bindings/display/brcm,bcm2711-hdmi.yaml | 20 +- @@ -48,8 +47,6 @@ Subject: [PATCH] apply RPi patch of 5.10.0(openEuler 5.10.0-201.0.0) .../userspace-api/media/v4l/yuv-formats.rst | 3 + MAINTAINERS | 48 + Makefile | 3 + - README.en.md | 73 + - README.md | 73 + arch/arm/boot/dts/Makefile | 31 +- arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 131 + arch/arm/boot/dts/bcm2708-rpi-b-rev1.dts | 134 + @@ -903,7 +900,7 @@ Subject: [PATCH] apply RPi patch of 5.10.0(openEuler 5.10.0-201.0.0) sound/soc/soc-core.c | 14 +- sound/usb/quirks-table.h | 9 + sound/usb/quirks.c | 6 + - 899 files changed, 175616 insertions(+), 4723 deletions(-) + 896 files changed, 175469 insertions(+), 4723 deletions(-) create mode 100644 Documentation/admin-guide/media/bcm2835-isp.rst create mode 100644 Documentation/devicetree/bindings/clock/raspberrypi,firmware-clocks.yaml create mode 100644 Documentation/devicetree/bindings/hwmon/rpi-poe-fan.txt @@ -926,8 +923,6 @@ Subject: [PATCH] apply RPi patch of 5.10.0(openEuler 5.10.0-201.0.0) create mode 100644 Documentation/userspace-api/media/v4l/pixfmt-nv12-col128.rst create mode 100644 Documentation/userspace-api/media/v4l/pixfmt-y12p.rst create mode 100644 Documentation/userspace-api/media/v4l/pixfmt-y14p.rst - create mode 100644 README.en.md - create mode 100644 README.md create mode 100644 arch/arm/boot/dts/bcm2708-rpi-b-plus.dts create mode 100644 arch/arm/boot/dts/bcm2708-rpi-b-rev1.dts create mode 100644 arch/arm/boot/dts/bcm2708-rpi-b.dts @@ -1426,18 +1421,6 @@ Subject: [PATCH] apply RPi patch of 5.10.0(openEuler 5.10.0-201.0.0) create mode 100644 sound/soc/codecs/tas5713.c create mode 100644 sound/soc/codecs/tas5713.h -diff --git a/.gitignore b/.gitignore -index 67d2f3503128..8b0b16eeca88 100644 ---- a/.gitignore -+++ b/.gitignore -@@ -18,6 +18,7 @@ - *.c.[012]*.* - *.dt.yaml - *.dtb -+*.dtbo - *.dtb.S - *.dwo - *.elf diff --git a/Documentation/admin-guide/media/bcm2835-isp.rst b/Documentation/admin-guide/media/bcm2835-isp.rst new file mode 100644 index 000000000000..e1c19f78435e @@ -4258,164 +4241,6 @@ index e1e4ca4737a7..f041c9c54f63 100644 PHONY += dtbs dtbs_install dtbs_check dtbs: include/config/kernel.release scripts_dtc $(Q)$(MAKE) $(build)=$(dtstree) -diff --git a/README.en.md b/README.en.md -new file mode 100644 -index 000000000000..7299a7e697a0 ---- /dev/null -+++ b/README.en.md -@@ -0,0 +1,73 @@ -+# raspberrypi-kernel -+ -+English | [简体中文](./README.md) -+ -+#### Description -+ -+The 5.10 kernel for running on Raspberry Pi. -+ -+This repository is based on [openEuler OLK-5.10](https://gitee.com/openeuler/kernel/tree/OLK-5.10/) version kernel, and is merged with the 5.10.y branch of [Raspberry Pi kernel](https://github.com/raspberrypi/linux/tree/rpi-5.10.y). -+ -+#### Architecture Requirements -+ -+Hardware: Raspberry Pi 3B/3B+/4B/400. -+ -+Architecture: AArch64. -+ -+#### Compiling -+ -+Compile kernel and kernel modules. -+ -+1. Prepare compile environment -+ -+ OS: openEuler or CentOS 7/8; -+ -+ Architecture: AArch64. -+ -+ You follow the documents of [raspberrypi](https://gitee.com/openeuler/raspberrypi/blob/master/README.en.md) to cross-compile this kernel. -+ -+2. Download source -+ -+ `git clone git@gitee.com:openeuler/raspberrypi-kernel.git -b OLK-5.10 && cd raspberrypi-kernel` -+ -+3. Load default settings -+ -+ `make bcm2711_defconfig` -+ -+ The corresponding defconfig file is in ./arch/arm64/configs. -+ -+4. Compile kernel -+ -+ `make ARCH=arm64 -j4` -+ -+5. Create directory for compiling kernel modules -+ -+ `mkdir ../output` -+ -+6. Compile kernel modules -+ -+ `make INSTALL_MOD_PATH=../output/ modules_install` -+ -+Now, the kernel compilation is complete. -+ -+#### Installation -+ -+Refer to [raspberrypi Repository](https://gitee.com/openeuler/raspberrypi) for details about how to use this compiled kernel to build openEuler image for Rasberry Pi. -+ -+#### Contributions -+ -+1. Fork the repository -+2. Create Feat_xxx branch -+3. Commit your code -+4. Create Pull Request -+ -+ -+#### Gitee Feature -+ -+1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -+2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -+3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -+4. The most valuable open source project [GVP](https://gitee.com/gvp) -+5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -+6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -+ -diff --git a/README.md b/README.md -new file mode 100644 -index 000000000000..b0aba9f19ef6 ---- /dev/null -+++ b/README.md -@@ -0,0 +1,73 @@ -+# raspberrypi-kernel -+ -+[English](./README.en.md) | 简体中文 -+ -+#### 介绍 -+ -+适用于树莓派 的 5.10 版本的内核源码。 -+ -+本仓库基于 [openEuler OLK-5.10](https://gitee.com/openeuler/kernel/tree/OLK-5.10/) 版本的内核,合并了上游 [树莓派内核 5.10.y](https://github.com/raspberrypi/linux/tree/rpi-5.10.y) 的分支代码。 -+ -+#### 支持硬件 -+ -+树莓派 3B/3B+/4B/400 -+ -+架构:AArch64 -+ -+#### 编译 -+ -+编译内核和内核模块。 -+ -+1. 准备编译环境 -+ -+ 操作系统:openEuler 或 CentOS 7/8 -+ -+ 架构:AArch64 -+ -+ 交叉编译请参照:[交叉编译内核](https://gitee.com/openeuler/raspberrypi/blob/master/documents/交叉编译内核.md) -+ -+2. 下载源码 -+ -+ `git clone git@gitee.com:openeuler/raspberrypi-kernel.git -b OLK-5.10 && cd raspberrypi-kernel` -+ -+3. 载入默认设置 -+ -+ `make bcm2711_defconfig` -+ -+ 对应的 defconfig 文件在 ./arch/arm64/configs 下。 -+ -+4. 编译内核 -+ -+ `make ARCH=arm64 -j4` -+ -+5. 创建编译内核模块目录 -+ -+ `mkdir ../output` -+ -+6. 编译内核模块 -+ -+ `make INSTALL_MOD_PATH=../output/ modules_install` -+ -+至此,内核编译完成。 -+ -+#### 使用说明 -+ -+利用上面编译好的内核来构建镜像,具体文档参见 [raspberrypi 仓库](https://gitee.com/openeuler/raspberrypi)。 -+ -+#### 参与贡献 -+ -+1. Fork 本仓库 -+2. 新建 Feat_xxx 分支 -+3. 提交代码 -+4. 新建 Pull Request -+ -+ -+#### 码云特技 -+ -+1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -+2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -+3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -+4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -+5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -+6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -+ diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d93f01dddc3f..432c4d76bb35 100644 --- a/arch/arm/boot/dts/Makefile diff --git a/raspberrypi-kernel.spec b/raspberrypi-kernel.spec index 0046dc8..ae768eb 100644 --- a/raspberrypi-kernel.spec +++ b/raspberrypi-kernel.spec @@ -2,13 +2,13 @@ %global KernelVer %{version}-%{release}.raspi.%{_target_cpu} -%global hulkrelease 201.0.0 +%global hulkrelease 209.0.0 %global debug_package %{nil} Name: raspberrypi-kernel Version: 5.10.0 -Release: %{hulkrelease}.20 +Release: %{hulkrelease}.21 Summary: Linux Kernel License: GPLv2 URL: http://www.kernel.org/ @@ -262,6 +262,9 @@ fi /usr/src/kernels/%{KernelVer} %changelog +* Thu Jun 20 2024 Yafen Fang - 5.10.0-209.0.0.21 +- update kernel version to openEuler 5.10.0-209.0.0 + * Thu May 30 2024 Yafen Fang - 5.10.0-201.0.0.20 - update kernel version to openEuler 5.10.0-201.0.0