7Ji / amlogic-s9xxx-archlinuxarm

ArchLinux ARM for Amlogic s9xxx tv box.
GNU General Public License v3.0
63 stars 9 forks source link

[PROGRESS] Switch to mainline-ish kernel (linux-aarch64-7ji) #19

Closed 7Ji closed 11 months ago

7Ji commented 1 year ago

We're not using official ArchLinux ARM linux-aarch64 kernel because it is lagged behind in versioning (currently 6.2.10) and is broken on Amlogic platform

The linux-aarch64-flippy kernel we're currently using however, is also lagged behind at 6.1.38, and derived a lot from the mainline kernel. The more it derived the harder it is in the future for users to switch back to the untouched mainline kernel.

A new kernel linux-aarch64-7ji is added, using upstream https://github.com/7ji/linux branch amlogic, now at version 6.4.3, with only bare-minimum changes for Amlogic platforms. Most noticable differences are my patches already in flippy kernel, and a few dts ported from flippy kernel.

The two kernels (linux-aarch64-flippy and linux-aarch64-7ji) are both pre-installed in new images now, with -flippy being the default one. I'm not planning to remove flippy kernel soon since there's preciously a lot of nice stuffs for Amlogic platforms.

If, however, any one want to use -7ji kernel, do note there's a few traps:

7Ji commented 12 months ago

I've tested the new kernel (linux-aarch64-7ji, 6.4.3) on my following devices and they're running great:

@a520ass Since you're using the binary mainline kernel from Armbian for the newer kernel, could you share some test results with our new kernel here?

a520ass commented 12 months ago

@a520ass Since you're using the binary mainline kernel from Armbian for the newer kernel, could you share some test results with our new kernel here?

需要怎么测试呢,目前我是在用armban的主线内核6.1.30,在archlinux下没什么问题。 我这边有的是S905D、S905L、S905L2B、S905L3、S905L3A

7Ji commented 12 months ago

在最新action的build artifact里:

启动配置里,内核文件、内存盘文件、DTB文件的路径从-flippy改成-7ji就是用这个内核的全套。缺少DTB文件的情况下可以混用其他内核的DTB。

7Ji commented 11 months ago

@a520ass 刚建了个放我打包好的arch包的仓库,可以参考仓库说明添加以后直接pacman -Syu linux-aarch64-7ji来装,以后也能自动升级

https://github.com/7Ji/archrepo