-
Notifications
You must be signed in to change notification settings - Fork 386
Make 22.03 branch compile on kernel 5.10/5.15 #955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: openwrt-22.03
Are you sure you want to change the base?
Conversation
This reverts commit 65042bf. This feature landed in kernel 5.18, so not compiling in 5.10/5.15, see here: torvalds/linux@6b7f9af
This reverts commit f27ff9a. This change landed in kernel 6.4, so not compiling in 5.10/5.15, see here: torvalds/linux@2c9abe6
This reverts commit 22094b2. This feature landed in kernel 5.17, so not compiling in 5.10/5.15, see here: torvalds/linux@a95bfb8
This reverts commit 78770f7. This feature was added in kernel 5.17, so it will not compile in 5.10/5.15, see here: torvalds/linux@bc2dfc0
This reverts commit 5b94045. This feature was added in kernel 5.17, so it will not compile in 5.10/5.15, see here: torvalds/linux@bc2dfc0
This reverts commit 93c0377. This feature was added in kernel 5.17, so it will not compile in 5.10/5.15, see here: torvalds/linux@bc2dfc0
This reverts commit 4c76a6c. This feature was added in kernel 5.17, so it will not compile in 5.10/5.15, see here: torvalds/linux@bc2dfc0
|
What/Where is your "separate fork"? openwrt 22.03 has lots of backported patches for the necessary kernel features that's why it also compiles on older kernels. as examples look at:
github.com/openwrt/mt76/ is just a fork of drivers/net/wireless/mediatek/mt76 in the linux kernel after all currently up-to-date is v5.15.179 mt76 for that tag is then found at https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/drivers/net/wireless/mediatek/mt76?h=v5.15.173 Of course I don't know whether either Kernels support mt7921 sufficiently, yet. (possibly they don't) Using upstream linux might safe yourself quite a bit of headache, unless you want to deal with backporting Features from newer kernels. PS:
Maybe post a link that tells us why :) |
|
What prevents you from running Kernel 6.12 for example? Or is the OS restricting? (doesn't work with newer Kernels due to requiring closed source blobs in the Kernel) |
I know this might sound crazy, but hear me out:
There is a big community of developers using Nvidia Jetson platform / boards and they are stuck with kernel 5.15 LTS as of today, so they can't use Mediatek MT7921u WiFi 6E, specifically Alfa Networks AWUS036AXML.
If you think we should rewrite the git history to remove those commits instead, fine with me.
Not sure why/how this branch still compiles openwrt 22.03, since it has kernel 5.10.138 + cfg80211/mac80211 from kernel 5.15.58, so theoretically it should fail.
I've tested this by successfully compiling all those modules out-of-kernel on my jetson using this command:
... but for MT7921, just the first two reverts are needed.
Would love to keep this in your repo and reference to it instead of maintaining a separate fork.
Thank you in advance!
R