# kernel
**Repository Path**: mswlive/kernel
## Basic Information
- **Project Name**: kernel
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: GPL-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-08-28
- **Last Updated**: 2025-08-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 内核说明
查看英文说明 | [View English description](README.md)
这些内核可用于 `Armbian` 和 `OpenWrt` 系统。例如 [amlogic-s9xxx-armbian](https://github.com/ophub/amlogic-s9xxx-armbian), [amlogic-s9xxx-openwrt](https://github.com/ophub/amlogic-s9xxx-openwrt), [flippy-openwrt-actions](https://github.com/ophub/flippy-openwrt-actions) 和 [unifreq/openwrt_packit](https://github.com/unifreq/openwrt_packit) 等项目。可以在编译固件时集成,也可以安装到已有的系统中使用。其中的 [kernel_flippy](https://github.com/ophub/kernel/releases/tag/kernel_flippy),[kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable),[kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev) 和 [kernel_beta](https://github.com/ophub/kernel/releases/tag/kernel_beta) 是可以互换使用的通用内核。具体使用方法详见[内核使用说明](https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/compile-kernel/README.cn.md#内核使用说明)。
- 在 Releases 的 [kernel_flippy](https://github.com/ophub/kernel/releases/tag/kernel_flippy) 里的内核文件是`稳定版`,是`flippy`制作分享的系列内核。
- 在 Releases 的 [kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable) 里的内核文件是`稳定版`,根据用户需求启用了更多支持选项。
- 在 Releases 的 [kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev) 里的内核文件是`开发版`,为一些特定盒子添加了第三方的驱动支持和特殊修改。
- 在 Releases 的 [kernel_beta](https://github.com/ophub/kernel/releases/tag/kernel_beta) 里的内核文件是 `测试版`,支持自定义添加第三方驱动等补丁,支持自定义配置编译。
- 在 Releases 的 [kernel_rk3588](https://github.com/ophub/kernel/releases/tag/kernel_rk3588) 里的内核文件是 `rk3588` 系列的`专用版本`,和其他系列不通用。
- 在 Releases 的 [kernel_rk35xx](https://github.com/ophub/kernel/releases/tag/kernel_rk35xx) 里的内核文件是 `rk3528/rk3566/rk3568` 系列的`专用版本`,和其他系列不通用。
- 在 Releases 的 [kernel_h6](https://github.com/ophub/kernel/releases/tag/kernel_h6) 里的内核文件是 `全志 H6(TQC-A01)` 设备的`专用版本`,和其他系列不通用。
- 在 Releases 的 [dev](https://github.com/ophub/kernel/releases/tag/dev) 里有编译内核时需要的`交叉编译工具链`下载镜像。
- 在 Releases 的 [tools](https://github.com/ophub/kernel/releases/tag/tools) 里有一些常见的电视盒子的`安卓系统`下载镜像,在使用 Armbian 和 OpenWrt 系统时,可以用于恢复安卓系统使用。
## 编译内核
- 编译内核的方法详见 [compile-kernel](https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/compile-kernel),使用 github.com 的 Actions 编译内核的方法可参考 [.github/workflows](.github/workflows),可以通过修改 [kernel-config](kernel-config) 里的内核配置文件进行自定义内核,可以在 [kernel-patch](kernel-patch) 目录里添加自定义内核补丁。
- 你可以根据需要对内核的配置进行调整,如添加驱动和补丁。也可以根据心情编译具有特殊意义的个性化签名内核,如 `5.10.95-happy-new-year`, `5.10.96-beijing-winter-olympics`, `5.10.99-valentines-day` 等等。
```yaml
- name: Compile the kernel
uses: ophub/amlogic-s9xxx-armbian@main
with:
build_target: kernel
kernel_version: 5.10.135_5.15.50
kernel_auto: true
kernel_sign: -yourname
```
## 内核源码
非常感谢 unifreq 等大佬们维护的内核源码,目前仓库中的内核文件使用的源码如下:
| 内核标签 | 源码仓库 | 适用设备 |
| ------------- | --------------------- | --------------------- |
| [kernel_flippy](https://github.com/ophub/kernel/releases/tag/kernel_flippy)
[kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable)
[kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev)
[kernel_beta](https://github.com/ophub/kernel/releases/tag/kernel_beta) | [unifreq/linux-5.4.y](https://github.com/unifreq/linux-5.4.y)
[unifreq/linux-5.10.y](https://github.com/unifreq/linux-5.10.y)
[unifreq/linux-5.15.y](https://github.com/unifreq/linux-5.15.y)
[unifreq/linux-6.1.y](https://github.com/unifreq/linux-6.1.y)
[unifreq/linux-6.6.y](https://github.com/unifreq/linux-6.6.y)
[unifreq/linux-6.12.y](https://github.com/unifreq/linux-6.12.y) | Amlogic
Allwinner
Rockchip |
| [kernel_rk3588](https://github.com/ophub/kernel/releases/tag/kernel_rk3588) | [unifreq/linux-5.10.y-rk35xx](https://github.com/unifreq/linux-5.10.y-rk35xx)
[unifreq/linux-6.1.y-rockchip](https://github.com/unifreq/linux-6.1.y-rockchip) | Rockchip-RK3588 |
| [kernel_rk35xx](https://github.com/ophub/kernel/releases/tag/kernel_rk35xx) | [unifreq/linux-5.10.y-rk35xx](https://github.com/unifreq/linux-5.10.y-rk35xx)
[unifreq/linux-6.1.y-rockchip](https://github.com/unifreq/linux-6.1.y-rockchip) | Rockchip-RK3528/RK3566/RK3568 |
| [kernel_h6](https://github.com/ophub/kernel/releases/tag/kernel_h6) | [13584452567/linux-6.4.y](https://github.com/13584452567/linux-6.4.y)
[13584452567/linux-6.5.y](https://github.com/13584452567/linux-6.5.y)
[13584452567/linux-6.6.y](https://github.com/13584452567/linux-6.6.y) | Allwinner-H6(TQC-A01) |
| [kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable)
[kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev)
[kernel_h6](https://github.com/ophub/kernel/releases/tag/kernel_h6)
[kernel_rk3588](https://github.com/ophub/kernel/releases/tag/kernel_rk3588)
[kernel_rk35xx](https://github.com/ophub/kernel/releases/tag/kernel_rk35xx) | [codesnas/linux-5.4.y](https://github.com/codesnas/linux-5.4.y)
[codesnas/linux-5.10.y](https://github.com/codesnas/linux-5.10.y)
[codesnas/linux-5.15.y](https://github.com/codesnas/linux-5.15.y)
[codesnas/linux-6.1.y](https://github.com/codesnas/linux-6.1.y)
[codesnas/linux-6.6.y](https://github.com/codesnas/linux-6.6.y)
[codesnas/linux-6.12.y](https://github.com/codesnas/linux-6.12.y)
[codesnas/linux-h6-6.6.y](https://github.com/codesnas/linux-h6-6.6.y)
[codesnas/linux-5.10.y-rk35xx](https://github.com/codesnas/linux-5.10.y-rk35xx)
[codesnas/linux-6.1.y-rockchip](https://github.com/codesnas/linux-6.1.y-rockchip) | 内核源码复制自 [unifreq](https://github.com/unifreq), [13584452567](https://github.com/13584452567) 和 [chewitt](https://github.com/chewitt/linux) 的仓库,
便于跟随大佬们学习如何给内核打补丁。 |
| [kernel_rk3588](https://github.com/ophub/kernel/releases/tag/kernel_rk3588) | [armbian/linux-rockchip](https://github.com/armbian/linux-rockchip) | Rockchip-Beta(6.1.y) |
| [kernel_rk35xx](https://github.com/ophub/kernel/releases/tag/kernel_rk35xx) | [armbian/linux-rockchip](https://github.com/armbian/linux-rockchip) | Rockchip-Beta(6.1.y) |
## 资源共享
> [!IMPORTANT]
> 我在 [Tools](https://github.com/ophub/kernel/releases/tag/tools) 中备份了一些常见设备的安卓系统镜像,可以用于恢复设备的原安卓系统,在刷机和救砖时可以使用。由于操作失误,我在 2025.05.20 误删除了 kernel 仓库,导致历史资源全部遗失(现已使用热心网友 `Ghost` 分享的123云盘备份资源重新进行了上传,特此感谢!)。根据 github 的政策,恢复仓库的操作只能恢复代码,但是 release 中的资源无法恢复。为了避免以后再次发生类似的意外,请有需要的用户及时下载备份所需资源。
>
> 如果有备份和分享资源的朋友,欢迎在 [issues](https://github.com/ophub/kernel/issues) 中留言分享你的仓库、网盘、镜像站等资源下载地址。不仅限于我备份的这些系统和工具,欢迎分享更多资源。如果你也创建了 [u-boot](https://github.com/ophub/u-boot) / [firmware](https://github.com/ophub/firmware) 等相关仓库均欢迎分享。如果你有 GitLab, Gitee 等仓库也欢迎分享,我会在仓库的友情链接里添加导航。
## 链接
- [unifreq/kernel](https://github.com/unifreq)
- [13584452567/kernel](https://github.com/13584452567/linux-6.4.y)
- [chewitt/linux](https://github.com/chewitt/linux)
- [torvalds/linux](https://github.com/torvalds/linux)
- [kernel.org](https://kernel.org)
## License
The kernel © OPHUB is licensed under [GPL-2.0](https://github.com/ophub/kernel/blob/main/LICENSE)