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

right - I'm going to build / run until I bump my nose on something; I'm hoping to contribute to NSS-enabled kernel 5.15 if I can.

2 Likes

my kernel log (first part) so far

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.68 (asvio@VM-MINT-PC01) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.3.0 r20732-2076fb591c) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Wed Sep 21 07:35:20 2022
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s16460 r8192 d24500 u49152
[    0.000000] pcpu-alloc: s16460 r8192 d24500 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: 
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 473128K/491520K available (7209K kernel code, 616K rwdata, 1756K rodata, 1024K init, 239K bss, 18392K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000001] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000026] Switching to timer-based delay loop, resolution 160ns
[    0.000378] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000414] pid_max: default: 32768 minimum: 301
[    0.000672] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000706] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001834] CPU: Testing write buffer coherency: ok
[    0.002163] qcom_scm: convention: smc legacy
[    0.003356] Setting up static identity map for 0x42300000 - 0x42300060
[    0.003557] rcu: Hierarchical SRCU implementation.
[    0.003901] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.004164] smp: Bringing up secondary CPUs ...
[    0.006165] smp: Brought up 1 node, 2 CPUs
[    0.006193] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.006214] CPU: All CPU(s) started in SVC mode.
[    0.017876] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.018024] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018062] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018220] pinctrl core: initialized pinctrl subsystem
[    0.020017] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020346] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.021758] thermal_sys: Registered thermal governor 'step_wise'
[    0.023712] cpuidle: using governor ladder
[    0.023796] cpuidle: using governor menu
[    0.045303] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    0.081642] s1a: Bringing 0uV into 1050000-1050000uV
[    0.081870] s1a: supplied by regulator-dummy
[    0.082029] s1b: Bringing 0uV into 1050000-1050000uV
[    0.082245] s1b: supplied by regulator-dummy
[    0.082390] s2a: Bringing 0uV into 775000-775000uV
[    0.082583] s2a: supplied by regulator-dummy
[    0.082804] s2b: Bringing 0uV into 775000-775000uV
[    0.083007] s2b: supplied by regulator-dummy
[    0.083612] usbcore: registered new interface driver usbfs
[    0.083681] usbcore: registered new interface driver hub
[    0.083745] usbcore: registered new device driver usb
[    0.083807] pps_core: LinuxPPS API ver. 1 registered
[    0.083823] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.083857] PTP clock support registered
[    0.085977] clocksource: Switched to clocksource dg_timer
[    0.086876] NET: Registered PF_INET protocol family
[    0.087086] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.087858] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.087900] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.087929] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.087968] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.088028] TCP: Hash tables configured (established 4096 bind 4096)
[    0.088111] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.088147] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.088408] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.088461] PCI: CLS 0 bytes, default 64
[    0.089256] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.094904] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.094924] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.199107] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.199318] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.199424] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.199672] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.199717] qcom-pcie 1b500000.pci: Parsing ranges property...
[    0.199759] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x000fe00000
[    0.199803] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.319962] qcom-pcie 1b500000.pci: iATU unroll: disabled
[    0.319988] qcom-pcie 1b500000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.422740] qcom-pcie 1b500000.pci: Link up
[    0.422887] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.422910] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.422937] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xfe00000-0xfe0ffff])
[    0.422958] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.422981] pci_bus 0000:00: scanning bus
[    0.423034] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.423173] pci 0000:00:00.0: supports D1
[    0.423194] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.423217] pci 0000:00:00.0: PME# disabled
[    0.426924] pci_bus 0000:00: fixups for bus
[    0.426949] PCI: bus0: Fast back to back transfers disabled
[    0.426972] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.427118] pci_bus 0000:01: scanning bus
[    0.427327] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.427510] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.428312] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.428355] pci 0000:01:00.0: PME# disabled
[    0.432062] pci_bus 0000:01: fixups for bus
[    0.432117] PCI: bus1: Fast back to back transfers disabled
[    0.432137] pci_bus 0000:01: bus scan returning with max=01
[    0.432157] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.432178] pci_bus 0000:00: bus scan returning with max=ff
[    0.432210] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.432239] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.432339] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.432367] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.432561] pcieport 0000:00:00.0: assign IRQ: got 47
[    0.432679] qcom-pcie 1b500000.pci: msi#0 address_hi 0x0 address_lo 0x43648c98
[    0.433332] pcieport 0000:00:00.0: AER: enabled with IRQ 48
[    0.433425] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x10117cb)
[    0.433447] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100547)
[    0.433465] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0xff000000)
[    0.433480] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10010)
[    0.433496] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0x0)
[    0.433512] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    0.433527] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0xff0100)
[    0.433542] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0xf0)
[    0.433558] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x8100800)
[    0.433574] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x1fff1)
[    0.433590] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    0.433606] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    0.433622] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    0.433638] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x40)
[    0.433653] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    0.433669] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x3012f)
[    0.434322] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.434526] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.434634] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.434878] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.434923] qcom-pcie 1b700000.pci: Parsing ranges property...
[    0.434962] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0031e00000
[    0.435007] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    0.560788] qcom-pcie 1b700000.pci: iATU unroll: disabled
[    0.560811] qcom-pcie 1b700000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.663507] qcom-pcie 1b700000.pci: Link up
[    0.663652] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.663675] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.663702] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x31e00000-0x31e0ffff])
[    0.663724] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.663744] pci_bus 0001:00: scanning bus
[    0.663795] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.663924] pci 0001:00:00.0: supports D1
[    0.663944] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.663967] pci 0001:00:00.0: PME# disabled
[    0.667620] pci_bus 0001:00: fixups for bus
[    0.667644] PCI: bus0: Fast back to back transfers disabled
[    0.667666] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.667796] pci_bus 0001:01: scanning bus
[    0.668020] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.668216] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.669088] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.669133] pci 0001:01:00.0: PME# disabled
[    0.669371] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.672891] pci_bus 0001:01: fixups for bus
[    0.672952] PCI: bus1: Fast back to back transfers disabled
[    0.672971] pci_bus 0001:01: bus scan returning with max=01
[    0.672991] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.673013] pci_bus 0001:00: bus scan returning with max=ff
[    0.673039] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.673069] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.673174] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.673197] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.673370] pcieport 0001:00:00.0: assign IRQ: got 49
[    0.673477] qcom-pcie 1b700000.pci: msi#0 address_hi 0x0 address_lo 0x43649c98
[    0.674049] pcieport 0001:00:00.0: AER: enabled with IRQ 50
[    0.674147] pcieport 0001:00:00.0: saving config space at offset 0x0 (reading 0x10117cb)
[    0.674166] pcieport 0001:00:00.0: saving config space at offset 0x4 (reading 0x100547)
[    0.674182] pcieport 0001:00:00.0: saving config space at offset 0x8 (reading 0xff000000)
[    0.674199] pcieport 0001:00:00.0: saving config space at offset 0xc (reading 0x10010)
[    0.674215] pcieport 0001:00:00.0: saving config space at offset 0x10 (reading 0x0)
[    0.674231] pcieport 0001:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    0.674247] pcieport 0001:00:00.0: saving config space at offset 0x18 (reading 0xff0100)
[    0.674262] pcieport 0001:00:00.0: saving config space at offset 0x1c (reading 0xf0)
[    0.674277] pcieport 0001:00:00.0: saving config space at offset 0x20 (reading 0x2e102e00)
[    0.674293] pcieport 0001:00:00.0: saving config space at offset 0x24 (reading 0x1fff1)
[    0.674310] pcieport 0001:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    0.674325] pcieport 0001:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    0.674341] pcieport 0001:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    0.674356] pcieport 0001:00:00.0: saving config space at offset 0x34 (reading 0x40)
[    0.674372] pcieport 0001:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    0.674387] pcieport 0001:00:00.0: saving config space at offset 0x3c (reading 0x30131)
[    0.677355] L2 @ QSB rate. Forcing new rate.
[    0.677578] L2 @ 384000 KHz
[    0.677768] CPU0 @ 800000 KHz
[    0.677790] CPU1 @ QSB rate. Forcing new rate.
[    0.677933] CPU1 @ 384000 KHz
[    0.682123] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.684087] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.684935] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.684993] msm_serial 16340000.serial: uartclk = 7372800
[    0.685066] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 51, base_baud = 460800) is a MSM
[    0.685117] msm_serial: console setup on port #0
[    1.589907] printk: console [ttyMSM0] enabled
[    1.595024] msm_serial: driver initialized
[    1.604427] loop: module loaded
[    1.605929] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa1
[    1.606478] nand: AMD/Spansion S34MS01G2
[    1.612976] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.617071] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.624307] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.631242] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.639385] Creating 8 MTD partitions on "qcom_nand.0":
[    1.646142] 0x000000000000-0x000000c80000 : "qcadata"
[    1.671257] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.679631] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.680981] 0x000001200000-0x000001340000 : "art"
[    1.686187] 0x000001340000-0x000001480000 : "artbak"
[    1.691022] 0x000001480000-0x000001880000 : "kernel"
[    1.700273] 0x000001880000-0x000007900000 : "ubi"
[    1.850896] 0x000007900000-0x000008000000 : "reserve"
[    1.884725] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.722912] ar8327: qca,phy-rgmii-en is not specified
[    2.723942] i2c_dev: i2c /dev entries driver
[    2.733654] sdhci: Secure Digital Host Controller Interface driver
[    2.733690] sdhci: Copyright(c) Pierre Ossman
[    2.738816] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.745742] NET: Registered PF_INET6 protocol family
[    2.750360] Segment Routing with IPv6
[    2.753873] In-situ OAM (IOAM) with IPv6
[    2.757561] NET: Registered PF_PACKET protocol family
[    2.761510] Bridge firewalling registered
[    2.766686] 8021q: 802.1Q VLAN Support v1.8
[    2.770368] Registering SWP/SWPB emulation handler
[    2.806430] thermal thermal_zone0: failed to read out thermal zone (-110)
[    2.822161] UBI: auto-attach mtd6
[    2.822199] ubi0: attaching mtd6
[    2.957244] random: crng init done
[    3.535498] ubi0: scanning is finished
[    3.545025] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    3.545051] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.549490] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.556172] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.563098] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    3.569846] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.576051] ubi0: max/mean erase counter: 28/20, WL threshold: 4096, image sequence number: 1624137318
[    3.583159] ubi0: available PEBs: 0, total reserved PEBs: 772, PEBs reserved for bad PEB handling: 20
[    3.592515] ubi0: background thread "ubi_bgt0d" started, PID 84
[    3.593176] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.607463] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.617370] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.617963] Freeing unused kernel image (initmem) memory: 1024K
[    3.646878] Run /sbin/init as init process
[    3.646924]   with arguments:
[    3.646939]     /sbin/init
[    3.646953]   with environment:
[    3.646968]     HOME=/
[    3.646982]     TERM=linux
[    3.984153] init: Console is alive
[    3.984305] init: - watchdog -
[    3.986636] init: Watchdog has previously reset the system
[    6.018895] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.156053] pstore: Using crash dump compression: deflate
[    6.156096] pstore: Registered ramoops as persistent store backend
[    6.160580] ramoops: using 0x40000@0x42100000, ecc: 0
[    6.168451] **********************************************************
[    6.171635] * Driver    :NSS GMAC Driver - RTL v(3.72a)
[    6.178145] * Version   :1.0
[    6.183176] * Copyright :Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
[    6.186398] **********************************************************
[    6.196446] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_FS(1)(0x3cd8): 0x8
[    6.200992] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC_CTL(1)(0x3cc0): 0x2
[    6.213865] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC0_MD(1)(0x3cc4): 0x7f0000
[    6.226936] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC1_MD(1)(0x3cc8): 0x7f0000
[    6.240808] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC0_NS(1)(0x3ccc): 0x142
[    6.254459] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC1_NS(1)(0x3cd0): 0x142
[    6.267736] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    6.281108] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_CTL(1)(0x3cd4): 0x50
[    6.295165] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf380000) + NSS_GMACn_CTL(1)(0x34): 0x90c0c
[    6.308098] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf380000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    6.318956] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37200000. mac_base 0xd53645c1.
[    6.330115] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    6.346536] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    6.348552] ipq8064-mdio 37000000.mdio eth0: Initialized NSS GMAC1 interface eth0: (base = 0x37200000, irq = 39, PhyId = 4, PollLink = 0)
[    6.359496] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_FS(2)(0x3cf8): 0x8
[    6.371397] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC_CTL(2)(0x3ce0): 0x2
[    6.384044] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC0_MD(2)(0x3ce4): 0x7f0000
[    6.397174] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC1_MD(2)(0x3ce8): 0x7f0000
[    6.411035] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC0_NS(2)(0x3cec): 0x142
[    6.424687] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_SRC1_NS(2)(0x3cf0): 0x142
[    6.437962] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    6.451333] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdf374000) + GMAC_COREn_CLK_CTL(2)(0x3cf4): 0x50
[    6.465402] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf380000) + NSS_GMACn_CTL(2)(0x38): 0x80c0c
[    6.478324] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf380000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    6.489167] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: QSGMII_PHY_SGMII_1_CTL(0x13c) - 0xc09c408f
[    6.500286] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: NSS_QSGMII_CLK_CTL(0x2c) - 0x0
[    6.510782] (unnamed net_device) (uninitialized): SGMII Specific Init for GMAC2 Done!
[    6.520427] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37400000. mac_base 0x62fb8910.
[    6.528356] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    6.544406] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    6.546844] ipq8064-mdio 37000000.mdio eth1: Initialized NSS GMAC2 interface eth1: (base = 0x37400000, irq = 40, PhyId = 0, PollLink = 0)
[    6.869510] nss_driver - fw of size 544712  bytes copied to load addr: 40000000, nss_id : 0
[    6.870253] nss_driver - Turbo Support 1
[    6.876768] Supported Frequencies - 
[    6.876773] 800Mhz 
[    6.880832] 800Mhz 
[    6.884391] 800Mhz 
[    6.886212] 
[    6.890687] bf07fb00: meminfo init succeed
[    6.916604] node size 1 # items 2
[    6.916681] memory: 0 0 (avl 492408832) items 2 active_cores 2
[    6.936376] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    6.936503] bf07fb00: nss core 0 booted successfully
[    7.091636] nss_driver - fw of size 218860  bytes copied to load addr: 40800000, nss_id : 1
[    7.091882] bf084200: meminfo init succeed
[    7.098939] debugfs: Directory 'dynamic_if' with parent 'stats' already present!
[    7.103034] debugfs: File 'n2h' in directory 'strings' already present!
[    7.110590] debugfs: File 'drv' in directory 'strings' already present!
[    7.118169] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.119732] node size 1 # items 2
[    7.128308] SCSI subsystem initialized
[    7.130048] memory: 0 0 (avl 492515328) items 2 active_cores 2
[    7.137159] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    7.138632] libata version 3.00 loaded.
[    7.142923] bf084200: nss core 1 booted successfully
[    7.145939] ahci 29000000.sata: supply ahci not found, using dummy regulator
[    7.155071] ahci 29000000.sata: supply phy not found, using dummy regulator
[    7.162078] ahci 29000000.sata: supply target not found, using dummy regulator
[    7.169064] ahci 29000000.sata: forcing port_map 0x0 -> 0x1
[    7.175903] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    7.181438] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    7.190639] scsi host0: ahci
[    7.198464] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 32
[    7.528585] ata1: SATA link down (SStatus 0 SControl 300)
[    7.535310] ehci-fsl: Freescale EHCI Host controller driver
[    7.537512] ehci-platform: EHCI generic platform driver
[    7.554583] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.555081] ohci-platform: OHCI generic platform driver
[    7.696259] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    7.696439] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    7.700949] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000002002010010
[    7.708486] xhci-hcd xhci-hcd.0.auto: irq 55, io mem 0x10000000
[    7.718137] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    7.723613] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    7.729251] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    7.737871] hub 1-0:1.0: USB hub found
[    7.743395] hub 1-0:1.0: 1 port detected
[    7.747860] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.751516] hub 2-0:1.0: USB hub found
[    7.759986] hub 2-0:1.0: 1 port detected
[    7.762978] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    7.766894] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    7.772250] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000002002010010
[    7.779798] xhci-hcd xhci-hcd.1.auto: irq 56, io mem 0x11000000
[    7.789254] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    7.794953] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    7.800561] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    7.808525] hub 3-0:1.0: USB hub found
[    7.814666] hub 3-0:1.0: 1 port detected
[    7.818674] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.822790] hub 4-0:1.0: USB hub found
[    7.830803] hub 4-0:1.0: 1 port detected
[    7.836012] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.845352] init: - preinit -
[    8.977437] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[   10.912617] ipq8064-mdio 37000000.mdio eth1: nss_gmac_start_up: Force link up
[   10.912662] ipq8064-mdio 37000000.mdio eth1: 1000 Mbps Full Duplex
[   10.918831] ipq8064-mdio 37000000.mdio eth1: nss_gmac_dev_set_speed:NSS_ETH_CLK_DIV0(0xc) - 0x100
[   10.924822] ipq8064-mdio 37000000.mdio eth1: nss_gmac_dev_set_speed: qsgmii_base(0xdf3a0000) + PCS_MODE_CTL(0x68): 0x80008082
[   10.933868] ipq8064-mdio 37000000.mdio eth1: nss_gmac_reset: eth1 resetting...
[   12.006448] ipq8064-mdio 37000000.mdio eth1: GMAC reset completed in 107 jiffies; dma_bus_mode - 0x20100
[   12.006918] ipq8064-mdio 37000000.mdio eth1: nss_gmac_change_mtu: Enabling Normal Frame MTU (Requested MTU [1500])
[   12.015046] ipq8064-mdio 37000000.mdio eth1: nss_gmac_change_mtu: Enabling Jumbo Frame MTU for eth1 (Requested MTU [1500])
[   12.025296] ipq8064-mdio 37000000.mdio eth1: Set addr dc:ef:09:f3:26:9a
[   12.036330] ipq8064-mdio 37000000.mdio eth1: nss_gmac_ipc_offload_init: enable Rx checksum
[   12.042735] ipq8064-mdio 37000000.mdio eth1: nss_gmac_config_flow_control:
[   12.051145] ipq8064-mdio 37000000.mdio eth1: nss_gmac_rx_pause_disable: disable Rx flow control
[   12.058018] ipq8064-mdio 37000000.mdio eth1: nss_gmac_tx_pause_disable: disable Tx flow control
[   12.066997] ipq8064-mdio 37000000.mdio eth1: nss_gmac_linkup: data plane open command successfully issued
[   12.077094] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   12.086200] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.1: link becomes ready
...
Continue....

Second part

[   17.321661] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   17.321805] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 205
[   17.446955] UBIFS (ubi0:1): recovery needed
[   17.714332] UBIFS (ubi0:1): recovery completed
[   17.714412] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   17.717731] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   17.725566] UBIFS (ubi0:1): FS size: 86724608 bytes (82 MiB, 683 LEBs), max 694 LEBs, journal size 4317184 bytes (4 MiB, 34 LEBs)
[   17.735536] UBIFS (ubi0:1): reserved for root: 4096217 bytes (4000 KiB)
[   17.747153] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 5C111C20-9A38-4643-BDE3-F932DCA90E31, small LPT model
[   17.789752] mount_root: switching to ubifs overlay
[   17.842120] urandom-seed: Seeding with /etc/urandom.seed
[   18.485936] procd: - early -
[   18.486205] procd: - watchdog -
[   18.488385] procd: Watchdog has previously reset the system
[   19.132353] procd: - watchdog -
[   19.132601] procd: Watchdog has previously reset the system
[   19.138419] procd: - ubus -
[   19.279223] procd: - init -
[   20.652789] urngd: v1.0.2 started.
[   20.660566] kmodloader: loading kernel modules from /etc/modules.d/*
[   20.714347] Key type dns_resolver registered
[   20.715983] tun: Universal TUN/TAP device driver, 1.6
[   20.720560] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   20.725314] gre: GRE over IPv4 demultiplexor driver
[   20.729982] ip_gre: GRE over IPv4 tunneling driver
[   20.738728] QCA multicast snooping installed successfully
[   20.741447] cryptodev: driver 1.12 loaded.
[   20.750248] GACT probability on
[   20.751440] Mirror/redirect action on
[   20.760812] u32 classifier
[   20.760844]     input device check on
[   20.762413]     Actions configured
[   20.773553] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[   20.773584] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[   20.794816] xt_time: kernel timezone is -0000
[   20.875039] PPP generic driver version 2.4.2
[   20.876047] NET: Registered PF_PPPOX protocol family
[   20.879357] PPTP driver version 0.8.5
[   20.901913] ath10k_pci 0000:01:00.0: assign IRQ: got 47
[   20.901940] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x46.
[   20.903717] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   20.908912] ath10k_pci 0000:01:00.0: enabling bus mastering
[   20.909288] qcom-pcie 1b500000.pci: msi#1 address_hi 0x0 address_lo 0x43648c98
[   20.909413] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   24.670764] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   24.670809] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   24.681526] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 7ea63dc5
[   27.015082] ath10k_pci 0000:01:00.0: Loading BDF type 0
[   27.021097] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 826c8c57
[   30.571774] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   30.571816] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   30.654157] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   30.655015] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[   30.882144] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[   31.039626] ath: EEPROM regdomain: 0x0
[   31.039657] ath: EEPROM indicates default country code should be used
[   31.039672] ath: doing EEPROM country->regdmn map search
[   31.039693] ath: country maps to regdmn code: 0x3a
[   31.039712] ath: Country alpha2 being used: US
[   31.039730] ath: Regpair used: 0x3a
[   31.046473] ath10k_pci 0001:01:00.0: assign IRQ: got 49
[   31.046532] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x46.
[   31.048620] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   31.053457] ath10k_pci 0001:01:00.0: enabling bus mastering
[   31.054079] qcom-pcie 1b700000.pci: msi#1 address_hi 0x0 address_lo 0x43649c98
[   31.054294] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   32.055622] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   32.055681] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   32.068251] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 7ea63dc5
[   34.393335] ath10k_pci 0001:01:00.0: Loading BDF type 0
[   34.394204] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 826c8c57
[   37.956916] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   37.956967] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   38.041394] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   38.042269] ath10k_pci 0001:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[   38.353053] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[   38.449415] ath: EEPROM regdomain: 0x0
[   38.449447] ath: EEPROM indicates default country code should be used
[   38.449463] ath: doing EEPROM country->regdmn map search
[   38.449483] ath: country maps to regdmn code: 0x3a
[   38.449504] ath: Country alpha2 being used: US
[   38.449523] ath: Regpair used: 0x3a
[   38.470328] kmodloader: done loading kernel modules from /etc/modules.d/*
[   40.895439] ECM init ( QSDK 12.1.0.r1 2022-08-16 )
[   40.895507] ECM database jhash random seed: 0x6194405d
[   40.976785] ECM init complete
[   43.203959] ipq8064-mdio 37000000.mdio eth1: nss_gmac_start_up: Force link up
[   43.203994] ipq8064-mdio 37000000.mdio eth1: 1000 Mbps Full Duplex
[   43.210198] ipq8064-mdio 37000000.mdio eth1: nss_gmac_dev_set_speed:NSS_ETH_CLK_DIV0(0xc) - 0x100
[   43.216166] ipq8064-mdio 37000000.mdio eth1: nss_gmac_dev_set_speed: qsgmii_base(0xdf3a0000) + PCS_MODE_CTL(0x68): 0x80008082
[   43.225651] ipq8064-mdio 37000000.mdio eth1: Set addr dc:ef:09:f3:26:9a
[   43.236470] ipq8064-mdio 37000000.mdio eth1: nss_gmac_ipc_offload_init: enable Rx checksum
[   43.242895] ipq8064-mdio 37000000.mdio eth1: nss_gmac_config_flow_control:
[   43.251253] ipq8064-mdio 37000000.mdio eth1: nss_gmac_rx_pause_disable: disable Rx flow control
[   43.258158] ipq8064-mdio 37000000.mdio eth1: nss_gmac_tx_pause_disable: disable Tx flow control
[   43.268348] ipq8064-mdio 37000000.mdio eth1: nss_gmac_linkup: data plane open command successfully issued
[   43.281340] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   43.290223] br-lan: port 1(eth1.1) entered blocking state
[   43.291097] br-lan: port 1(eth1.1) entered disabled state
[   43.297002] device eth1.1 entered promiscuous mode
[   43.302012] device eth1 entered promiscuous mode
[   43.310446] br-lan: port 1(eth1.1) entered blocking state
[   43.311468] br-lan: port 1(eth1.1) entered forwarding state
[   43.325889] ipq8064-mdio 37000000.mdio eth0: nss_gmac_start_up: Force link up
[   43.325923] ipq8064-mdio 37000000.mdio eth0: 1000 Mbps Full Duplex
[   43.332116] ipq8064-mdio 37000000.mdio eth0: nss_gmac_dev_set_speed:NSS_ETH_CLK_DIV0(0xc) - 0x100
[   43.338157] ipq8064-mdio 37000000.mdio eth0: nss_gmac_reset: eth0 resetting...
[   44.396380] ipq8064-mdio 37000000.mdio eth0: GMAC reset completed in 105 jiffies; dma_bus_mode - 0x20100
[   44.396550] ipq8064-mdio 37000000.mdio eth0: nss_gmac_change_mtu: Enabling Normal Frame MTU (Requested MTU [1500])
[   44.405331] ipq8064-mdio 37000000.mdio eth0: Set addr dc:ef:09:f3:26:9b
[   44.415200] ipq8064-mdio 37000000.mdio eth0: nss_gmac_ipc_offload_init: enable Rx checksum
[   44.421699] ipq8064-mdio 37000000.mdio eth0: nss_gmac_config_flow_control:
[   44.430026] ipq8064-mdio 37000000.mdio eth0: nss_gmac_rx_pause_disable: disable Rx flow control
[   44.436917] ipq8064-mdio 37000000.mdio eth0: nss_gmac_tx_pause_disable: disable Tx flow control
[   44.446043] ipq8064-mdio 37000000.mdio eth0: nss_gmac_linkup: data plane open command successfully issued
[   44.465206] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   44.465422] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.171266] ath: EEPROM regdomain: 0x82d4
[   45.171293] ath: EEPROM indicates we should expect a country code
[   45.174256] ath: doing EEPROM country->regdmn map search
[   45.180407] ath: country maps to regdmn code: 0x37
[   45.185711] ath: Country alpha2 being used: ES
[   45.190374] ath: Regpair used: 0x37
[   45.194737] ath: regdomain 0x82d4 dynamically updated by user
[   45.198222] ath: EEPROM regdomain: 0x82d4
[   45.204023] ath: EEPROM indicates we should expect a country code
[   45.208082] ath: doing EEPROM country->regdmn map search
[   45.214097] ath: country maps to regdmn code: 0x37
[   45.219547] ath: Country alpha2 being used: ES
[   45.224075] ath: Regpair used: 0x37
[   45.228575] ath: regdomain 0x82d4 dynamically updated by user
[   52.385517] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   52.385557] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   52.467963] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   52.468820] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[   52.854320] ath10k_pci 0000:01:00.0: rts threshold -1
[   52.855025] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   52.859195] wlan0: Created a NSS virtual interface
[   52.883504] br-lan: port 2(wlan0) entered blocking state
[   52.883559] br-lan: port 2(wlan0) entered disabled state
[   52.888376] device wlan0 entered promiscuous mode
[   53.061987] ath10k_pci 0000:01:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   58.847765] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   58.847805] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   58.932030] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   58.932901] ath10k_pci 0001:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[   59.335076] ath10k_pci 0001:01:00.0: rts threshold -1
[   59.335421] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   59.340069] debugfs: File 'virt_if' in directory 'stats' already present!
[   59.350708] wlan1: Created a NSS virtual interface
[   59.368008] br-lan: port 3(wlan1) entered blocking state
[   59.368060] br-lan: port 3(wlan1) entered disabled state
[   59.372982] device wlan1 entered promiscuous mode
[   61.972286] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   61.972546] br-lan: port 3(wlan1) entered blocking state
[   61.977823] br-lan: port 3(wlan1) entered forwarding state
[   62.090706] br-lan: port 4(wlan1-1) entered blocking state
[   62.090738] br-lan: port 4(wlan1-1) entered disabled state
[   62.095320] device wlan1-1 entered promiscuous mode
[   62.105804] ath10k_pci 0001:01:00.0: rts threshold -1
[   62.115326] debugfs: File 'virt_if' in directory 'stats' already present!
[   62.115670] wlan1-1: Created a NSS virtual interface
[   62.121291] br-lan: port 4(wlan1-1) entered blocking state
[   62.126129] br-lan: port 4(wlan1-1) entered forwarding state
[   62.270344] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   64.979159] ath10k_pci 0001:01:00.0: Invalid peer id 1 or peer stats buffer, peer: 2f3e37c5  sta: 00000000
[  120.798760] ath10k_pci 0000:01:00.0: mac flush null vif, drop 0 queues 0xffff
[  120.836368] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  120.836509] br-lan: port 2(wlan0) entered blocking state
[  120.841786] br-lan: port 2(wlan0) entered forwarding state
[ 4193.343386] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
/etc/config$ uptime
 20:02:58 up  1:50,  load average: 0.00, 0.01, 0.00
1 Like

And it's running on my R7800 -- will keep everyone up to date as to what I see.

Thanks for putting this together @asvio !

1 Like

Thanks to @qosmio and the other developer. I only do the very very ... very very easy part.

A few more questions about the 5.15 build. Does it use swconfig or DSA driver. What about a version with ath-10k WLAN drivers. From the above logs I see it uses default -ct WLAN drivers.
Any observations on the performance of the R7800 with 5.15.

@ everyone ...

I've updated the nss-packages to be fully modular, nss-drv now manages the proper dependancies based on packages selected from nss-clients and nss-ecm. I've also patched the drivers to compile about 95% of the nss-client packages (even ones not meant for ipq806x...). This should help a lot of the compiling issues.

To avoid a full rebuild, I smoke test with the following.

make target/compile package/{qca-nss-gmac,qca-nss-drv,qca-nss-clients,qca-nss-ecm}/{clean,compile} V=s -j4

if everything looks good, compile the remaining portion with

make package/{compile,install,index} target/install V=s -j4
1 Like

@asvio excellent, can you do a few iperf tests?

@sppmaster , it currently uses swconfig. nss-gmac does not play nicely with DSA. The whole driver has to be rewritten, which is way outside of my basic C and kernel stack knowledge. I'm using a "hybrid" ath10k + ath10k-ct, mostly for debugging and being able to use a config file for the firmware loading. The firmware is non-CT, version 10.4-3.9.0.2-00159. The linux-firmware package is using an older version I believe. I'm pulling the max speeds (647mbps on ios) capable with only marginal CPU usage.

Personally I'd like to test the 5.15-qsdk11-new-krait-cc version with ath10k Test reducing NAPI polling time in AQL.

1 Like

That's the one I'm currently testing as well. So far it's been pretty stable, granted it's only been 72 hours. The compile instructions are the same.

1 Like

So setting NAPI down to 8 is stable?

there are a few other options we are fiddling with to turn down the txop size in the beacon and on the AP in hostapd. IF 5.15 is proving out stable I can finally re-port the changes we made to make those settings dynamic, based on load, but until recently, nothing was budging...

and I'm really big on flent rrul, tcp_nup, down, and rtt_fair tests, or if you must, packet captures from iperf.

this is the goal: AQL and the ath10k is *lovely* - #908 by amteza

The other goal is it was my hope that turning NAPI down, might get the current 40x1 up/own isparity closer to even: AQL and the ath10k is *lovely* - #901 by amteza

1 Like

I can and i’ll do.

1 Like

Would you be so kind as to mimic my flent tests? and for one of those tests if latency is still high on the upload, can you try reducing aql_tx_limit to 2,000 ms both for high and low?

for ac in 0 1 2 3; do echo $ac 2000 2000 > /sys/kernel/debug/ieee80211/phy1/aql_txq_limit; done

Note: phy1 should be your network interface; not sure which one is 5 GHz vs. 2.4 GHz.

I'm running @asvio's code with non-ct ath10k firmware:

root@NineNet:~# uptime
 16:57:28 up  3:10,  load average: 0.00, 0.03, 0.01
root@NineNet:~# lsmod | grep ath10k
ath                    24576  1 ath10k_core
ath10k_core           368640  1 ath10k_pci
ath10k_pci             36864  0 
cfg80211              311296  3 ath10k_core,ath,mac80211
compat                 16384  3 ath10k_pci,mac80211,cfg80211,[permanent]
mac80211              561152  1 ath10k_core
root@NineNet:~# 
oot@NineNet:~# opkg list | grep ath10k
ath10k-board-qca9984 - 20220913-1
ath10k-firmware-qca9984 - 20220913-1
kmod-ath10k - 5.15.68+5.15.58-1-2
root@NineNet:~# 

make kernel_memuconfig -> Firmware -> ath10k-firmware-qca9984 -- select to '*', deselect ath10k-firmware-qca9984-ct just below it.

back up one 'Exit' to the main menu, then:
Kernel modules -> Wireless drivers -- select kmod-ath10k, select Enable LED support just below, deselect kmod-ath10k-ct.

I can't wait to try Preemptible Kernel (Low-Latency Desktop)

Why not Fully Preemptible Kernel (RT), then?

I haven't found that option in this 5.15 kernel config menu - where is it? I've been blind before ...

Here you go:

CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_BASE=y
CONFIG_PREEMPT_RT_FULL=y

Not sure if it's supported. It is not in the openwrt-22.03 trunk, which is the one I use.

Thanks!

Last I heard the ARM version was still being integrated into the kernel - I'll try to check if those CONFIG_ defines are generic or x86 / amd64 -specific.

Thanks again,
M.

1 Like

@asvio - had a crash almost exactly 7 hours after boot; nothing experimental, no kernel scheduler changes ... just a bit trimmed down from what you gave me.

EDIT - I did enable ath10k firmware (not -ct) ... maybe I'll un-do that change.

and no kerneloops, syslog. it seemed hung for a minute - 5G Hz radio down first, then 2.4.

I tried to get in to dump syslog but it was too far down.

iperf3 wlan ->lan. ax210 wlan 160mhz wifi5 on r7800

C:\Aplicaciones\UTILIDADES\iperf-3.1.3-win64>iperf3 -c 192.168.1.2 -i 60 -t 120 -f M -P 1
Connecting to host 192.168.1.2, port 5201
[  4] local 192.168.1.10 port 10204 connected to 192.168.1.2 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec  3.33 GBytes  56.8 MBytes/sec
[  4]  60.00-120.00 sec  3.27 GBytes  55.9 MBytes/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-120.00 sec  6.60 GBytes  56.3 MBytes/sec                  sender
[  4]   0.00-120.00 sec  6.60 GBytes  56.3 MBytes/sec                  receiver

iperf Done.

C:\Aplicaciones\UTILIDADES\iperf-3.1.3-win64>iperf3 -c 192.168.1.2 -i 60 -t 120 -f M -P 2
Connecting to host 192.168.1.2, port 5201
[  4] local 192.168.1.10 port 10311 connected to 192.168.1.2 port 5201
[  6] local 192.168.1.10 port 10312 connected to 192.168.1.2 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec  2.30 GBytes  39.3 MBytes/sec
[  6]   0.00-60.00  sec  2.21 GBytes  37.8 MBytes/sec
[SUM]   0.00-60.00  sec  4.51 GBytes  77.0 MBytes/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]  60.00-120.00 sec  2.38 GBytes  40.7 MBytes/sec
[  6]  60.00-120.00 sec  2.26 GBytes  38.5 MBytes/sec
[SUM]  60.00-120.00 sec  4.64 GBytes  79.2 MBytes/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-120.00 sec  4.68 GBytes  40.0 MBytes/sec                  sender
[  4]   0.00-120.00 sec  4.68 GBytes  40.0 MBytes/sec                  receiver
[  6]   0.00-120.00 sec  4.47 GBytes  38.1 MBytes/sec                  sender
[  6]   0.00-120.00 sec  4.47 GBytes  38.1 MBytes/sec                  receiver
[SUM]   0.00-120.00 sec  9.15 GBytes  78.1 MBytes/sec                  sender
[SUM]   0.00-120.00 sec  9.15 GBytes  78.1 MBytes/sec                  receiver

iperf Done.

C:\Aplicaciones\UTILIDADES\iperf-3.1.3-win64>iperf3 -c 192.168.1.2 -i 60 -t 120 -f M -P 10
Connecting to host 192.168.1.2, port 5201
[  4] local 192.168.1.10 port 10379 connected to 192.168.1.2 port 5201
[  6] local 192.168.1.10 port 10380 connected to 192.168.1.2 port 5201
[  8] local 192.168.1.10 port 10381 connected to 192.168.1.2 port 5201
[ 10] local 192.168.1.10 port 10382 connected to 192.168.1.2 port 5201
[ 12] local 192.168.1.10 port 10383 connected to 192.168.1.2 port 5201
[ 14] local 192.168.1.10 port 10384 connected to 192.168.1.2 port 5201
[ 16] local 192.168.1.10 port 10385 connected to 192.168.1.2 port 5201
[ 18] local 192.168.1.10 port 10386 connected to 192.168.1.2 port 5201
[ 20] local 192.168.1.10 port 10387 connected to 192.168.1.2 port 5201
[ 22] local 192.168.1.10 port 10388 connected to 192.168.1.2 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec   574 MBytes  9.56 MBytes/sec
[  6]   0.00-60.00  sec   572 MBytes  9.52 MBytes/sec
[  8]   0.00-60.00  sec   567 MBytes  9.45 MBytes/sec
[ 10]   0.00-60.00  sec   558 MBytes  9.29 MBytes/sec
[ 12]   0.00-60.00  sec   568 MBytes  9.47 MBytes/sec
[ 14]   0.00-60.00  sec   566 MBytes  9.44 MBytes/sec
[ 16]   0.00-60.00  sec   566 MBytes  9.44 MBytes/sec
[ 18]   0.00-60.00  sec   558 MBytes  9.30 MBytes/sec
[ 20]   0.00-60.00  sec   556 MBytes  9.26 MBytes/sec
[ 22]   0.00-60.00  sec   556 MBytes  9.27 MBytes/sec
[SUM]   0.00-60.00  sec  5.51 GBytes  94.0 MBytes/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]  60.00-120.01 sec   574 MBytes  9.57 MBytes/sec
[  6]  60.00-120.01 sec   572 MBytes  9.54 MBytes/sec
[  8]  60.00-120.01 sec   570 MBytes  9.50 MBytes/sec
[ 10]  60.00-120.01 sec   541 MBytes  9.02 MBytes/sec
[ 12]  60.00-120.01 sec   566 MBytes  9.44 MBytes/sec
[ 14]  60.00-120.01 sec   566 MBytes  9.43 MBytes/sec
[ 16]  60.00-120.01 sec   543 MBytes  9.05 MBytes/sec
[ 18]  60.00-120.01 sec   563 MBytes  9.38 MBytes/sec
[ 20]  60.00-120.01 sec   559 MBytes  9.31 MBytes/sec
[ 22]  60.00-120.01 sec   542 MBytes  9.04 MBytes/sec
[SUM]  60.00-120.01 sec  5.47 GBytes  93.3 MBytes/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-120.01 sec  1.12 GBytes  9.56 MBytes/sec                  sender
[  4]   0.00-120.01 sec  1.12 GBytes  9.56 MBytes/sec                  receiver
[  6]   0.00-120.01 sec  1.12 GBytes  9.53 MBytes/sec                  sender
[  6]   0.00-120.01 sec  1.12 GBytes  9.53 MBytes/sec                  receiver
[  8]   0.00-120.01 sec  1.11 GBytes  9.48 MBytes/sec                  sender
[  8]   0.00-120.01 sec  1.11 GBytes  9.48 MBytes/sec                  receiver
[ 10]   0.00-120.01 sec  1.07 GBytes  9.16 MBytes/sec                  sender
[ 10]   0.00-120.01 sec  1.07 GBytes  9.16 MBytes/sec                  receiver
[ 12]   0.00-120.01 sec  1.11 GBytes  9.45 MBytes/sec                  sender
[ 12]   0.00-120.01 sec  1.11 GBytes  9.45 MBytes/sec                  receiver
[ 14]   0.00-120.01 sec  1.11 GBytes  9.44 MBytes/sec                  sender
[ 14]   0.00-120.01 sec  1.11 GBytes  9.44 MBytes/sec                  receiver
[ 16]   0.00-120.01 sec  1.08 GBytes  9.24 MBytes/sec                  sender
[ 16]   0.00-120.01 sec  1.08 GBytes  9.24 MBytes/sec                  receiver
[ 18]   0.00-120.01 sec  1.09 GBytes  9.34 MBytes/sec                  sender
[ 18]   0.00-120.01 sec  1.09 GBytes  9.34 MBytes/sec                  receiver
[ 20]   0.00-120.01 sec  1.09 GBytes  9.29 MBytes/sec                  sender
[ 20]   0.00-120.01 sec  1.09 GBytes  9.29 MBytes/sec                  receiver
[ 22]   0.00-120.01 sec  1.07 GBytes  9.15 MBytes/sec                  sender
[ 22]   0.00-120.01 sec  1.07 GBytes  9.15 MBytes/sec                  receiver
[SUM]   0.00-120.01 sec  11.0 GBytes  93.6 MBytes/sec                  sender
[SUM]   0.00-120.01 sec  11.0 GBytes  93.6 MBytes/sec                  receiver

iperf Done.

and this one for stability...

C:\Aplicaciones\UTILIDADES\iperf-3.1.3-win64>iperf3 -c 192.168.1.2 -i 60 -t 120 -f M -P 50
Connecting to host 192.168.1.2, port 5201
[  4] local 192.168.1.10 port 10778 connected to 192.168.1.2 port 5201
[  6] local 192.168.1.10 port 10779 connected to 192.168.1.2 port 5201
[  8] local 192.168.1.10 port 10780 connected to 192.168.1.2 port 5201
[ 10] local 192.168.1.10 port 10781 connected to 192.168.1.2 port 5201
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
[SUM]   0.00-120.00 sec  10.8 GBytes  92.5 MBytes/sec                  sender
[SUM]   0.00-120.00 sec  10.8 GBytes  92.4 MBytes/sec                  receiver

iperf Done.

graphics

1 Like