Giter VIP home page Giter VIP logo

kernel's Introduction

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.
kernel_rk3588
kernel_rk35xx
armbian/linux-rockchip Rockchip-Beta(6.1.y)

Links

License

The kernel © OPHUB is licensed under GPL-2.0

kernel's People

Contributors

13584452567 avatar ophub avatar syb999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kernel's Issues

6.0.9 update for VIM3 not working

Hi. I try to update 6.0.y kenel for VIM3 but it seem not working.

khadas@Khadas:~/6.0.9$ sudo armbian-update 6.0.9 stable no        
[ STEPS ] Ready to update, please wait...
[ STEPS ] Start initializing the environment...
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
[ INFO ] Use kernel branch: [ stable ]
[ INFO ] Use mainline u-boot: [ no ]
[ STEPS ] Use local kernel files: 6.0.9

[ STEPS ] Start checking the kernel...
[ INFO ] Kernel name: [ 6.0.9-ophub ]
[ INFO ] K510: [ 1 ]
[ INFO ] Enable sha256sum checking...
[ INFO ] (1/4) [ boot-6.0.9-ophub.tar.gz ] file sha256sum check same.
[ INFO ] (2/4) [ dtb-amlogic-6.0.9-ophub.tar.gz ] file sha256sum check same.
[ INFO ] (3/4) [ header-6.0.9-ophub.tar.gz ] file sha256sum check same.
[ INFO ] (4/4) [ modules-6.0.9-ophub.tar.gz ] file sha256sum check same.

[ STEPS ] Start unpacking the kernel...
[ INFO ] (1/4) Unpacking [ boot-6.0.9-ophub.tar.gz ] done.
[ INFO ] (2/4) Unpacking [ dtb-amlogic-6.0.9-ophub.tar.gz ] done.
[ INFO ] (3/4) Unpacking [ header-6.0.9-ophub.tar.gz ] done.
[ INFO ] (4/4) Unpacking [ modules-6.0.9-ophub.tar.gz ] done.

[ STEPS ] Start updating the uboot...
[ INFO ] The u-boot-gtkingpro.bin file copy is complete.

[ SUCCESS ] Successfully updated, automatic restarting...`

`3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
reading emmc_autoscript
831 bytes read in 3 ms (270.5 KiB/s)
## Executing script at 01020000
reading u-boot.emmc
757080 bytes read in 26 ms (27.8 MiB/s)
## Starting application at 0x01000000 ...


U-Boot 2021.07-rc3-00183-gd6e1cdad51-dirty (May 31 2021 - 22:35:04 +0800) beelink

Model: Beelink GT-King Pro
SoC:   Amlogic Meson G12B (A311D) Revision 29:b (10:2)
DRAM:  2 GiB
MMC:   sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@ff3f0000
Hit any key to stop autoboot:  0 
starting USB...
Bus usb@ff500000: Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.10
scanning bus usb@ff500000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
unable to select a mode : -110
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

Retry time exceeded; starting again
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-ae-7e-bd-c9-21-ce
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-meson-beelink-s922x
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-meson
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
Speed: 1000, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Config file not found
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

Retry time exceeded; starting again
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4

GPU memory

How do I configure armbian's GPU memory usage size? Need to declare in that file, what is the format for example?

测试6.6.21、22内核不支持TVI3315A的无线

Device Information | 设备信息

  • SOC: [rk3399]
  • Model [TVI3315a]

**System Version | F大最新的rootfs

  • System: [OpenWrt]

**Kernel Version | 6.6.21/22

  • Kernel Version: [ 6.6.21/22]

Describe the bug | 问题描述
最新的6.6.x内核不支持TVI3315A的无线,同样的rootfs用6.1.81/82均无问题

Please provide a detailed description of the issue and, if necessary, attach a screenshot.
详细描述问题,并在必要时附上屏幕截图。

解析固件失败

Device Information | 设备信息

  • SOC: S905L3
  • Model:UNT402A

System Version | 系统版本

  • System: [e.g. Armbian/OpenWrt]

Kernel Version | 内核版本

  • Kernel Version: [e.g. 5.15.100]

Describe the bug | 问题描述
All issues will only remain open for one week to prioritize resolving them.
After that period, they will be closed but can still continue to be discussed in the thread.
所有的问题都只保留一周的开启状态供重点关注解决,超时将关闭,但仍然可以长期继续跟帖讨论。

Please provide a detailed description of the issue and, if necessary, attach a screenshot.
详细描述问题,并在必要时附上屏幕截图。

使用aml_burning_toolV3.2.0导入Armbian_24.2.0_amlogic_s905l3_jammy_6.1.66_server_2023.12.08.img解析固件失败
也使用了v2.6导入也是解析固件失败 如何解决呢?
image

求助,CM311-1a-YST U盘启动armbian系统,花屏后无显示,设备绿灯。

安卓TV固件:android_tv_cm311-1a-yst_s905l3a.tar.xz
armbian系统镜像:Armbian_23.02.0_amlogic_s905l3a_bullseye_5.15.91_server_2023.02.02.img.gz
尝试过换U盘,尝试过修改uEnv.txt,将FDT=/dtb/amlogic/meson-g12a-s905l3a-e900v22c.dtb修改为FDT=/dtb/amlogic/meson-g12a-s905l3a-cm311.dtb,均是同样的现象:花屏后无显示,设备绿灯。
同样的U盘,N1可以进入armbian系统,并刷入emmc。

error compile kernel 5.15 and 6.1

kernel 6.1.88
kernel 5.15.157

drivers/net/ethernet/qualcomm/sfe/shortcut-fe/sfe_ipv4.c: In function ‘sfe_ipv4_recv_udp’:
drivers/net/ethernet/qualcomm/sfe/shortcut-fe/sfe_ipv4.c:1477:12: error: ‘struct sk_buff’ has no member named ‘fast_forwarded’
 1477 |         skb->fast_forwarded = 1;
      |            ^~
drivers/net/ethernet/qualcomm/sfe/shortcut-fe/sfe_ipv4.c: In function ‘sfe_ipv4_recv_tcp’:
drivers/net/ethernet/qualcomm/sfe/shortcut-fe/sfe_ipv4.c:2050:12: error: ‘struct sk_buff’ has no member named ‘fast_forwarded’
 2050 |         skb->fast_forwarded = 1;
      |            ^~
make[6]: *** [scripts/Makefile.build:250: drivers/net/ethernet/qualcomm/sfe/shortcut-fe/sfe_ipv4.o] Error 1
make[5]: *** [scripts/Makefile.build:500: drivers/net/ethernet/qualcomm/sfe/shortcut-fe] Error 2
make[4]: *** [scripts/Makefile.build:500: drivers/net/ethernet/qualcomm] Error 2
make[3]: *** [scripts/Makefile.build:500: drivers/net/ethernet] Error 2
make[2]: *** [scripts/Makefile.build:500: drivers/net] Error 2
make[1]: *** [scripts/Makefile.build:500: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....

error build kernel 5.15.165

@ophub

drivers/spi/spidev.c:741:22: error: ‘SPIDEV_ACPI_DUMMY’ undeclared here (not in a function)
  741 |         { "SPT0001", SPIDEV_ACPI_DUMMY },
      |                      ^~~~~~~~~~~~~~~~~
drivers/spi/spidev.c: In function ‘spidev_probe_acpi’:
drivers/spi/spidev.c:752:14: error: implicit declaration of function ‘has_acpi_companion’ [-Werror=implicit-function-declaration]
  752 |         if (!has_acpi_companion(&spi->dev))
      |              ^~~~~~~~~~~~~~~~~~
drivers/spi/spidev.c:755:14: error: implicit declaration of function ‘acpi_match_device’; did you mean ‘spi_add_device’? [-Werror=implicit-function-declaration]
  755 |         id = acpi_match_device(spidev_acpi_ids, &spi->dev);
      |              ^~~~~~~~~~~~~~~~~
      |              spi_add_device
drivers/spi/spidev.c:755:12: warning: assignment to ‘const struct acpi_device_id *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  755 |         id = acpi_match_device(spidev_acpi_ids, &spi->dev);
      |            ^
drivers/spi/spidev.c: At top level:
drivers/spi/spidev.c:762:2: error: #else without #if
  762 | #else
      |  ^~~~
drivers/spi/spidev.c:763:20: error: redefinition of ‘spidev_probe_acpi’
  763 | static inline void spidev_probe_acpi(struct spi_device *spi) {}
      |                    ^~~~~~~~~~~~~~~~~
drivers/spi/spidev.c:748:13: note: previous definition of ‘spidev_probe_acpi’ with type ‘void(struct spi_device *)’
  748 | static void spidev_probe_acpi(struct spi_device *spi)
      |             ^~~~~~~~~~~~~~~~~
drivers/spi/spidev.c:764:2: error: #endif without #if
  764 | #endif
      |  ^~~~~
  CC [M]  fs/ksmbd/mgmt/user_config.o
drivers/spi/spidev.c: In function ‘spidev_probe’:
drivers/spi/spidev.c:779:34: error: implicit declaration of function ‘of_match_device’ [-Werror=implicit-function-declaration]
  779 |         if (spi->dev.of_node && !of_match_device(spidev_dt_ids, &spi->dev)) {
      |                                  ^~~~~~~~~~~~~~~
drivers/spi/spidev.c: At top level:
drivers/spi/spidev.c:748:13: warning: ‘spidev_probe_acpi’ defined but not used [-Wunused-function]
  748 | static void spidev_probe_acpi(struct spi_device *spi)
      |             ^~~~~~~~~~~~~~~~~
drivers/spi/spidev.c:728:12: warning: ‘spidev_acpi_check’ defined but not used [-Wunused-function]
  728 | static int spidev_acpi_check(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:289: drivers/spi/spidev.o] Error 1
make[1]: *** [scripts/Makefile.build:552: drivers/spi] Error 2
make: *** [Makefile:1908: drivers] Error 2
make: *** Waiting for unfinished jobs....

可否添加针对全志H6的内核预编译文件?

最近在适配泰奇猫的时候发现全志使用的硬件有很多并不符合规范的地方。为适配所打的补丁可能会对其它设备产生负面影响。

在这个仓库添加内核文件之后可否将其作为armbian仓库的H6芯片的默认内核?

Fix error config-5.15

@ophub

add in config-5.15 # CONFIG_PAGE_POOL_STATS is not set this solves the problem. it looks like the config-6.1 has been applied

#23

请问下我用qemu测试镜像怎么启动不了

用qemu启动image; 是需要指定cpu或者 append-root么; 反正现在一直卡着,也没有debug

qemu-system-aarch64 \
  --machine virt \
  --m 1024 \
  --drive "format=raw,file=./Armbian_23.02.0_amlogic_s905x_bullseye_5.15.84_server_2022.12.21.img" \
  --net nic --net user,hostfwd=tcp::5032-:22 \
  --dtb "./meson-gxl-s905x-p212.dtb" \
  --kernel "./vmlinuz-5.15.84-flippy-80+o" \
  --append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 rootwait panic=1" \
  --no-reboot \
  --display none \
  --serial mon:stdio

6.6的内核里面没有can驱动了

Welcome to Armbian OS 24.5.0 Jammy with Linux 6.6.24-flippy-89+

特殊需求 用了5.15.152的内核 里面支持USBcan通讯 但是wifi没有8723ds驱动,看到最新的内核添加了8723ds驱动 但是没有can驱动协议,希望可以添加 谢谢

RK3328-L1Pro 換了新核心後風扇就不轉

Device Information | 设备信息

  • SOC: [RK3328]
  • Model [L1-Pro]

System Version | 系统版本

  • System: [Armbian]

Kernel Version | 内核版本

  • Kernel Version: [5.15.120]

Describe the bug | 问题描述

RK3328-L1Pro 換了新核心後風扇就不轉了,只會開機時初始化一下。
嘗試不同的Kernel

  • Kernel_flippy 的5.15.120,
  • Kernel_statle的6.1.34和6.1.38

請問OPHUB大佬, 有沒有一個腳本可以控制l1pro的風扇?

Please provide a detailed description of the issue and, if necessary, attach a screenshot.

溫度長期在66-73之間,好像在高溫情況下, SMB性能會減弱。

2023-07-12_113626

2023-07-12_113838

Name kernel

can you use your kernel name flippy don't ophub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.