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

When you rebase it to current master it complains about openssl. Some combination of packages in the diffconfig is causing complaints about openssl. I’ve excluded the new mbedtls defaults, I’ve tried extensive cleaning - both with no success. Haven’t had time to further troubleshoot why it is so grouchy. :grin:

If anyone has any diffconfig recommendations for changes that work with a newly rebased master builds - I’m open to suggestions.

1 Like

Tried target 2.5ms /interval 50ms by editing the script, then in luci, but it still sets 2ms instead of 2.5ms.
This tc command works fine though.

tc qdisc add dev eth1 root fq_codel limit 1000 flows 1024 quantum 1514 target 2.5ms interval 50ms

With 2ms/eth0 & 2.5/eth1 (50ms) tests are more consistent, less fluctuations.

nss.qos occasionally doesn't start correctly, to fix this I edited both defaults.sh & sqm.conf like Kong's (ricsc) script.

defaults.sh
ALL_MODULES="sch_$QDISC sch_ingress act_mirred cls_fw cls_flow cls_u32 sch_htb nss-ifb"

sqm.conf
SQM_CHECK_QDISCS="nssfq_codel fq_codel codel pie sfq cake"
BusyBox v1.36.0 (2023-03-10 04:55:46 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r22256+28-14334c222e
 -----------------------------------------------------
root@OpenWrt:~# lsmod | grep nss
nss_ifb                16384  0
ppp_generic            40960  7 ecm,ppp_async,qca_nss_pptp,pptp,qca_nss_pppoe,pppoe,pppox
pppoe                  24576  2 ecm,qca_nss_pppoe
pptp                   28672  2 ecm,qca_nss_pptp
qca_nss_crypto         36864  0
qca_nss_drv           311296  7 nss_ifb,ecm,mac80211,qca_nss_qdisc,qca_nss_crypto,qca_nss_pptp,qca_nss_pppoe
qca_nss_gmac           61440  1 qca_nss_drv
qca_nss_pppoe          16384  0
qca_nss_pptp           16384  0
qca_nss_qdisc          61440  5
root@OpenWrt:~#
root@OpenWrt:~# cat /sys/kernel/debug/qca-nss-drv/stats/virt_if
if_num 35 stats start:

rx_packets = 543
rx_bytes = 294786
rx_dropped = 0
tx_packets = 889
tx_bytes = 123022
tx_enqueue_failed = 0
shaper_enqueue_failed = 0
ocm_alloc_failed = 0
if_num 35 stats end:

if_num 37 stats start:

rx_packets = 231705
rx_bytes = 341802064
rx_dropped = 0
tx_packets = 73580
tx_bytes = 7956049
tx_enqueue_failed = 0
shaper_enqueue_failed = 0
ocm_alloc_failed = 0
if_num 37 stats end:

if_num 39 stats start:

rx_packets = 246911
rx_bytes = 359148987
rx_dropped = 0
tx_packets = 14918
tx_bytes = 16461621
tx_enqueue_failed = 0
shaper_enqueue_failed = 0
ocm_alloc_failed = 0
if_num 39 stats end:

base node stats begin (shown on if_num 39):

active_interfaces = 6
ocm_alloc_failed = 0
ddr_alloc_failed = 0
base node stats end.

root@OpenWrt:~# tc -s qdisc show dev eth0
qdisc nsstbl 1: root refcnt 2 buffer/maxburst 1514b rate 90Mbit mtu 1514b accel_mode 0
 Sent 6577462 bytes 65748 pkt (dropped 0, overlimits 39 requeues 0)
 backlog 0b 0p requeues 0
qdisc nssfq_codel 10: parent 1: target 2ms limit 1001p interval 50ms flows 1024 quantum 300 set_default accel_mode 0
 Sent 6577462 bytes 65748 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 maxpacket 1518 drop_overlimit 0 new_flow_count 33191 ecn_mark 0
 new_flows_len 0 old_flows_len 1
root@OpenWrt:~#
root@OpenWrt:~# tc -s qdisc show dev nssifb
qdisc nsstbl 1: root refcnt 2 buffer/maxburst 1514b rate 500Mbit mtu 1514b accel_mode 0
 Sent 359163391 bytes 247029 pkt (dropped 0, overlimits 1367 requeues 0)
 backlog 0b 0p requeues 0
qdisc nssfq_codel 10: parent 1: target 2ms limit 1001p interval 50ms flows 1024 quantum 1514 set_default accel_mode 0
 Sent 359163391 bytes 247029 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 maxpacket 1518 drop_overlimit 0 new_flow_count 83996 ecn_mark 0
 new_flows_len 0 old_flows_len 2
root@OpenWrt:~#
root@OpenWrt:~# tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2
qdisc nsstbl 1: dev eth0 root refcnt 2 buffer/maxburst 1514b rate 90Mbit mtu 1514b accel_mode 0
qdisc nssfq_codel 10: dev eth0 parent 1: target 2ms limit 1001p interval 50ms flows 1024 quantum 300 set_default accel_mode 0
qdisc fq_codel 8003: dev eth1 root refcnt 2 limit 1000p flows 1024 quantum 1514 target 2.5ms interval 50ms memory_limit 4Mb ecn drop_batch 64
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev eth1.1 root refcnt 2
qdisc noqueue 0: dev eth0.2 root refcnt 2
qdisc noqueue 0: dev phy1-ap0 root refcnt 2
qdisc noqueue 0: dev phy0-ap0 root refcnt 2
qdisc nsstbl 1: dev nssifb root refcnt 2 buffer/maxburst 1514b rate 500Mbit mtu 1514b accel_mode 0
qdisc nssfq_codel 10: dev nssifb parent 1: target 2ms limit 1001p interval 50ms flows 1024 quantum 1514 set_default accel_mode 0
root@OpenWrt:~#
root@OpenWrt:~# iw phy0 get codel
CoDeL target:           5 ms
CoDeL interval:         50 ms
CoDeL ECN CE marking:           1
root@OpenWrt:~# iw phy1 get codel
CoDeL target:           5 ms
CoDeL interval:         50 ms
CoDeL ECN CE marking:           1
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/aql_txq_limit
AC      AQL limit low   AQL limit high
VO      5000            12000
VI      5000            12000
BE      5000            12000
BK      5000            12000
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy1/aql_txq_limit
AC      AQL limit low   AQL limit high
VO      5000            12000
VI      5000            12000
BE      5000            12000
BK      5000            12000

sqm restart (nss-rk.qos version 20230313a)

58.993375] 46a1dfa3: Reset nexthop successful for net device [eth0].
[   58.998655] NSS IFB transmit callback unregistered
[   58.999085] NSS virtual interface destroyed for dev [nssifb]
[   65.418841] debugfs: File 'virt_if' in directory 'stats' already present!
[   65.426368] Created a NSS virtual interface for dev [nssifb]
[   65.430207] NSS IFB data callback registered
[   65.436013] NSS IFB transmit callback registered
[   65.580486] __nss_qdisc_init[2175]:parent (65536) and TC_H_ROOT (-1))
[   65.580504] __nss_qdisc_init[2176]:root->ops->owner (00000000) and THIS_MODULE (bf62f600))
[   65.580542] __nss_qdisc_init[2177]:NSS qdisc c5ad2200 (type 1) used along with non-nss qdiscs, or the interface is currently down
[   65.592117] 46a1dfa3: Found net device [eth0]
[   65.605930] 46a1dfa3: Net device [eth0] has NSS intf_num [1]
[   65.610361] Nexthop successfully set for [eth0] to [nssifb]
**[   66.147602] br-lan: port 3(phy0-ap0) entered blocking state**
**[   66.147651] br-lan: port 3(phy0-ap0) entered forwarding state**

Edit:
sqm restart (nss-rk.qos 20230314a)

Tue Mar 14 20:39:21 2023 user.notice SQM: Stopping SQM on eth0
Tue Mar 14 20:39:21 2023 user.notice SQM: ERROR: cmd_wrapper: tc: FAILURE (2): /sbin/tc qdisc del dev eth0 ingress
Tue Mar 14 20:39:21 2023 user.notice SQM: ERROR: cmd_wrapper: tc: LAST ERROR: RTNETLINK answers: No such file or directory
Tue Mar 14 20:39:21 2023 kern.info kernel: [16612.900516] 46a1dfa3: Reset nexthop successful for net device [eth0].
Tue Mar 14 20:39:21 2023 kern.info kernel: [16612.907879] NSS IFB transmit callback unregistered
Tue Mar 14 20:39:21 2023 kern.info kernel: [16612.908241] NSS virtual interface destroyed for dev [nssifb]
Tue Mar 14 20:39:22 2023 user.notice SQM: Starting SQM script: nss-rk.qos on eth0, in: 500000 Kbps, out: 90000 Kbps
Tue Mar 14 20:39:22 2023 kern.err kernel: [16614.101631] debugfs: File 'virt_if' in directory 'stats' already present!
Tue Mar 14 20:39:22 2023 kern.info kernel: [16614.101948] Created a NSS virtual interface for dev [nssifb]
Tue Mar 14 20:39:22 2023 kern.info kernel: [16614.107543] NSS IFB data callback registered
Tue Mar 14 20:39:22 2023 kern.info kernel: [16614.113149] NSS IFB transmit callback registered
Tue Mar 14 20:39:22 2023 user.notice SQM: ERROR: No ip6tables binary found, please install 'ip6tables' or 'ip6tables-nft' to use this script
Tue Mar 14 20:39:22 2023 kern.warn kernel: [16614.215635] __nss_qdisc_init[2175]:parent (65536) and TC_H_ROOT (-1))
Tue Mar 14 20:39:22 2023 kern.warn kernel: [16614.215653] __nss_qdisc_init[2176]:root->ops->owner (00000000) and THIS_MODULE (bf62f600))
Tue Mar 14 20:39:22 2023 kern.warn kernel: [16614.215690] __nss_qdisc_init[2177]:NSS qdisc cae86a00 (type 1) used along with non-nss qdiscs, or the interface is currently down
Tue Mar 14 20:39:22 2023 kern.info kernel: [16614.227436] 46a1dfa3: Found net device [eth0]
Tue Mar 14 20:39:22 2023 kern.info kernel: [16614.241064] 46a1dfa3: Net device [eth0] has NSS intf_num [1]
Tue Mar 14 20:39:22 2023 kern.info kernel: [16614.245479] Nexthop successfully set for [eth0] to [nssifb]
Tue Mar 14 20:39:22 2023 user.notice SQM: nss-rk.qos was started on eth0 successfully

Kernel log
[16612.900516] 46a1dfa3: Reset nexthop successful for net device [eth0].
[16612.907879] NSS IFB transmit callback unregistered
[16612.908241] NSS virtual interface destroyed for dev [nssifb]
[16614.101631] debugfs: File 'virt_if' in directory 'stats' already present!
[16614.101948] Created a NSS virtual interface for dev [nssifb]
[16614.107543] NSS IFB data callback registered
[16614.113149] NSS IFB transmit callback registered
[16614.215635] __nss_qdisc_init[2175]:parent (65536) and TC_H_ROOT (-1))
[16614.215653] __nss_qdisc_init[2176]:root->ops->owner (00000000) and THIS_MODULE (bf62f600))
[16614.215690] __nss_qdisc_init[2177]:NSS qdisc cae86a00 (type 1) used along with non-nss qdiscs, or the interface is currently down
[16614.227436] 46a1dfa3: Found net device [eth0]
[16614.241064] 46a1dfa3: Net device [eth0] has NSS intf_num [1]
[16614.245479] Nexthop successfully set for [eth0] to [nssifb]
3 Likes

This is my diffconfig file:

# Use "make defconfig" to expand this to a full .config
CONFIG_TARGET_ipq806x=y
CONFIG_TARGET_ipq806x_generic=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_ipq806x_generic_DEVICE_netgear_r7800=y
CONFIG_TARGET_DEVICE_PACKAGES_ipq806x_generic_DEVICE_netgear_r7800=""
CONFIG_TARGET_DEVICE_ipq806x_generic_DEVICE_linksys_ea8500=y
CONFIG_TARGET_DEVICE_PACKAGES_ipq806x_generic_DEVICE_linksys_ea8500=""
CONFIG_TARGET_PER_DEVICE_ROOTFS=y

# exfat is patented
CONFIG_BUILD_PATENTED=y

# NSS Drivers
CONFIG_PACKAGE_kmod-qca-nss-drv=y
CONFIG_PACKAGE_kmod-qca-nss-ecm-standard=y
CONFIG_PACKAGE_kmod-qca-nss-gmac=y
CONFIG_PACKAGE_MAC80211_NSS_SUPPORT=y
CONFIG_PACKAGE_kmod-qca-nss-drv-qdisc=y
CONFIG_PACKAGE_kmod-nss-ifb=y
CONFIG_PACKAGE_kmod-qca-nss-drv-tunipip6=y

# Longer waiting for failsafe button push
CONFIG_IMAGEOPT=y
CONFIG_PREINITOPT=y
CONFIG_TARGET_PREINIT_TIMEOUT=5

# Busybox tweaks
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY=y
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_REGEXP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_WINCH=y

# Add-on programs
CONFIG_DROPBEAR_ECC=y
CONFIG_PACKAGE_openvpn-openssl=y
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_kmod-cryptodev=y
CONFIG_PACKAGE_libopenssl-devcrypto=y
CONFIG_PACKAGE_kmod-dnsresolver=y
CONFIG_PACKAGE_kmod-ramoops=y
CONFIG_PACKAGE_kmod-pstore=y
CONFIG_PACKAGE_kmod-reed-solomon=y
# CONFIG_PACKAGE_kmod-pppol2tp is not set
CONFIG_PACKAGE_ds-lite=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_kmod-usb-printer=y

# USB device mount & file systems support
CONFIG_PACKAGE_block-mount=y
CONFIG_PACKAGE_cryptsetup=y
CONFIG_PACKAGE_e2fsprogs=y
CONFIG_PACKAGE_f2fs-tools=y
CONFIG_PACKAGE_kmod-crypto-ecb=y
CONFIG_PACKAGE_kmod-crypto-xts=y
CONFIG_PACKAGE_kmod-crypto-iv=y
CONFIG_PACKAGE_kmod-crypto-misc=y
CONFIG_PACKAGE_kmod-crypto-user=y
CONFIG_PACKAGE_kmod-fs-exfat=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-fs-f2fs=y
CONFIG_PACKAGE_kmod-fs-hfs=y
CONFIG_PACKAGE_kmod-fs-hfsplus=y
CONFIG_PACKAGE_kmod-fs-msdos=y
CONFIG_PACKAGE_kmod-fs-nfs=y
CONFIG_PACKAGE_kmod-fs-nfs-common=y
CONFIG_PACKAGE_kmod-fs-nfs-v3=y
CONFIG_PACKAGE_kmod-fs-nfs-v4=y
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-nls-cp1250=y
CONFIG_PACKAGE_kmod-nls-cp437=y
CONFIG_PACKAGE_kmod-nls-cp850=y
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
CONFIG_PACKAGE_kmod-nls-iso8859-15=y
CONFIG_PACKAGE_kmod-nls-utf8=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-storage-uas=y
CONFIG_PACKAGE_libblkid=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_nfs-utils=y

# IPv6 support
CONFIG_PACKAGE_6in4=y
CONFIG_PACKAGE_6to4=y
CONFIG_PACKAGE_6rd=y

# WLAN/WPS support
CONFIG_PACKAGE_hostapd-utils=y
CONFIG_WPA_MSG_MIN_PRIORITY=4
CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-basic-wolfssl is not set
# CONFIG_PACKAGE_libustream-wolfssl is not set

# SSL certificates
CONFIG_PACKAGE_ca-certificates=y

# Luci (SSL from OpenSSL)
CONFIG_PACKAGE_luci-ssl-openssl=y
CONFIG_PACKAGE_luci-app-commands=y
CONFIG_PACKAGE_luci-app-ddns=y
CONFIG_PACKAGE_luci-app-wireguard=y
CONFIG_PACKAGE_luci-app-samba4=y
CONFIG_PACKAGE_luci-app-simple-adblock=y
CONFIG_PACKAGE_luci-app-ttyd=y

CONFIG_DEVEL=y
CONFIG_CCACHE=y
CONFIG_PACKAGE_kmod-mtd-rw=y

CONFIG_PACKAGE_kmod-ath10k-ct=y
CONFIG_PACKAGE_kmod-ath10k=m
CONFIG_PACKAGE_ath10k-firmware-qca99x0-ct=m
CONFIG_PACKAGE_ath10k-firmware-qca9984-ct=m
CONFIG_PACKAGE_ath10k-firmware-qca99x0=m
CONFIG_PACKAGE_ath10k-firmware-qca9984=m

# CONFIG_PACKAGE_kmod-nls-cp1250 is not set
# CONFIG_PACKAGE_kmod-nls-cp850 is not set
# CONFIG_PACKAGE_kmod-nls-iso8859-15 is not set
CONFIG_PACKAGE_kmod-usb-storage-extras=y
CONFIG_PACKAGE_kmod-usb-uhci=y

# CONFIG_FEED_telephony is not set

CONFIG_PACKAGE_wget-ssl=y
CONFIG_PACKAGE_bind-host=y
CONFIG_PACKAGE_ddns-scripts-noip=y

CONFIG_PACKAGE_openssh-sftp-server=y
CONFIG_PACKAGE_samba4-admin=y
CONFIG_PACKAGE_samba4-utils=y
CONFIG_PACKAGE_usb-modeswitch=y

one more question, how to mod my diffconfig file for ath10k build, I've tried to install ath10k drivers replaced ath10k-ct on my router(-ct), unsuccessful.

I gave up on it. I'm running an old master build without NSS, but with all other tweaks I could find instead. It's been stable as a rock and no one complains about the Wi-Fi speed anymore.

Promisc is estable 5.10, 21 days on.

1 Like

Hi, thanks for the effort on these builds. Is there any chance that the Google OnHub devices (IPQ8064, an Asus and TP-Link variant but they're pretty similar) could be added into this build system sometime in the future, once time permits?

It's only recently a supported device, it hasn't had support for a stable release yet, but over in the thread for building up support for this device others have got the NSS modules out of your repository working on the master branch OpenWRT with a modified device tree (see dadogroove's google drive link in the post below what I linked, for details on what he, and in turn I did). I've been running builds from it, including one just yesterday, for a bit now and it seems to work well enough - greatly increased performance, maybe one or two reboots in the week or two that I've been running it, which doesn't seem out of line with what some people have reported on other routers using the master branch builds.

Totally willing to test builds - I've got a couple Onhubs so I'm not afraid of screwing up my current setup, and they're really difficult to hard brick, so some testing won't do any harm.

Anyone running on master that is getting random kernel panics while using CT driver with CT firmware? Seems like that the crash logs always refer to paging at a NULL pointer somewhere.

5.15 branch is stable to me.
these features are enabled.
ath10k-ct
irqbalance
l2tpv2
pppoe
dslite

2 Likes

@ACwifidude - Just want to express my sincerest gratitude for all the work you put in to this project over the last several years. I have transitioned all the devices I support over to IPQ807x (Dynalink DL-WRX36), and have moved on from the trusty R7800s. If you ever want a new challenge, could sure use your knowledge over that way. :wink: Cheers my friend.

4 Likes

How is that router going, is it 100% supported?

It’s running great. Everything standard works out of the box. NSS isn’t supported officially (just like R7800), but I’m sure in time a community build will pop up (there’s already work being done on the Xiaomi ax3600 - which is same general hardware). Even without NSS, gigabit wan-lan is achievable. Wifi performance is great as well, but needs NSS for gigabit.

Here’s the support thread for anyone curious…

2 Likes

How does the speed and range of your new device compare to the NSS enabled r7800?

ipq807x is looking good and NSS is starting to take off with that platform. I’ve been watching ipq807x with interest now that it is in master. Waiting to see which devices have good range, good multi-gig support, etc. I’d assume the speed gets a 200mbps jump just going from AC to AX. If the range is good and performance is better across the board, it is tempting!

3 Likes

@ACwifidude Range in my home is improved - definitely - but integrity also seems improved. 2.4ghz is significantly improved and since AX also operates on that band, it really opens up the options. Dynalink has a 2.5gb WAN port, but only gigabit LAN. I’m honestly amazed at how stable it is considering the relative “youth” of the platform with OpenWRT. Much like your NSS builds, for my relatively easy needs it’s completely set and forget. Has a large heat sink, so temps stay nice and low (50-55C).

For $79.99 on us Amazon, it’s a steal.

2 Likes

At risk of an OT tangent, I'll offer my contrary opinion. I don't doubt some are getting good results with the DL-WRX36, but I've concluded OpenWrt support may need to bake a bit longer in the oven to get the best AP performance out of the impressive Dynalink DL-WRX36 hardware specs.

I have a DL-WRX36 and Belkin RT3200 set up as dumb AP's running current snapshots - one on each of two floors in our home (and also tested swapping them out in the same location). I have found DL-WRX36 5GHz WiFi throughput lacking compared to the RT3200 under identical conditions and connecting to Intel ax200 2x2 clients, especially at intermediate to longer ranges.

On balance, I don't feel like I've gained much to date compared to Wave 2 WiFi 5 after migrating to 802.11ax capable AP's.

3 Likes

Oh for sure it still needs maturation. The current IRQ situation needs to be resolved for example. But the right minds are working on it all… and I’m a big believer that it’s going to end up great as it progresses! I haven’t tried the belkin/ linksys to compare to, but I’d imagine as ipq807x progresses it will surpass it simply due to hardware alone.

And yes - I do apologize for any off topic tangents we went off on as well.

1 Like

crystaldiskmark
intel ax200 - r7800 (voxel)
image
intel ax200 - xiaomi ax6000
image
I got a 44% benefit from switching to ax.

r7800 NSS will test later

5 Likes

Hi, basic question here as a EA8500 user. I'm looking to update to this ACWifidude's latest 22.03 build from Kong's build based off of 22.052.

What's the best flash sequence to accomplish this? Do I flash factory image or go straight to sysupgrade? Also, do I need to flash any image multiple times (I recall needing to do that before for a prior upgrade). Sorry for the noob questions, trying to avoid headaches later. Thanks.

I use the Serial connection + TFTP on a Windows 10 PC:

Install OpenWRT:
1. PC-Lan set "static IP address 192.168.1.2"
2. connect EA8500-serial to PC, and use Putty to control
3. connect EA8500-Lan1 to PC-Lan port.
4. disable all PC-virus protections and firewalls
5. prepare TFTP64, copy used factory-code to TFTP64 folder, rename it to openwrt-factory.bin

ready...go!
6. after EA8500 power-on, in Putty press "Enter" immediately, should get:

Updating boot_count ... done

Hit any key to stop autoboot:  0
Write Reg: 0x00000660: Oldval = 0x00140020 Newval = 0x0014007e
Write Reg: 0x0000066c: Oldval = 0x0014005c Newval = 0x0014007d
Write Reg: 0x00000678: Oldval = 0x0014005a Newval = 0x0014007b
...... ......

(IPQ) #

7. then start TFTP64, and fine 192.168.1.2 settings

8. copy and paste the following Putty commands for bank-1 flash:

setenv image openwrt-factory.bin
setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.2
run flashimg

(for bank1, flashimg)

9. after succeeded, copy and paste the following Putty commands for bank-2 flash:

setenv image openwrt-factory.bin
setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.2
run flashimg2

(for bank-2, flashimg2)

DONE!!!

once openwrt is working, upgrade it using sysupgrade.bin code in Luci.

once the device bricked, go back use Serial + TFTP again to repair it.

1 Like

So I need to go thru the serial connection deal all over again even though I'm already on version 22.052? It was torture for me the first time lol.

No don't need it