Qualcommax NSS Build

For the most part it's been ok. I updated the versioning for NSS packages to match apk's semver requirements a while back so everything builds properly. The biggest issue for me personally is there's no dest equivalent (opkg install -d usb ...) in apk. I install all my additional packages to usb, but apk can't manage more than one destination. Hoping the feature gets added upstream but doubt it.

3 Likes

Thank you!
I noticed that nss_diag script need to be converted for apk
opkg list-installed should be modified in apk list --installed

2 Likes

I noticed it too: https://github.com/qosmio/openwrt-ipq/pull/19

2 Likes

msd_lite/udpxy available but omcproxy/igmproxy not available

I can watch iptv normally with msd_lite, but omcproxy doesn't work

Processes are all there, igmp snooping is enabled in br-lan, msd_lite works fine, omcproxy doesn't work.

I'm using the latest SNAPSHOT version openwrt, which I just recently compiled.

I tried the new firewall and the old firewall, neither of them work, my other mt7621 device in the same settings is able to use multicast, I have a feeling it could be a nss issue?

Since it's ipq6018, I'm asking for help to try here

I've tried version 11.4 and 12.5 and neither works

You're very lucky, changing the date on the terminal, changing the due date ...

Nothing work.

I think I'll flash the router with a clean build without restoring my config, because I've a wifi mistake and I see at lunch time that wireguard was lot slower than previous build, very difficult to watch TV without cut.

Sorry for the novice question. I'm trying to install AugustinLorenzo's release of the NSS Build on my Qhora 301W, but can't find a full guide other than the official/main branch OpenWrt guide.

The guide calls for SSH'ing in, switching U-Boot to use partition 1 (and checking it works to boot stock fw), then basically flashing OpenWrt to partition 0 via dd, switching U-Boot to partition 0, and once booted into OpenWrt flashing the Aquantia firmware for the two 10G PHYs via mtd and finally rebooting.

Is this the same correct procedure for the NSS Build, and is there any documentation on how to rollback (over SSH, or UART if necessary) to stock fw in case I do something wrong? Thanks

First read, understand and follow this guide.
I've just added a missing step how to enable SSH on QuRouter OS.
This is the same for NSS build.
You can easily return to stock if you can run OpenWrt.
You just need to set the boot partition to "1" from OpenWrt SSH.

fw_setenv current_entry 1
reboot

and then flash the stock firmware from QuRouter OS as usual.
But if something goes really bad (I think there is a low chance if you're carefull) you'll need a serial adapter.

2 Likes

Hi all. I dont know if this qurstion makes sense so please forgive me.

In htop we can see cpu / memory utilization
Are there any utilities that shows NSS utilization? Like I mean NSS uses the SOC right?

Yes just read the previous thread posts about NSS load.
As an example.

# cat /sys/kernel/debug/qca-nss-drv/stats/cpu_load_ubi
CPU Utilization:
Note: Averaged over 1 second

Core 0:
Min	Avg	Max
 5%	 5%	 8%
cat /proc/sys/dev/nss/clock/auto_scale
root@QNAP:~# counter=0; while [ $counter -lt 3 ]; do cat /proc/sys/dev/nss/clock
/current_freq; dmesg | awk '/Frequency Set to/ {print $NF/1000000" MHz"}' | tail
 -n1; sleep 3; counter=$((counter+1)); done
[ 4504.898125] Frequency Set to 1689600000
1689.6 MHz
[ 4507.911274] Frequency Set to 1689600000
1689.6 MHz
[ 4510.920541] Frequency Set to 1689600000
1689.6 MHz

1 Like

Thank you so much !

The safest path is installing standard OpenWrt first, using the guide on the device's wiki page, and then using sysupgrade within OpenWrt to flash the NSS build.

2 Likes

Thanks!

I'll try this automation!

1 Like

Tysm! I have the router working with the NSS build and everything seems functional, including Aquantia interfaces. I don't have multi-gig internet yet to test NAT performance beyond 1 Gbps but it's running at full speed as on QRouter with no issue.

Is there anything in particular I should do to ensure I'm using NSS, or is it always enabled by default, and is it correct not to touch default OpenWrt hardware offload options, lest they interfere with NSS?

Also, does NSS offload VLAN tagging/untagging, or should I avoid having access/trunk ports for high-bandwidth applications?

Here’s a cleaned-up version of your post for a forum:


Hey all,

With the recent creation of the 24.10 branch and the big changes in main (switching from opkg to apk), I’m restructuring the branches again.

To keep things simple and focus on stability, I’m setting the openwrt-24.10 branch as the default for the repo. The branch naming will also be streamlined to just $UPSTREAM_BRANCH-nss.

Here’s the updated mapping:

NSS Branch Upstream Branch Notes
24.10-nss openwrt-24.10
main-nss main Renamed from qualcommax-6.x-nss-wifi

EDIT: Same logic is applied to the MX4300 supported branch qualcommax-6.x-nss-mx4300 -> 24.10-nss-mx4300, and main-nss-mx4300.

11 Likes

for mx4300 i see a separate branch with -4300 suffix. please let us know if we need to use 24.10-nss or 24.10-nss-mx4300 from a firmware build standpoint.

Just updated my post. You would still build from the MX4300 specific branch 24.10-nss-mx4300

2 Likes

for anyone else compiling for an MX4300 add to the following lines to the config seed before the make defconfig step. Dont forget to remove the "#" and change "is not set" to "=y" on correct device target line.

CONFIG_USE_APK=y
CONFIG_PACKAGE_apk-mbedtls=n
CONFIG_PACKAGE_libmbedtls=n
CONFIG_PACKAGE_apk-openssl=y

The above is the minimum required at least on the main-nss-mx4300 branch as of today. Anything less will end up at least with some mbedtls stuff. I have not tested this myself on any other targets besides the mx4300. This seems to be required now due to the recent opkg to apk switch as JuliusBairaktaris mentioned.

1 Like

I just installed AgustinLorenzo NSS build for the WRX36 (openwrt-qualcommax-ipq807x-dynalink_dl-wrx36-squashfs-sysupgrade.bin) with sysupgrade. Everything is working fine apart being unable to run
opkg update && opkg install curl

When I do it I get:


root@OpenWrt:~# opkg update && opkg install curl
Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz, wget returned 8.

I need to run this command to install a wireguard configuration on the router (https://mullvad.net/fr/help/running-wireguard-router)

I noticed that the wireguard packages were already installed in the AgustinLorenzo NSS build :grinning: Sorry... complete noob about this.

So I managed to make wireguard work:

Thank you very much for providing this build, your hard work is very appreciated. With this build installed (https://github.com/AgustinLorenzo/openwrt/releases/tag/ipq807x-nsswifi-2024-11-05-1023), the cheap WRX36 router is a beast :star_struck:

Hi @sppmaster, I've recently get a 301w and flash it with the latest qosmio 24.10-nss build

but I find all the configuration is lost after reboot.. any idea why? or anything I can do to further debug this...