MT6000 custom build with LuCi and some optimization - kernel 6.6.x

Hey,

First thanks for all the work you are putting in on this. My system has been rock solid since moving to your version.

I just installed test 2, moving from 4.3.6 without wiping my config.

I understand this is a test build, but is there a reason for the lack of applications available? To resolve this I temporarily added

(https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb)

I installed nextdns luci-app-nextdns irqbalance luci-app-irqbalance and disabled the repo after.

My use case: As of now everything seems to be stable, I am running it as my edge router so it has 2 other APs connected, multiple streamers/gamers. I also run separate subnets for my smart devices and my users. I am also planning on implementing an always on vpn on a seperate subnet for streaming/gaming using udp, and an always on vpn for everyday use using TCP.

If there is anything I can look into let me know. I have a technical background and love to tinker. I'll report back later with any findings.

Thanks Again for everything!

What version are you using?
Which app are missing?

Flashed now the sysupgrade and install by luci the apk and I didn't get any issue

I am running r28320-e01af5e8d6

Since my last message I re-flashed without carrying over my config.
I hand reconfigured it because I only had a couple of subnets and wifi networks to add back. This resolved my issue, the various applications have returned.

I think something weird carried over that was affecting the apk cache.

Anyways I just re-flashed when I got your reply, so I'm back to adding all of my applications again. I just purchased a vpn subscription, so wireguard is next. If I run into anything else I will let you know. Once again thank you for your efforts, I appreciate the work you are putting in.

Also if I can be of any help in the future let me know.

1 Like

Hi

Is the stock firmware on mt-6000 based on open WRT is pretty good?

Performance?
Some firmware update etc?

Test it and let us know. I never tried original firmware

3 Likes

@pesa1234

Thank you for the IRQ changes. Maybe there can be some kind of status added to the script? I'm not saying it should be the commands below, but something.

awk '{sum+=$2;} END{print "CPU0 " sum;}'  /proc/interrupts
awk '{sum+=$3;} END{print "CPU1 " sum;}'  /proc/interrupts
awk '{sum+=$4;} END{print "CPU2 " sum;}'  /proc/interrupts
awk '{sum+=$5;} END{print "CPU3 " sum;}'  /proc/interrupts
grep -E "ether|usb|mmc|mt79" /proc/interrupts

Switch over to APK seems to have gone smoothly, no issues at all.

6 Likes

It may be a good idea to change the CPU allocation depending on the application. A pattern that takes into account the 2.5GbE of lan1. A pattern that prioritizes wan and Wi-Fi without using lan1. I think that the optimal settings will change depending on things like this.

If somebody isn’t using lan1, then these kernel threads won’t be engaged. So it doesn’t matter in that case if they’re on core 1+3 or default to 0.

1 Like

hi evrybody,

if I want to compile from there ;

How to compile directly from my source

from @pesa1234 repo , is it possible to update my own build from the master/main repo ; https://git.openwrt.org/openwrt/openwrt.git
or only from @pesa1234 repo, when he updates his own repo?

and insteaf of ; git branch -a git checkout next-r2.4.mtk we have to choose now ; git checkout next-r4.4.1.mtk right?
thanks

I need to migrate. The build he has doesn't have all the packages loaded, correct? if so, want to put together a list of the packages I personally use to install via APK

Great build, Pesa. I was on the fence to go with release or the snapshot test 2, I went with the latter and it's really smooth and apk works well.

@jolness1 I have not managed to find a command that identifies my manually installed packages via APK. apk info -vv doesnt help.

It doesn't have all the packages, but pesa1234 will include anything you ask. For my own part, I compile it locally and run my own repo for the packages to make things easier.

Incidentally, if anyone wants to try making their own repo for local use, it was remarkably easy. I already use Caddy on my server downstairs, so I just added a "file_server" section and copied the packages over along with the Packages.* files.

You don't have to do it this way, since you can just upload any packages you want using the luci interface or scp. But I have more than one router running this build, so it makes things a bit easier.

1 Like

This is what i use on my alpine linux machine:

apk list -I | cut -f1 -d' ' | sed -e 's/-r\d\+$//'| sed -e 's/\(.*\)-/\1 /'

this version works better for me, could install stuff at last. :slight_smile:

1 Like

Hello friends! I've been away for a bit, so I'm just now catching up on the last month or so of this thread.

I'm currently running an r28037-88930171bf build on my MT6000's and am trying to upgrade to a later build (tried r4.4.0 and r4.4.2). However, no matter how I attempt to sysupgrade (via CLI or web UI) after reboot I'm still at r28037-88930171bf.

Has anyone else run into a similar situation as of late? Did I miss a post about a specific upgrade route?

2 Likes

there was a migration from opkg to apk on the entire package branch

1 Like

the Factory firmware from GL-Inet is ok - has a strong mediatek flavor to it.

Current Snapshots - in a good place here - there's a mediatek upstream firmware drop that sometimes does a good thing, and...

That's a longer term issue - perhaps with some pain points similar to what happened with DSA...

It's a soft-handover for now, but it's going to happen from what I see...

Dear @pesa1234 : any eta for stable build with all the old packages installed?,since the apk installer is stable now.