Ipq806x NSS build (Netgear R7800 / TP-Link C2600 / Linksys EA8500)

Hi, attached. Thanks

(Attachment EA8500-u-boot.orig.zip is missing)

Yes - has been this way for a while now (even in stable 21.02 builds). I don't use it too often myself, so I haven't bothered to look further into it yet... but from the system logs it appears it runs out of memory and stops tracking as a result.

1 Like

In my 21 build I added a fix for it, since I'm using the 21 build without nss on my main router. I can add that fix to the nss build next time I sync.

2 Likes

thanks guy's great work .. well done ... running 5.10 since 6 days looks stable for me :slight_smile:
have it running with schedutil governor atm looks good

1 Like

It seems that disabling promiscuous mode increases the stability of my device to limits not yet explored.

there are no sudden reboots since I don't use the option. the problem is to access the internal Dynamic DNS from the lan network (it works over wifi, as always).
is there any alternative to promiscuous mode today?
Thanks!

Hi, after more than one week running, my ea8500 is OK on the NSS build.

What I have done?

  1. ACwifidude code, v5.10 or v2102
  2. EA8500 PR @GloooM
  3. mod to qcom,phy-mdio-addr = <4>; in gmac2 config in .dts file

The results:

  1. my EA8500 works fine with NSS build now(before not)
  2. LAN Speed ~940Mbps, same as R7800
  3. WiFi still not good on ath10k-ct on my cases, back to ath10k

Thanks again for your all, @ACwifidude @GloooM @KONG @Ansuel .......

2 Likes

Updated the 21.02 build today with ea7500v1 and ea8500 updates. If anyone has these devices - let me know how they work and if further tweaks are required. There are versions with qcom,phy-mdio-addr = <4> in the gmac1 vs. gmac2. I'm not sure if one works better than the other or if it even matters. Let me know how it works!

Master is having some issues with the final compilation of the kernel. Troubleshooting now. If I get stuck I'll post some logs to see if anyone has any tips.

1 Like

As I understand both 7500 and 8500 needs qcom,phy-mdio-addr = <4> in gmac2 and 0 in gmac1.
So, you can simply modify gmac2 settings in common eax500.dtsi without touching 7500/8500 files.

Today I was tried to rebase and build master, and got an error while compiling binutils, possible solution there https://bugs.openwrt.org/index.php?do=details&task_id=4149
After that I couldn't build anyway, because image now doesn't fit in partition :slight_smile:

Very interesting. I couldn't get the ea8500 or ea7500-v1 to build the sysupgrade or factory either in master (spits out an error 1). The R7800 master images build no problem. 21.02 builds no problem for all devices with the same .dts settings.

Latest master is giving good performance on the R7800 (new iphone 13 pro max client). Seems the devs have really dialed it in.

ath10k-ct, 5.10 Kernel with NSS Hardware Offloading
[SUM]   0.00-30.01  sec  2.30 GBytes   659 Mbits/sec                  receiver
[SUM]   0.00-30.01  sec  1.99 GBytes   569 Mbits/sec  189             sender

EA8500 build errors:

Creating 4.0 filesystem on /home/HTPC/OpenWRT/NSSMaster/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/root.squashfs+pkg=261ef631, block size 262144.

[=============================================================-] 2590/2590 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments,
	no xattrs, compressed ids
	duplicates are removed
Filesystem size 10087.53 Kbytes (9.85 Mbytes)
	32.35% of uncompressed filesystem size (31184.32 Kbytes)
Inode table size 22248 bytes (21.73 Kbytes)
	20.61% of uncompressed inode table size (107931 bytes)
Directory table size 30957 bytes (30.23 Kbytes)
	41.91% of uncompressed directory table size (73873 bytes)
Number of duplicate files found 361
Number of inodes 3207
Number of files 2562
Number of fragments 70
Number of symbolic links  471
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 173
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
[ -f /home/HTPC/OpenWRT/NSSMaster/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linksys_ea8500-uImage -a -f /home/HTPC/OpenWRT/NSSMaster/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/root.squashfs+pkg=261ef631 ]
[ -f /home/HTPC/OpenWRT/NSSMaster/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linksys_ea8500-uImage -a -f /home/HTPC/OpenWRT/NSSMaster/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/root.squashfs+pkg=261ef631 ]
make[5]: *** [Makefile:474: /home/HTPC/OpenWRT/NSSMaster/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/tmp/openwrt-ipq806x-generic-linksys_ea8500-squashfs-sysupgrade.bin] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:474: /home/HTPC/OpenWRT/NSSMaster/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/tmp/openwrt-ipq806x-generic-linksys_ea8500-squashfs-factory.bin] Error 1
1 Like

7500/8500 both has 3Mb kernel partition, but R7800 has 4Mb.

1 Like

Extremely poor wifi performance on R7500v2.
Working as dump AP
Even can't reach 100Mbps in speedtest.net
And iperf3 return 50Mbps if wireless device run as server

Did you use the ath10k or the arh10k-ct build?

Hi @ACwifidude ,
The newest v5.10 code not work on my EA8500 (HK version), LAN port cannot get IP address, WiFi ok.
Seems not related ea8500 dts/dtsi files, because I tested my old patched version, still same problem.

ea7500-v1 and ea8500 will likely work with yesterday’s 21.02 build. Let me know if that works better.

It looks like 5.10 is having issues with both these devices.

Sorry that's my fault.
I have multiple ISP
I use my R7500v2 as AP+Vlan switch, and use x86 openwrt as main gateway.
One of the pppoe link needs counterpart modem which is connected to R7500v2.
I move away the R7500v2 to flash this build , that wan interface in my main gateway going down.
Then I got this poor results if I run iperf3 on main gateway without connect the modem back.
If I run iperf3 client on other wired device like my PC or NAS it will be 600+Mbps while only 300Mbps in official build

I think it is not a 5.10 fault, seems to be all components eventually grew in size and now doesn't fit in partition on this particular routes.

linksys_ea7500-v1-uImage is too big: 3147778 > 3145728

Had this error.
I was able to build 7500 image by stripping ntfs-3g/fuse/and other filesystem/storage related modules from config.
Personally I don't need them, and it possible to install modules later as kmod package.
Interestingly now I try build 8500 and it doesn't fit. Wtf, same config, just other model with very similar hardware %)

linksys_ea8500-uImage is too big: 3145845 > 3145728

117 bytes :slight_smile:

2 Likes

Why opkg list-installed return a null result?

Seems to be working ok. I’d try again.

Run opkg update (to update opkg’s lists of packages) and then run opkg list-installed again.

I tried reboot router and run opkg update
update is successfully but still no package list in 'installed'
and avaliable page shows all packages are not been installed...

Hi, @ACwifidude
I tried your new master builds (5.10 kernel, 20211226, ct and non-ct), and notice huge performance drop, from 300+ mbits to unstable 30-100mbits according to speedtest. Previous build worked perfectly (kernel 5.10.82, r18312)

Now I switched to stable build, and it works like a charm, thanks for your great job.
R7800