/kernel

自编译电视盒子内核

Primary LanguageRoffGNU General Public License v2.0GPL-2.0

Kernel Description

View Chinese description | 查看中文说明

These kernels can be used for Armbian and OpenWrt systems, such as the amlogic-s9xxx-armbian, amlogic-s9xxx-openwrt, flippy-openwrt-actions, and unifreq/openwrt_packit projects. They can be integrated when compiling firmware or installed in an existing system. Among them, kernel_flippy, kernel_stable, kernel_dev and kernel_beta are interchangeable general-purpose kernels. For specific usage methods, see the Kernel Use Instructions.

  • The kernel files in the kernel_flippy section of the Releases are stable version, which are series kernels shared by flippy.
  • The kernel files in the kernel_stable section of the Releases are stable version, which have enabled more support options according to user needs.
  • The kernel files in the kernel_dev section of the Releases are development version, which added third-party driver support and special modifications for some specific boxes.
  • The kernel files in the kernel_beta section of the Releases are beta version, which support custom addition of third-party driver patches, and allow custom configuration compilation.
  • The kernel files in the kernel_rk3588 section of the Releases are special version for the rk3588 series, and they are not compatible with other series.
  • The kernel files in the kernel_rk35xx section of the Releases are special version for the rk3528/rk3566/rk3568 series, and they are not compatible with other series.
  • The kernel files in the kernel_h6 section of the Releases are special version for the Allwinner H6 (TQC-A01) device, and they are not compatible with other series.
  • The dev section in the Releases has the download image of the cross-compilation toolchain required when compiling the kernel.
  • The tools section in the Releases has download images of Android systems for some common TV boxes, which can be used to restore the Android system when using Armbian and OpenWrt systems.

Kernel Compilation

  • For the method of kernel compilation, please refer to compile-kernel. For the method of kernel compilation using Actions on github.com, refer to .github/workflows. You can customize the kernel by modifying the kernel configuration files in kernel-config, and add custom kernel patches in the kernel-patch directory.

  • You can adjust the configuration of the kernel according to your needs, such as adding drivers and patches. You can also compile a personalized signature kernel with special meaning according to your mood, such as 5.10.95-happy-new-year, 5.10.96-beijing-winter-olympics, 5.10.99-valentines-day, etc.

- 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

Kernel Source Code

A big thank you to unifreq and others for maintaining the kernel source code. The source code used in the kernel files in the repository is as follows:

Kernel Tags Source Code Repository Applicable devices
kernel_flippy
kernel_stable
kernel_dev
kernel_beta
unifreq/linux-5.4.y
unifreq/linux-5.10.y
unifreq/linux-5.15.y
unifreq/linux-6.1.y
unifreq/linux-6.6.y
Amlogic
Allwinner
Rockchip
kernel_rk3588 unifreq/linux-5.10.y-rk35xx Rockchip-RK3588
kernel_rk35xx unifreq/linux-5.10.y-rk35xx Rockchip-RK3528/RK3566/RK3568
kernel_h6 13584452567/linux-6.4.y
13584452567/linux-6.5.y
13584452567/linux-6.6.y
Allwinner-H6(TQC-A01)
kernel_stable
kernel_dev
kernel_h6
kernel_rk3588
kernel_rk35xx
codesnas/linux-5.4.y
codesnas/linux-5.10.y
codesnas/linux-5.15.y
codesnas/linux-6.1.y
codesnas/linux-6.6.y
codesnas/linux-h6-6.6.y
codesnas/linux-5.10.y-rk35xx
The kernel source code was cloned from the repositories
of unifreq, 13584452567 and chewitt, facilitating learning
how to patch the kernel by following these experts.
kernel_rk3588 armbian/linux-rockchip Rockchip-Beta(6.1.y)
kernel_rk35xx armbian/linux-rockchip Rockchip-Beta(6.1.y)

Links

License

The kernel © OPHUB is licensed under GPL-2.0