Where can I download the latest firmware for my gl.inet mt-6000 with a 6.6.x kernel, or how can I compile it myself? I've tried using git clone https://github.com/pesa1234/openwrt and building the firmware with the parameters I need, but I always get a build with a 6.12 kernel, even though I've tried to change it.
If you're in official OpenWRT, then openwrt/openwrt at openwrt-24.10
If you're going to use a different repository, then you're kind of on your own... who knows what's in that...
Assuming that your gl.inet mt-6000 is supported in mainline OpenWRT, then you should even be able to just use the firmware selector for it OpenWrt Firmware Selector, no need to build yourself.
I wanted to use the pesa1234 fork because it has more optimizations for the mt-6000. But the problem is that I can't choose the build version. Or maybe I don't know how to do it. If I create my firmware based on the main branch from the pesa1234 repository, I get a firmware with a 6.12 kernel. But that's not what I want.
You should probably ask 'pesa1234' then, rather than posting on the OpenWRT forum and hoping that pesa1234 will reply here.
Maybe they have a branch which had the 6.6 kernel in it... maybe they don't... if they do.. maybe it doesn't have "more optimizations"...
The Main Branch will get a 6.12 kernel build. There is a Stale 23.05 build, but that won’t get you a 6.6 kernel either, and it’s a risky endeavor to put an EOL firmware in production.
You’ll need to roll your own build based on 24.10 branch to get you 6.6.
unfortunately I don't know where I can do this. I haven't found the official pesa forum
do you mean to make a clone of openwrt 24.10 and apply the patches from the pesa fork myself? Can you tell me more about how to solve my problem?
Basic answer for changing the kernel major version, is that if you need to ask, it will be too complicated for you. There are dozens of OpenWrt specific kernel patches, which are partially tied to the kernel version. You would need to modify all of those, too.
But the interesting question is that why would you like to have the older 6.6 kernel instead of a more modern one?
What do you actually need? What you are aiming to do? You want something from pesa 1234, but then also explicitly 6.6 for some reason?
There's plenty of branches in the pesa1234 repository. Try building some of them and seeing what you get. https://github.com/pesa1234/openwrt/tree/next-r4.7.1.rss.mtk looks pretty advanced
You haven't detailed why you think you need the 6.6 kernel... there's plenty of branches that have patches not in OpenWRT.. they might be the optimisations you want... but again, you were obviously directed to the pesa1234 repository by someone. You should probably be asking all these questions to them.
It's clearly not core OpenWRT that you are dealing with.
I tried to install this https://github.com/nikkinikki-org/OpenWrt-momo and got an ABI error with the 6.12 kernel
I have chosen pesa as a project with optimizations for gl.inet mt6000. I do not know of any other large and popular projects with optimizations for gl.inet mt6000. If you can provide me with any suggestions, I would greatly appreciate it.
Why not just add that package to your 6.12 pesa1234 build?
The instructions are in the README.md of that package.
where exactly? can you give me a link?