Answer the question
In order to leave comments, you need to log in
How to build a 4.0 kernel so that there is wifi support from the 5.2 kernel?
There is a 5.2 kernel running the wifi module on my laptop.
But due to the nature of the activity, it is necessary to use the 4.0 kernel, in which there is no support for this module yet.
How to build a 4.0 kernel so that there is wifi support from the 5.2 kernel?
I know that there is a practice of backporting hardware support from new kernel versions to old ones, but I don’t know how to do this.
Constantly rebooting between kernels is not an option.
Answer the question
In order to leave comments, you need to log in
But it's definitely impossible to assemble the required module SEPARATELY and then load it through modprobe?
Work on 5.2, and keep the system on 4-ke in a virtual machine?
Or not an option at all?
Backporting is not an easy thing, it may not pay off the effort spent on it.
As an option, analyze the change in the driver in 5-ke and compare with the implementation in 4-ke and make changes.
the practice of backporting hardware support from new kernel versions to older ones,
Actually, you yourself answered your own question - you need to backport the driver to your kernel. This is done with the help of a git and thoughtful reading of the source. It's not easy if you don't understand the kernel at all. But unfortunately, there is no other way.
Why do you need kernel 4.0? What's so special about it? Maybe it will be easier to drag the changes you need into 5.2?
Porting code forward is usually easier than porting backward.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question