-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
[WIP] mediatek: add testing Kernel v6.6 #14772
Conversation
Thank you @dangowrt for your work. |
nice |
Tested on gl-mt6000, it works fine, except for the wireless wed. |
Totolink A8000RU mt7622 built and flashed successfully. Everything seems to be working but only using it as a dumb AP. Bootlog: Really apreciate all your work and time. Thanks |
I was trying to build few times, (basic config from snapshot - + add
|
6a7bc06
to
3a2e336
Compare
@danpawlik Thank you testing. I've completed the kernel configs for all subtargets now. |
Hi, Could you help me on this one? tried to build for ASUS AX-4200 with USB support. package/feeds/packages/dmx_usb_module failed to build.
|
@CharlesMengCA This very much looks like dmx_usb_module is not fit for Linux 6.6 yet. You should probably rather report this issue to https://github.com/lowlander/dmx_usb_module and hope that the authors will fix build problems for newer kernels. Or somehow get other people to fix this, or look around if other distributions may have already done this (typically OpenWrt lacks behind a bit with Kernel version bumps compared to most other distributions due to the fact that we support a high number of different hardware platforms rather than just 2 or 3...). |
#14751 (comment) |
Runs fine on my Asus RT-AX59U. All I have tested so far works as expected. Edit: in addition the issue I reported here (crashing WAN/eth0 connection) seems to be gone when using kernel 6.6. Overall the system and network connection seems to be much snappier.
|
Thanks @dangowrt - you have done amazing job! Your change works well on BPI-R4 and AX3200 (with resized kernel partition). |
After disabled some non-required modules. succeeded to build for ASUS TUF-AX4200 and everything is working so far. Boot Log
|
I clone a clean main branch and apply this PR, patch apply failed when try to build.
|
Has anyone created some firmware for the mt6000? I can test it here if you need it. |
Clone Daniel's fork then build, all good. Build-tested: filogic/mt7986a-xiaomi-redmi-router-ax6000-ubootmod
Boot log
|
tested filogic/mt7986a-xiaomi-redmi-router-ax6000-ubootmod everything works fine so far. WED is ok. note that i also applied patches from #14813 and #14785 dmesg boot log
|
For some reason, my AX6S with GD5F1GQ5xExxG flash considers all blocks to be bad on kernel 6.6. 6.1 works fine. |
After compiling with kernel 6.6, I noticed a problem recognizing copper 2.5G SFP
flow offloading still not working but performance of eth 10gb is a bit higher ~ 4.7gbps |
I assume this is on the BPi-R4, right? |
Yes, I meant bpi-r4, on 6.1 it didn't work on 4gb ram setting either |
Copy files from files-6.1 to files-6.6. No changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Copy patches from patches-6.1 to patches-6.6. No changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Drop all backport patches that are now included in kernel 6.6. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Drop patches backported as fixes in later kernel version. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Refresh patches and fix changed path for 32-bit mediatek boards 'arch/arm/dts' -> 'arch/arm/dts/mediatek' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Adapt to changed function pointer prototypes. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
As shared remove functions now returns void instead of int we need to use .remove_new instead of .remove. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add config-6.6 for all mediatek subtargets. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add KERNEL_TESTING_PATCHVER for Linux 6.6. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
@981213 you got this hardware? |
I have no idea what happened there, but I retried it with the latest master and @981213's uboot PR and it works now. I guess something got messed up in my previous uboot build that made the flash freak out? |
The flash or the NAND controller of the flash chip, or the SPI-NAND controller of the SoC or the BCH/ECC engine of the SoC, ... |
I have this flash and will put it on my dev board for a test. |
I've rebooted the whole thing way too many times both on a bad build and on a working one. At this point I'm starting to believe in cosmic rays or something. |
Noob question, but why does my build try to make dmx_usb_module? I followed the step from the docs and initialized my config with:
And would think that would mean I would create a build exactly like the build action, but apparently it does not, since the build action succeeded but my local build fails due to this package. How is it that my config ends up different than the buildbot's? |
First of all, there is no such a thing as a stupid question. Only stupid answers ;)
Because this module is present in the packages feed, and you are selecting
It succeeds with the buildbots because they are building the image with Linux kernel v6.1, and you are building Linux kernel v6.6.
It doesn't. But that |
Thank you very much!
How do I know what kmods I don't actually "use" and can safely drop from my build?
Interesting, when I look at a build action, https://github.com/openwrt/openwrt/actions/runs/8239918438/job/22538183732, it looks like it is also using using all kmods and kernel 6.6: There must be something I am missing? |
30-day uptime now on my GL-MT6000 (MT7986) with kernel 6.6. Great all around performance. At least with this target it feels ready for default. |
Yes, but it doesn't have all the packages from feeds installed, and you run |
Thanks a lot for the continuous testing and feedback. I can't wait to get rid of Linux 6.1, so now that problems on ramips seems to be resolved as well, I believe we are ready for the switch. |
If you want more data, I've been running this on redmi-ax6s for a while now with no issues as well. |
This PR is based on #14751 and adds support for Linux 6.6 to the mediatek target. Only tested on a couple of MT7622, MT7986 and MT7988 devices for now, mt7623 and mt7629 subtargets are not even build-tested.