{"id":17330108,"url":"https://github.com/ophub/kernel","last_synced_at":"2025-04-07T14:14:10.664Z","repository":{"id":37933599,"uuid":"427185304","full_name":"ophub/kernel","owner":"ophub","description":"These kernels can be used on Armbian and OpenWrt systems.","archived":false,"fork":false,"pushed_at":"2024-04-11T12:16:03.000Z","size":2237472,"stargazers_count":147,"open_issues_count":2,"forks_count":169,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-11T15:37:40.279Z","etag":null,"topics":["allwinner","amlogic","armbian","kernel","openwer","rockchip"],"latest_commit_sha":null,"homepage":"","language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ophub.png","metadata":{"files":{"readme":"README.cn.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-11-12T00:39:07.000Z","updated_at":"2024-04-15T09:36:00.438Z","dependencies_parsed_at":"2023-11-09T14:26:05.529Z","dependency_job_id":"dd0b5648-50c2-48ec-acff-0264ec96b3c9","html_url":"https://github.com/ophub/kernel","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ophub%2Fkernel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ophub%2Fkernel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ophub%2Fkernel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ophub%2Fkernel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ophub","download_url":"https://codeload.github.com/ophub/kernel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666015,"owners_count":20975788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["allwinner","amlogic","armbian","kernel","openwer","rockchip"],"created_at":"2024-10-15T14:50:22.186Z","updated_at":"2025-04-07T14:14:10.626Z","avatar_url":"https://github.com/ophub.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 内核说明\n\n查看英文说明 | [View English description](README.md)\n\n这些内核可用于 `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#内核使用说明)。\n\n- 在 Releases 的 [kernel_flippy](https://github.com/ophub/kernel/releases/tag/kernel_flippy) 里的内核文件是`稳定版`，是`flippy`制作分享的系列内核。\n- 在 Releases 的 [kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable) 里的内核文件是`稳定版`，根据用户需求启用了更多支持选项。\n- 在 Releases 的 [kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev) 里的内核文件是`开发版`，为一些特定盒子添加了第三方的驱动支持和特殊修改。\n- 在 Releases 的 [kernel_beta](https://github.com/ophub/kernel/releases/tag/kernel_beta) 里的内核文件是 `测试版`，支持自定义添加第三方驱动等补丁，支持自定义配置编译。\n- 在 Releases 的 [kernel_rk3588](https://github.com/ophub/kernel/releases/tag/kernel_rk3588) 里的内核文件是 `rk3588` 系列的`专用版本`，和其他系列不通用。\n- 在 Releases 的 [kernel_rk35xx](https://github.com/ophub/kernel/releases/tag/kernel_rk35xx) 里的内核文件是 `rk3528/rk3566/rk3568` 系列的`专用版本`，和其他系列不通用。\n- 在 Releases 的 [kernel_h6](https://github.com/ophub/kernel/releases/tag/kernel_h6) 里的内核文件是 `全志 H6（TQC-A01）` 设备的`专用版本`，和其他系列不通用。\n- 在 Releases 的 [dev](https://github.com/ophub/kernel/releases/tag/dev) 里有编译内核时需要的`交叉编译工具链`下载镜像。\n- 在 Releases 的 [tools](https://github.com/ophub/kernel/releases/tag/tools) 里有一些常见的电视盒子的`安卓系统`下载镜像，在使用 Armbian 和 OpenWrt 系统时，可以用于恢复安卓系统使用。\n\n## 编译内核\n\n- 编译内核的方法详见 [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) 目录里添加自定义内核补丁。\n\n- 你可以根据需要对内核的配置进行调整，如添加驱动和补丁。也可以根据心情编译具有特殊意义的个性化签名内核，如 `5.10.95-happy-new-year`, `5.10.96-beijing-winter-olympics`, `5.10.99-valentines-day` 等等。\n\n\n```yaml\n- name: Compile the kernel\n  uses: ophub/amlogic-s9xxx-armbian@main\n  with:\n    build_target: kernel\n    kernel_version: 5.10.135_5.15.50\n    kernel_auto: true\n    kernel_sign: -yourname\n```\n\n## 内核源码\n\n非常感谢 unifreq 等大佬们维护的内核源码，目前仓库中的内核文件使用的源码如下：\n\n| 内核标签        | 源码仓库               | 适用设备               |\n| ------------- | --------------------- | --------------------- |\n| [kernel_flippy](https://github.com/ophub/kernel/releases/tag/kernel_flippy)\u003cbr\u003e[kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable)\u003cbr\u003e[kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev)\u003cbr\u003e[kernel_beta](https://github.com/ophub/kernel/releases/tag/kernel_beta) | [unifreq/linux-5.4.y](https://github.com/unifreq/linux-5.4.y)\u003cbr\u003e[unifreq/linux-5.10.y](https://github.com/unifreq/linux-5.10.y)\u003cbr\u003e[unifreq/linux-5.15.y](https://github.com/unifreq/linux-5.15.y)\u003cbr\u003e[unifreq/linux-6.1.y](https://github.com/unifreq/linux-6.1.y)\u003cbr\u003e[unifreq/linux-6.6.y](https://github.com/unifreq/linux-6.6.y)\u003cbr\u003e[unifreq/linux-6.12.y](https://github.com/unifreq/linux-6.12.y) | Amlogic\u003cbr\u003eAllwinner\u003cbr\u003eRockchip |\n| [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) | Rockchip-RK3588 |\n| [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) | Rockchip-RK3528/RK3566/RK3568 |\n| [kernel_h6](https://github.com/ophub/kernel/releases/tag/kernel_h6) | [13584452567/linux-6.4.y](https://github.com/13584452567/linux-6.4.y)\u003cbr\u003e[13584452567/linux-6.5.y](https://github.com/13584452567/linux-6.5.y)\u003cbr\u003e[13584452567/linux-6.6.y](https://github.com/13584452567/linux-6.6.y) | Allwinner-H6(TQC-A01) |\n| [kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable)\u003cbr\u003e[kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev)\u003cbr\u003e[kernel_h6](https://github.com/ophub/kernel/releases/tag/kernel_h6)\u003cbr\u003e[kernel_rk3588](https://github.com/ophub/kernel/releases/tag/kernel_rk3588)\u003cbr\u003e[kernel_rk35xx](https://github.com/ophub/kernel/releases/tag/kernel_rk35xx) | [codesnas/linux-5.4.y](https://github.com/codesnas/linux-5.4.y)\u003cbr\u003e[codesnas/linux-5.10.y](https://github.com/codesnas/linux-5.10.y)\u003cbr\u003e[codesnas/linux-5.15.y](https://github.com/codesnas/linux-5.15.y)\u003cbr\u003e[codesnas/linux-6.1.y](https://github.com/codesnas/linux-6.1.y)\u003cbr\u003e[codesnas/linux-6.6.y](https://github.com/codesnas/linux-6.6.y)\u003cbr\u003e[codesnas/linux-6.12.y](https://github.com/codesnas/linux-6.12.y)\u003cbr\u003e[codesnas/linux-h6-6.6.y](https://github.com/codesnas/linux-h6-6.6.y)\u003cbr\u003e[codesnas/linux-5.10.y-rk35xx](https://github.com/codesnas/linux-5.10.y-rk35xx) | 内核源码复制自 [unifreq](https://github.com/unifreq), [13584452567](https://github.com/13584452567) 和 [chewitt](https://github.com/chewitt/linux) 的仓库，\u003cbr\u003e便于跟随大佬们学习如何给内核打补丁。 |\n| [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) |\n| [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) |\n\n\n## 链接\n\n- [unifreq/kernel](https://github.com/unifreq)\n- [13584452567/kernel](https://github.com/13584452567/linux-6.4.y)\n- [chewitt/linux](https://github.com/chewitt/linux)\n- [torvalds/linux](https://github.com/torvalds/linux)\n- [kernel.org](https://kernel.org)\n\n## License\n\nThe kernel © OPHUB is licensed under [GPL-2.0](https://github.com/ophub/kernel/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fophub%2Fkernel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fophub%2Fkernel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fophub%2Fkernel/lists"}