Migrate x86_64 openwrt patches to linux distro

Hi,
is there a relatively easy way to "extract" and apply all patches from x86_64 build to debian/ubuntu distro for kernel, ath10k, various wifi performance patches.
How should i start?

There all here:

Keep in mind OpenWrt typically uses the wireless stack of the latest LTS kernel, but not necessarily the latest LTS kernel itself. E.g. latest LTS is 5.15 and OpenWrt uses that wireless stack (through the kernel backports) but porting efforts are for the 5.10 kernel on master, for the next release.

1 Like

There's also quite a bit of patches in generic that gets applied and applies to X86_64/amd64

https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/generic/backport-5.10;h=4ed766cf9d94f07bc9a1aee32047c1c0a2abca0b;hb=HEAD
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/generic/hack-5.10;h=15f782950a2bbaff0b074536e66f07da50bb8c7c;hb=HEAD
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/generic/pending-5.10;h=ef686259f3fe945e1579cb891e4e6199d73af302;hb=HEAD

2 Likes

thnx for the info,
one more question,
how i can find actual .config with which will apply to kernel for compiling?

Edit. I combine x86 + x64 config-5.10 files with merge-tools.sh, and apply patches from generic and x86 kernel then mac80211 parches on ubuntu mainline kernel 5.10.87.

Wverything works as expected!

Thnx sooo much guys!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.