Skip to content
forked from ophub/kernel

Kernel repository that can be used to Armbian and OpenWrt.

License

Notifications You must be signed in to change notification settings

zhangKatei/kernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

Starting from March 8, 2024, due to the adjustment of the /boot/vmlinuz-xxx file in the kernel from 32MB to 64MB, Amlogic series boxes must update the system bootloader, otherwise, the system will not be able to boot after the kernel update. The update methods for Armbian and OpenWrt systems can be found in the prompt information at the top of the documentation on the homepage of each repository.

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
codesnas/linux-xxx 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.

Links

License

The kernel © OPHUB is licensed under GPL-2.0

About

Kernel repository that can be used to Armbian and OpenWrt.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 100.0%