Just when I thought I had the final build for the 22.03 series done, 22.03.5 is out. Here goes "vanilla 22.03.5 plus NSS build including all modules" (still don't have a name for it, probably never will).

Kept commits clean and simple.

Images and all kernel modules in bin directory.

Just as before, this is a rebuild of the 22.03.5 tagged release (22.03.5 tagged build) build plus:

  • The NSS commits on ACwifidude's repository
  • Minimal changes to three files to allow all modules to build (this is in a commit of its own)
    -- package/qca/qca-nss-clients/Makefile (remove non building packages)
    -- package/qca/qca-nss-ecm/Makefile (ditto)
    -- target/linux/ipq806x/patches-5.10/999-07b-qca-nss-clients-qdisc-support.patch (remove non building patches to GRE)

The 22.03.5 config.buildinfo (the 22.03.5 diffconfig) with additional NSS packages is checked in as diffconfig-nss.

Also as before, GitHub can be used as a repo for this build's modules. For that:

  • copy the file in the opkg-key directory to /etc/opkg/keys
  • update the /etc/opkg/distfeeds.conf to use repo instead by commenting out the first line and adding a second with the URL to this repo, as in:
#src/gz openwrt_core https://downloads.openwrt.org/releases/22.03.5/targets/ipq806x/generic/packages
src/gz openwrt_nss https://raw.githubusercontent.com/APCCV/OpenWRT-22.03.5-NSS/22.03.5-nss/bin/targets/ipq806x/generic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/telephony

opkg will install packages and handle dependencies nicely after that.

The ImageBuilder gets built fine and if the opkg changes above are applied after unarchiving it should work like a charm. It's here: 22.03.5-NSS Image Builder. The images in bin have the same packages as the OpenWRT vanilla ones (using ath10k-ct) and without any add-ons beyond NSS. All modules are available in this repo so in best of theories ImageBuilder can produce whatever image may be required.
For example, to use ath10k instead of the -ct drivers:
make image PROFILE='tplink_c2600' PACKAGES='ath10k-firmware-qca99x0 -ath10k-firmware-qca99x0-ct kmod-ath10k -kmod-ath10k-ct <plus the myriad other packages required like luci>' (profile netgear_r7800 for 7800, make info provides a list of what is supported, and mind that the 7800 uses qca9984 instead.)

The only configuration tweak we use, as suggested by ACwifidude in rc.local, although YMMV and it might not be needed at all is:

# CPU governor fixes
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 600000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 25 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

I have been running 22.03.2 and 22.03.4 on TP-Link C2600 routers in different roles (router, pppoe, AP) with great results and minor issues. I didn't bother updating to 22.03.3 and probably will not go through the hassle for 22.03.5 given the change log is relatively skimpy (openssl can be updated separately through image builder or reinstalled on top of 22.03.4... these devices have plenty free flash space).

Here is a test of a 22.03.2 AP using a 22.03.5 client. Looks, feels, smells, tastes more or less the same as before. I'm not the only one using the net right now so maybe that's why speed took a bit of a hit, but still over the 0.5Gbps mark. I'm also not testing from an ideal location... I've seen the wireless bridge operating at 1600.0 Mbit/s both ways before. For anyone using the 7500 with a 160 MHz band width could probably do better.

Screenshot from 2023-05-01 21-18-03
Screenshot from 2023-05-01 21-15-38

Again, there it is, the 22.03.5 build (will it be the last of the 22.03?) in case anyone wants to give it a try. Cheers!

3 Likes