Rock3a内核分享(Rock3A kernel share)

内核版本: 4.19.193
kernel version: 4.19.193

源码库: https://github.com/radxa/kernel.git
source code repo: https://github.com/radxa/kernel.git

源码commit id: 23b5e2dbcf45b820fbc72d9fea49f1debee6feef
source code commit id: 23b5e2dbcf45b820fbc72d9fea49f1debee6feef

编译器:
ubuntu amd64软件源的aarch64-linux-gnu工具链 9.3.0-17ubuntu1~20.04

compiler:
aarch64-linux-gnu toolchain 9.3.0-17ubuntu1~20.04 from ubuntu amd64 apt source

Using built-in specs.
COLLECT_GCC=aarch64-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/aarch64-linux-gnu/9/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --without-target-system-zlib --enable-libpth-m2 --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --includedir=/usr/aarch64-linux-gnu/include
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)

功能列表

  • 服务器模式调度(无优先)
  • 编译优化级别为速度优化
  • cpu频率调度策略为ondemand
  • 启用了所有加密api
  • 启用了所有eth网络栈支持
  • 启用了所有有线网络

I had build a kernel with these features:

  • Preemption Model for server mode;
  • Compiler optimize for performance
  • CPU Frequency scaling default ondemand
  • All cryptographic API support
  • All eth network stack support
  • All wired network device support

目前只上传了度盘和股沟盘

now i just upload it to baidu net disk and google drive.

文件hash:
file sha256 hash:

bf6e668574244785139b06782ed7b464414b6e59b3c5a0c9340d6144918c96d8  config-20211109-0810
1678a9ba5d34ba36edcb457473db8d422162e6e94d27fd0c52a6b26bb7a92fd5  linux-headers-4.19.193-aghost-20211109-rockchip-g23b5e2dbcf45_4.19.193-aghost-20211109-rockchip_arm64.deb
6eb0d41a6975076a3f7b5da7993301d48674c67512334f1481886857fb12db28  linux-image-4.19.193-aghost-20211109-rockchip-g23b5e2dbcf45-dbg_4.19.193-aghost-20211109-rockchip_arm64.deb
534aca0d5fcda02c747d3c17def96fb5b82ca7e34f3c0b6961893e18c931be2c  linux-image-4.19.193-aghost-20211109-rockchip-g23b5e2dbcf45_4.19.193-aghost-20211109-rockchip_arm64.deb
28d85d35d52309c72f67265244e25e2fcfa0785a8d00219f0264bdd05599ddb9  linux-libc-dev_4.19.193-aghost-20211109-rockchip_arm64.deb

度盘链接:
download link:

链接(link):https://pan.baidu.com/s/14EGZtsDdZGPFKBGih8BSog 
提取码(download password):bnux 

google drive:

https://drive.google.com/drive/folders/1s1bbTXIDJdXhqv8LCSumm16eA7yso1d2?usp=sharing
1 Like

打的deb包,可以用在ubuntu和debian或者基于这俩做的发行版上

deb package, can install in ubuntu/debian or others based on them

Thanks for Your work and sharing it.
I also build that one some time ago, but it’s still 4.x kernel. With debian bullseye we should see 5.x some time soon, RK3568 support is in mainline kernel now. I saw first devices with 5.x kernel and this chip. With 5.x there are more new devices supported.

but only 4.19 kernel is stable to use now :mask:
i had try armbian, it only has community support with 4.19 and the uboot isn’t work

Rpi just released bullseye both 32 and 64 bit and we should see more and more build with 5.x kernel on other boards. That changes a lot, including support for many wifi6 ax devices just out of box. I hope that we will see this upgrade here.

Getting back to 4.19 kernel, can You please describe Your changes and improvements? Is that just build from radxa repo? Do You plan to build that in CI and publish somtime?

BTW: can You please share those files via something that don’t require CN account? It downloads some exe and force to register. No EN version :frowning:

build by new version toolchain and enable the full network stack support only;
no souroce code change

i had upload and share by google drive now

Thanks, It makes much easier to get it from there!

在 Gitee 也有源代码。

不好用,习惯用github了 :mask:

is this the same kernel code used in the rock3a debian image? I just want to compile with same kernel config and just modify a kernel module code and recompile.

i’m not sure.
i think it should will be work.