I'm new in compiling Firmware fr OpenWRT.
I just want to compile a customized kmod-mt7996* module for my snapshot version.
The reason is that the Wi-Fi power is much too low. However, there are patches that adjust this.
How do I go about this?
I read that all modules are signed with the checksum of the .config file.
But I can't find the .config file with which the release was compiled. It's not in /proc/
What's the best way to proceed? Are there any instructions?
Thank you for your replay.
I don't quite understand the vermagic thing. Is there a manual? Unfortunately, I can't find any. But do I understand correctly that you can use it to compile individual modules without compiling the entire firmware?
I did find the .config file to compile. Maybe I can do something with it.
There's an option to include the .config in /proc/config.gz or something similar.
Take that output from your router, tack it onto the end of .config in your build environment, do make defconfig and then your build will include all those packages in the image.
I was able to compile the image without errors.
My conclusion is that the current mediatek feed isn't working. There are either compilation issues or the network isn't working after installation.
Also, not every patch that resets the low performance of some MT7996e to default values works.
So, for me, this topic is closed. Thanks again for any suggestions.