secam7 napisał/a:Nie będę pisał ile czasu straciłem na zmiany w kernelu 6.18. 
Obraz testowy dla Twojego AX6000 jest gotowy: https://github.com/kuncy7/openwrt-nss-e … 0-ecc-fw27
To wydanie 10.05 z dwiema zmianami: korekcja ECC dobiera się sama do kości NAND (u Ciebie ESMT, więc 4 bity, jak w 25.12) i radio 2,4 GHz dostało nowszy firmware. Nie mam AX6000, więc ten obraz nie był na nim uruchamiany - miej przygotowany powrót tą samą drogą co poprzednio.
Wgraj z działającego OpenWrt, bez zachowywania ustawień, i podłącz się kablem (po czystym starcie Wi-Fi jest wyłączone, router ma 192.168.1.1):
sysupgrade -n /tmp/openwrt-qualcommax-ipq50xx-xiaomi_ax6000-TEST-ecc-fw27-squashfs-sysupgrade.bin
Jeśli wstanie, wklej proszę wynik:
dmesg | grep -iE "nand|ecc|ubi0"
dmesg | grep -E "fw_version|nss init soc"
nss-status
Obraz jest bez LuCI; po podłączeniu do internetu:
apk update && apk add luci luci-app-nss
witam.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r36792+225-0d212bc5235
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# dmesg | grep -iE "nand|ecc|ubi0"
[ 0.104073] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.566817] spi-nand spi0.0: ESMT SPI NAND was found.
[ 1.572426] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 2.860278] ubi0: attaching mtd19
[ 3.590489] ubi0: scanning is finished
[ 3.641968] ubi0: attached mtd19 (name "rootfs", size 81 MiB)
[ 3.642038] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.646725] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.653558] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.660353] ubi0: good PEBs: 652, bad PEBs: 0, corrupted PEBs: 0
[ 3.667164] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.673396] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 296103136
[ 3.680407] ubi0: available PEBs: 0, total reserved PEBs: 652, PEBs reserved for bad PEB handling: 20
[ 3.689405] ubi0: background thread "ubi_bgt0d" started, PID 683
[ 3.700389] block ubiblock0_0: created from ubi0:0(rootfs)
[ 3.704888] ubi: mtd19 is already attached to ubi0
[ 11.598482] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 11.598770] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 862
[ 11.672378] UBIFS (ubi0:1): recovery needed
[ 11.812380] UBIFS (ubi0:1): recovery completed
[ 11.812556] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 11.815751] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 11.823691] UBIFS (ubi0:1): FS size: 66154496 bytes (63 MiB, 521 LEBs), max 531 LEBs, journal size 3301376 bytes (3 MiB, 26 LEBs)
[ 11.833592] UBIFS (ubi0:1): reserved for root: 3124639 bytes (3051 KiB)
[ 11.845196] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 1A434EBE-D6FF-48E5-B244-C8061B05B51E, small LPT model
root@OpenWrt:~# dmesg | grep -E "fw_version|nss init soc"
[ 37.224778] ath11k c000000.wifi: fw_version 0x270206d0 fw_build_timestamp 2022-08-04 13:28 fw_build_id WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
[ 37.587286] ath11k c000000.wifi: nss init soc nss if_num 203 userpd_id 1
[ 38.982190] ath11k_pci 0000:01:00.0: fw_version 0x290b8862 fw_build_timestamp 2024-09-23 10:51 fw_build_id
[ 39.634579] ath11k_pci 0000:01:00.0: nss init soc nss if_num 215 userpd_id 0
root@OpenWrt:~# nss-status
NSS offload status: active
firmware: NSS.FW.12.2-156-MP.R (fw_mask 0x3, heartbeat 1500 pkts/s)
NSS cores: core0 4% avg
ports: offloaded = forwarded by the firmware, never reached the host
port if up tx offloaded via host rx offloaded to host
eth0 0 1 355 (25.3%) 1050 297 (22.7%) 1011
wan 1 1 242 (26.6%) 667 339 (14.1%) 2072
(via host / to host = the host<->firmware exception path, i.e. what was
NOT offloaded: broadcast/multicast discovery, connection setup and
short-lived flows, and traffic addressed to the router itself. A quiet
port carries little else, so its share reads low. Port totals: ifconfig)
DSA nodes: one firmware node per standalone port or bridge (a bridge's
ports share it, listed under one); totals from that port's MIB
port if vid link tx pkts rx pkts
lan2 29 3088 up 1398 1312
ECM: loaded=1, accelerated: 8 IPv4 / 0 IPv6
modules: bridge-mgr=0 qca-mcs=0 pppoe-mgr=1
Wi-Fi: NSS offload active (wifili)
fw mem mode: wifi@c000000=1 (from the device tree; 2 is what a QCN6122 on a GL-B3000 needed, 1 is measured working elsewhere)
SQM: no NSS shaper on eth1
kernel log: clean (no WARN/oops this boot)
verdict: OFFLOAD ACTIVE
root@OpenWrt:~#