Belkin RT3200/Linksys E8450 WiFi AX discussion

I would have assumed those should have been overwritten when you upgrade via Luci. Likely when you did auc via command line, something went wrong when it is preparing the upgrade package and missed those but touched the motd file or something.

Will go though /overlay/upper/etc/ and remove whatever is not needed there.

Argh.

I would go nuclear and zap everything and start afresh. Heh heh.

3 Likes

Sorry, reading is hard. Thought you were trying to flash a snapshot version. Totally unsure as to why since it is not mentioned in your post.

When flashing between versions it is recommended to start from scratch. So do not keep settings.

1 Like

Took some time but it now works fine, is up-to-date and has only minimal config changes in overlay.

root@krolik:~# auc
auc/0.3.2-1
Server:    https://sysupgrade.openwrt.org
Running:   23.05.3 r23809-234f1a2efa on mediatek/mt7622 (linksys,e8450-ubi)
Available: 23.05.3 r23809-234f1a2efa
Requesting package lists...
Nothing to be updated. Use '-f' to force.
root@krolik:~# df -Th
Filesystem           Type            Size      Used Available Use% Mounted on
/dev/root            squashfs        7.8M      7.8M         0 100% /rom
tmpfs                tmpfs         245.4M   1020.0K    244.4M   0% /tmp
/dev/ubi0_5          ubifs          77.9M    196.0K     73.7M   0% /overlay
overlayfs:/overlay   overlay        77.9M    196.0K     73.7M   0% /
tmpfs                tmpfs         512.0K         0    512.0K   0% /dev
root@krolik:~#

Hope that 24.x release will come with some docs on how to upgrade to new UBI format. Step by step ones etc.

4 Likes

Flash installer again https://github.com/dangowrt/owrt-ubi-installer/releases
Flash sysupgrade image (note the one located on dangos github does NOT include luci) if you want gui then you need to flash a sysupgrade image that includes luci (or install it via ssh)
https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=mediatek%2Fmt7622&id=linksys_e8450-ubi

thats all there is to it

Just checking if there's any updates regarding the OKD issue and if the MidaTek team was able to find something..

3 Likes

Hi, unfortunatly there are no updates.
Kr
K

1 Like

I assume we'll have to flash the UNsigned installer, right???

Then, the device will reboot in a recovery environment and there we go to System > Backup/Flash Firmware and flash the sysupgrade image without keeping settings, right??

PS: I intend to do this only when OpenWRT v24 is stable and an updated installer is released.

Cheers!

I used to have the OKD after the first reboot. I did some changes recently to the min cpu frequency at 812500. So far I rebooted the router once and didn't have the OKD. I'll keep you posted for my next reboot.
I start also monitoring the fip partition, so before rebooting the router, I'm dumping the partition to a file and comparing with the previous one. No damages so far.

1 Like

I did a direct upgrade from 23.05
flash unsigned installer
reboot
flash sysupgrade
done

if you use the sysupgrade on dangos git you WILL NOT have a GUI if you want the gui you need to either request a fw image built with it from the firmware selector or install it via ssh (opkg update then opkg install luci)

the installer image does include luci but the sysupgrade does not

1 Like

cpu frequency still does not matter, only the min volatage! it should not be below 1 volt. runs for me since years at 300mhz for 92% of time. current uptime is 2 months (no update because okd-thing)
governor is ondemand

this may apply to us as well hopefully it will one day be possible to get hQOS working on all MT7622 devices it should significantly reduce cpu loud while allowing the use of some qos feature to control bufferbloat

This is interesting. Could you please share the version of the UBI installer that you used at the beginning, and also the Openwrt firmware version ?

2 Likes

What form of QoS does the hardware QoS take? Does it support bandwidth change on the fly like the cake qdisc does?

if I am reading it right the default is something akin to bfifo/pfifo with DSCP flags

https://man7.org/linux/man-pages/man8/tc-flower.8.html

https://docs.openvswitch.org/en/latest/howto/tc-offload/

more info https://netdevconf.info/2.2/papers/horman-tcflower-talk.pdf

which is honestly fine and enough if properly configured (especially when cpu constraints considered)

I get the same results in the bufferbloat test with cake that I get with bfifo/pfifo simply because the cpu is choking
at a glance the flow offloading has been in the kernel since 2022

https://lore.kernel.org/netdev/Y2F9FuJPOCMRy9z5@lunn.ch/T/

so I am confused at this point maby it just needs to be exposed/configured wpad I know works
if I am reading all of that right it should be possible NOW to setup bandwith limits that are hardware accelerated unless I am mis-reading all of this ...

#paging openwrtdevs

so there is packages
https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/packages/
kmod-sched-mqprio
kmod-sched-common

I am not entirely sure if the kernel/hardware support is there to use them and I am not familar enough with tc ju-jitsu to set it up for testing

I know on android mqprio is supported on most mediatek socs ...

edit: either I am doing something wrong or its indeed unsupported ... drats

Actually, many switches have some form of QoS capability.

For example, the mt7531 in the RT3200/E8450 or the ar8337 in the R7800 has QoS capability but IIRC it is limited in the number of streams and algorithm it can support. It's been a while since I read those data sheets.

I suppose hooking it into Linux's network stack is probably too much work and not many people wants to try.

from what I am reading (and I am NOT a kernel dev)
but all you really need is rate control to combat bufferbloat will it be perfect? No
but it should get you sub 10ms on a loaded line if properly configured and MUCH lighter on the cpu

this is a question for felix or somebody on the mt76 side that can say for certain what the hardware can/can not do or if there is a reason support is not exposed
the packages are built for MT7622 tho so I am confused
even if mqprio is out if there is possiblity to run even a simple rate limit with tc flower with hw accleration that would help a bit