Dynalink DL-WRX36 Askey RT5010W IPQ8072A technical discussion

I learned my lesson

1 Like

We've ALL been there at one time or another. :+1:

1 Like

Is this about both radios? Both 2.4 and 5 GHz ?

Both radios.

And what do the kernel log and system log say, when the radio is in error condition?
What does iwinfo say?

Let me pull kernel and system logs right now, as well as iwinfo and post shortly.

root@WRX36:~# iwinfo phy0 info
phy0      ESSID: unknown
          Access Point: 2C:EA:DC:XX:XX:XX
          Mode: Master  Channel: 44 (6.170 GHz)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 29 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11ac/ax/n
          Hardware: embedded [Qualcomm Atheros IPQ8074]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0
root@WRX36:~# iwinfo phy1 info
phy1      ESSID: unknown
          Access Point: 2C:EA:DC:XX:XX:XX
          Mode: Master  Channel: 1 (2.412 GHz)  HT Mode: HE20
          Center Channel 1: 1 2: unknown
          Tx-Power: 29 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11ax/b/g/n
          Hardware: embedded [Qualcomm Atheros IPQ8074]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

System Logs:

root@WRX36:~# logread
[abbreviated]
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.122328] ath11k_warn: 26 callbacks suppressed
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.122347] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.126032] ath11k c000000.wifi: could not request fw stats (-108)
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.132429] ath11k c000000.wifi: failed to request fw pdev stats: -108
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.138583] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.144956] ath11k c000000.wifi: failed to send pdev bss chan info request
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.153548] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.159400] ath11k c000000.wifi: could not request fw stats (-108)
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.165873] ath11k c000000.wifi: failed to request fw pdev stats: -108
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.172072] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
Sun Feb 12 12:43:25 2023 kern.warn kernel: [  556.178478] ath11k c000000.wifi: failed to send pdev bss chan info request
Sun Feb 12 12:43:26 2023 daemon.err odhcpd[1827]: Failed to send to ff02::1%lan@br-lan (Address not available)
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.192789] ath11k_warn: 94 callbacks suppressed
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.192809] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.196542] ath11k c000000.wifi: could not request fw stats (-108)
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.202833] ath11k c000000.wifi: failed to request fw pdev stats: -108
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.209166] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.215423] ath11k c000000.wifi: failed to send pdev bss chan info request
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.224508] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.229876] ath11k c000000.wifi: could not request fw stats (-108)
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.236359] ath11k c000000.wifi: failed to request fw pdev stats: -108
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.242628] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
Sun Feb 12 12:43:30 2023 kern.warn kernel: [  561.248968] ath11k c000000.wifi: failed to send pdev bss chan info request
root@WRX36:~#

Kernel Logs:

root@WRX36:~# dmesg
[    0.060745] qcom-qmp-phy 78000.phy: supply vdda-phy not found, using dummy regulator
[    0.060891] qcom-qmp-phy 78000.phy: supply vdda-pll not found, using dummy regulator
[    0.061350] qcom-qmp-phy 78000.phy: Registered Qcom-QMP phy
[    0.062199] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator
[    0.062323] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.062493] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
[    0.065125] bam-dma-engine 704000.dma-controller: num-channels unspecified in dt
[    0.065150] bam-dma-engine 704000.dma-controller: num-ees unspecified in dt
[    0.068918] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.069452] msm_serial 78b3000.serial: msm_serial: detected port #0
[    0.069492] msm_serial 78b3000.serial: uartclk = 3686400
[    0.069541] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 22, base_baud = 230400) is a MSM
[    0.069573] msm_serial: console setup on port #0
[    0.698469] printk: console [ttyMSM0] enabled
[    0.703576] msm_serial: driver initialized
[    0.711272] loop: module loaded
[    0.712630] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xaa
[    0.714428] nand: Micron MT29F2G08ABBGAH4
[    0.721019] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    0.725780] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    0.735322] s1: supplied by regulator-dummy
[    0.738455] s2: supplied by regulator-dummy
[    0.742484] vdd_s3: supplied by regulator-dummy
[    0.746742] vdd_s4: supplied by regulator-dummy
[    0.751280] s5: supplied by regulator-dummy
[    0.755659] l1: supplied by regulator-dummy
[    0.759818] l2: supplied by regulator-dummy
[    0.763982] l3: supplied by regulator-dummy
[    0.768134] l4: supplied by regulator-dummy
[    0.772329] l5: supplied by regulator-dummy
[    0.776474] l6: supplied by regulator-dummy
[    0.780633] l7: supplied by regulator-dummy
[    0.784834] l8: supplied by regulator-dummy
[    0.788970] l9: supplied by regulator-dummy
[    0.793266] l11: supplied by regulator-dummy
[    0.797329] l12: supplied by regulator-dummy
[    0.801817] l13: supplied by regulator-dummy
[    0.821114] i2c_dev: i2c /dev entries driver
[    0.825038] sdhci: Secure Digital Host Controller Interface driver
[    0.825083] sdhci: Copyright(c) Pierre Ossman
[    0.830441] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.838129] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
[    0.842791] NET: Registered PF_INET6 protocol family
[    0.847129] Segment Routing with IPv6
[    0.851484] In-situ OAM (IOAM) with IPv6
[    0.855103] NET: Registered PF_PACKET protocol family
[    0.859038] 8021q: 802.1Q VLAN Support v1.8
[    0.879199] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.879488] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
[    0.885489] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
[    0.891925] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
[    0.899609] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
[    0.907104] cpr3_mem_acc_init: apc: not using memory accelerator regulator
[    0.916241] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 704000 uV
[    0.923188] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 824000 uV
[    0.933170] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused    TURBO: open-loop= 880000 uV
[    0.942978] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused   STURBO: open-loop= 968000 uV
[    0.952834] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 717, quot_offset[ 7]=   0
[    0.962599] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 940, quot_offset[ 7]= 220
[    0.973450] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused    TURBO: quot[ 7]=1032, quot_offset[ 7]=  90
[    0.984386] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused   STURBO: quot[ 7]=1188, quot_offset[ 7]= 155
[    0.995465] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
[    0.997689] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xaa
[    1.013032] nand: Micron MT29F2G08ABBGAH4
[    1.019434] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.023665] 25 qcomsmem partitions found on MTD device qcom_nand.0
[    1.030811] Creating 25 MTD partitions on "qcom_nand.0":
[    1.037077] 0x000000000000-0x000000100000 : "0:sbl1"
[    1.043785] 0x000000100000-0x000000200000 : "0:mibib"
[    1.048637] 0x000000200000-0x000000280000 : "0:bootconfig"
[    1.053217] 0x000000280000-0x000000300000 : "0:bootconfig1"
[    1.058585] 0x000000300000-0x000000600000 : "0:qsee"
[    1.066111] 0x000000600000-0x000000900000 : "0:qsee_1"
[    1.071205] 0x000000900000-0x000000980000 : "0:devcfg"
[    1.074238] 0x000000980000-0x000000a00000 : "0:devcfg_1"
[    1.079325] 0x000000a00000-0x000000a80000 : "0:apdp"
[    1.084845] 0x000000a80000-0x000000b00000 : "0:apdp_1"
[    1.089761] 0x000000b00000-0x000000b80000 : "0:rpm"
[    1.094744] 0x000000b80000-0x000000c00000 : "0:rpm_1"
[    1.099467] 0x000000c00000-0x000000c80000 : "0:cdt"
[    1.104735] 0x000000c80000-0x000000d00000 : "0:cdt_1"
[    1.109365] 0x000000d00000-0x000000d80000 : "0:appsblenv"
[    1.114714] 0x000000d80000-0x000000e80000 : "0:appsbl"
[    1.120324] 0x000000e80000-0x000000f80000 : "0:appsbl_1"
[    1.125413] 0x000000f80000-0x000001000000 : "0:art"
[    1.130449] 0x000007a00000-0x00000db00000 : "rootfs"
[    1.207852] mtd: setting mtd18 (rootfs) as root device
[    1.208142] mtdsplit: no squashfs found in "rootfs"
[    1.211920] 0x00000db00000-0x00000e400000 : "0:wififw"
[    1.223893] 0x000001000000-0x000007100000 : "rootfs_1"
[    1.298447] 0x000007100000-0x000007a00000 : "0:wififw_1"
[    1.305832] 0x00000e400000-0x00000fa00000 : "ubifs"
[    1.323332] 0x00000fa00000-0x00000fa80000 : "0:ethphyfw"
[    1.324163] 0x00000fa80000-0x00000fd00000 : "certificate"
[    1.338238] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 19200 KHz, changing to: 1017600 KHz
[    1.339315] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[    1.348642] ubi0: attaching mtd18
[    1.781814] ubi0: scanning is finished
[    1.787950] ubi0: attached mtd18 (name "rootfs", size 97 MiB)
[    1.787992] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.792702] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.799455] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.806320] ubi0: good PEBs: 776, bad PEBs: 0, corrupted PEBs: 0
[    1.813085] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    1.819333] ubi0: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 47623646
[    1.826376] ubi0: available PEBs: 0, total reserved PEBs: 776, PEBs reserved for bad PEB handling: 40
[    1.835319] ubi0: background thread "ubi_bgt0d" started, PID 493
[    1.835945] block ubiblock0_1: created from ubi0:1(rootfs)
[    1.854080] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    1.854474] Freeing unused kernel memory: 1216K
[    1.912069] Run /sbin/init as init process
[    1.912092]   with arguments:
[    1.912094]     /sbin/init
[    1.912097]   with environment:
[    1.912100]     HOME=/
[    1.912103]     TERM=linux
[    2.083484] init: Console is alive
[    2.083590] init: - watchdog -
[    2.451990] random: crng init done
[    2.486370] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.632258] ssdk_switch_device_num_init[1335]:INFO:ess-switch dts node number: 1
[    2.632375] ssdk_dt_get_switch_node[1124]:INFO:ess-switch DT exist!
[    2.638735] ssdk_dt_parse_access_mode[999]:INFO:switch_access_mode: local bus
[    2.644735] ssdk_dt_parse_access_mode[1012]:INFO:switchreg_base_addr: 0x3a000000
[    2.652016] ssdk_dt_parse_access_mode[1013]:INFO:switchreg_size: 0x1000000
[    2.659475] ssdk_dt_parse_mac_mode[327]:INFO:mac mode = 0xb
[    2.666161] ssdk_dt_parse_mac_mode[336]:INFO:mac mode1 = 0xff
[    2.671626] ssdk_dt_parse_mac_mode[345]:INFO:mac mode2 = 0xc
[    2.677544] ssdk_dt_parse_phy_info[716]:INFO:[PORT 6] port_mac_sel = QGMAC_PORT
[    2.683292] ssdk_dt_parse_uniphy[364]:INFO:ess-uniphy DT exist!
[    2.690382] ssdk_dt_parse_intf_mac[942]:INFO:dp1 MAC 2c:ea:dc:XX:XX:XX
[    2.696228] ssdk_dt_parse_intf_mac[942]:INFO:dp2 MAC 2c:ea:dc:XX:XX:XX
[    2.702829] ssdk_dt_parse_intf_mac[942]:INFO:dp3 MAC 2c:ea:dc:XX:XX:XX
[    2.709329] ssdk_dt_parse_intf_mac[942]:INFO:dp4 MAC 2c:ea:dc:XX:XX:XX
[    2.715914] ssdk_plat_init[1692]:INFO:ssdk_plat_init start
[    2.842946] ssdk_gcc_clock_init[1275]:INFO:SSDK gcc clock init successfully!
[    2.845830] malibu_phy_api_ops_init[2846]:INFO:qca probe malibu phy driver succeeded!
[    2.888120] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[    2.898737] qca808x_phy_api_ops_init[2566]:INFO:qca probe qca808x phy driver succeeded!
[    2.908968] regi_init[3953]:INFO:Initializing HPPE!!
[    3.141979] ssdk_ppe_reset_init[1535]:INFO:ppe reset successfully!
[    3.145579] qca_hppe_portctrl_hw_init[126]:INFO:Hawkeye PPE port initializing
[    3.157054] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[    3.160336] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[    3.858033] ssdk_switch_register[2017]:INFO:Chip version 0x1500
[    3.858062] qca_link_polling_select[1487]:INFO:link-polling-required node does not exist
[    3.862764] ssdk_switch_register[2043]:INFO:polling is selected
[    3.871088] regi_init[3957]:INFO:Initializing HPPE Done!!
[    3.876813] ssdk_genl_init[211]:INFO:ssdk genl family register success.
[    3.882295] regi_init[4020]:INFO:qca-ssdk module init succeeded!
[    3.891072] EDMA ver 1 hw init
[    3.895195] EDMA HW Reset completed succesfully
[    3.897848] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[    3.902251] RxDesc:1 (15-15) RxFill:1 (7-7)
[    3.908485] Generic PHY 90000.mdio-1:00: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:00, irq=POLL)
[    3.912163] nss-dp 3a001000.dp1 lan4: Registered netdev lan4(qcom-id:1)
[    3.922087] Generic PHY 90000.mdio-1:01: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:01, irq=POLL)
[    3.928312] nss-dp 3a001200.dp2 lan3: Registered netdev lan3(qcom-id:2)
[    3.938290] Generic PHY 90000.mdio-1:02: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:02, irq=POLL)
[    3.944487] nss-dp 3a001400.dp3 lan2: Registered netdev lan2(qcom-id:3)
[    3.954407] Generic PHY 90000.mdio-1:03: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:03, irq=POLL)
[    3.960644] nss-dp 3a001600.dp4 lan1: Registered netdev lan1(qcom-id:4)
[    4.175913] QCA808X ethernet 90000.mdio-1:1c: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:1c, irq=POLL)
[    4.176456] nss-dp 3a007000.dp6-syn wan: Registered netdev wan(qcom-id:6)
[    4.184917] **********************************************************
[    4.191663] * NSS Data Plane driver
[    4.198087] **********************************************************
[    4.211393] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.211448] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    4.215926] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000002010010
[    4.223378] xhci-hcd xhci-hcd.1.auto: irq 89, io mem 0x08a00000
[    4.232798] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.238608] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    4.244178] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.252318] hub 1-0:1.0: USB hub found
[    4.258341] hub 1-0:1.0: 1 port detected
[    4.262364] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.266354] hub 2-0:1.0: USB hub found
[    4.274224] hub 2-0:1.0: 1 port detected
[    4.279085] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.290904] init: - preinit -
[    6.736052] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    6.736157] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 701
[    6.765946] UBIFS (ubi0:2): recovery needed
[    6.853038] UBIFS (ubi0:2): recovery completed
[    6.853135] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    6.856387] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.864303] UBIFS (ubi0:2): FS size: 50155520 bytes (47 MiB, 395 LEBs), max 405 LEBs, journal size 2539520 bytes (2 MiB, 20 LEBs)
[    6.874197] UBIFS (ubi0:2): reserved for root: 2368969 bytes (2313 KiB)
[    6.885817] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID B3BF394E-7BBF-4721-B39D-FC5F9AB64855, small LPT model
[    6.894458] mount_root: switching to ubifs overlay
[    6.908137] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    6.912027] urandom-seed: Seeding with /etc/urandom.seed
[    6.963280] procd: - early -
[    6.963394] procd: - watchdog -
[    7.499712] procd: - watchdog -
[    7.501497] procd: - ubus -
[    7.556567] procd: - init -
[    7.740818] urngd: v1.0.2 started.
[    7.756081] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.794639] gre: GRE over IPv4 demultiplexor driver
[    7.795256] ip_gre: GRE over IPv4 tunneling driver
[    7.800049] ip6_gre: GRE over IPv6 tunneling driver
[    7.805448] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2
[    7.807967] Backport generated by backports.git v5.15.81-1-41-g02e352527db5
[    7.820361] NET: Registered PF_QIPCRTR protocol family
[    7.851550] PPP generic driver version 2.4.2
[    7.852287] NET: Registered PF_PPPOX protocol family
[    7.860381] ath11k c000000.wifi: ipq8074 hw2.0
[    7.860415] ath11k c000000.wifi: FW memory mode: 0
[    7.864443] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[    7.881023] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[    8.866657] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[    8.868276] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[    8.873669] batman_adv: B.A.T.M.A.N. advanced 2023.0-openwrt-1 (compatibility version 15) loaded
[    8.873917] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[    8.888111] ath11k c000000.wifi: fw_version 0x250a04a5 fw_build_timestamp 2021-12-20 07:09 fw_build_id WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
[    8.899290] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.954611] br-lan: port 1(lan1) entered blocking state
[   10.954656] br-lan: port 1(lan1) entered disabled state
[   10.958906] device lan1 entered promiscuous mode
[   10.973084] br-lan: port 2(lan2) entered blocking state
[   10.973126] br-lan: port 2(lan2) entered disabled state
[   10.977320] device lan2 entered promiscuous mode
[   10.987108] br-lan: port 3(lan3) entered blocking state
[   10.987194] br-lan: port 3(lan3) entered disabled state
[   10.992402] device lan3 entered promiscuous mode
[   11.001933] br-lan: port 4(lan4) entered blocking state
[   11.002212] br-lan: port 4(lan4) entered disabled state
[   11.007361] device lan4 entered promiscuous mode
[   11.225259] br-wan: port 1(wan) entered blocking state
[   11.225300] br-wan: port 1(wan) entered disabled state
[   11.229483] device wan entered promiscuous mode
[   11.825568] br-wan: port 2(phy0-ap0) entered blocking state
[   11.825612] br-wan: port 2(phy0-ap0) entered disabled state
[   11.830226] device phy0-ap0 entered promiscuous mode
[   11.835807] br-wan: port 2(phy0-ap0) entered blocking state
[   11.840746] br-wan: port 2(phy0-ap0) entered forwarding state
[   11.846844] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan.XX: link becomes ready
[   11.852159] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan.XX: link becomes ready
[   11.952337] br-wan: port 2(phy0-ap0) entered disabled state
[   12.001078] br-wan: port 3(phy1-ap0) entered blocking state
[   12.001128] br-wan: port 3(phy1-ap0) entered disabled state
[   12.006010] device phy1-ap0 entered promiscuous mode
[   12.011325] br-wan: port 3(phy1-ap0) entered blocking state
[   12.016310] br-wan: port 3(phy1-ap0) entered forwarding state
[   13.038693] br-wan: port 3(phy1-ap0) entered disabled state
[   15.353204] nss-dp 3a007000.dp6-syn wan: PHY Link up speed: 1000
[   15.353280] br-wan: port 1(wan) entered blocking state
[   15.358284] br-wan: port 1(wan) entered forwarding state
[   15.363640] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan.XX: link becomes ready
[   26.319521] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
[   26.319720] br-wan: port 3(phy1-ap0) entered blocking state
[   26.324996] br-wan: port 3(phy1-ap0) entered forwarding state
[   26.505062] br-wan: port 4(phy1-ap1) entered blocking state
[   26.505108] br-wan: port 4(phy1-ap1) entered disabled state
[   26.509679] device phy1-ap1 entered promiscuous mode
[   26.516530] br-wan: port 4(phy1-ap1) entered blocking state
[   26.520219] br-wan: port 4(phy1-ap1) entered forwarding state
[   26.674046] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap1: link becomes ready
[   26.785104] br-wan: port 5(phy1-ap2) entered blocking state
[   26.785149] br-wan: port 5(phy1-ap2) entered disabled state
[   26.789743] device phy1-ap2 entered promiscuous mode
[   26.796497] br-wan: port 5(phy1-ap2) entered blocking state
[   26.800265] br-wan: port 5(phy1-ap2) entered forwarding state
[   26.943493] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap2: link becomes ready
[   27.045154] br-wan: port 6(phy1-ap3) entered blocking state
[   27.045231] br-wan: port 6(phy1-ap3) entered disabled state
[   27.049844] device phy1-ap3 entered promiscuous mode
[   27.056977] br-wan: port 6(phy1-ap3) entered blocking state
[   27.060369] br-wan: port 6(phy1-ap3) entered forwarding state
[   27.183605] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap3: link becomes ready
[   32.472028] l11: disabling
[   58.815833] qcom-q6v5-wcss-pil cd00000.q6v5_wcss: fatal error received:
[   58.815833] QC Image Version: QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
[   58.815833] Image Variant : IMAGE_VARIANT_STRING=8074.wlanfw.eval_v2Q
[   58.815833]
[   58.815833] ar_wal_peer.c:2462 Assertion is_graceful_to_handle failedparam0 :zero, param1 :zero, param2 :zero.
[   58.815833] Thread ID      : 0x00000060  Thread name    : WLAN RT1  Process ID     : 0
[   58.815833] Register:
[   58.815833] SP : 0x4c135128
[   58.815833] FP : 0x4c135130
[   58.815833] PC : 0x4b195a10
[   58.815833] SSR : 0x00000008
[   58.815833] BADVA : 0x00020000
[   58.815833] LR : 0x4b1951ac
[   58.815833]
[   58.815833] Stack Dump
[   58.815833] from : 0x4c135128
[   58.815833] to   : 0x4c135980
[   58.815833]
[   58.864442] remoteproc remoteproc0: crash detected in cd00000.q6v5_wcss: type fatal error
[   58.886678] remoteproc remoteproc0: handling crash #1 in cd00000.q6v5_wcss
[   58.894818] remoteproc remoteproc0: recovering cd00000.q6v5_wcss
[   58.927401] remoteproc remoteproc0: stopped remote processor cd00000.q6v5_wcss
[   59.200305] ath11k c000000.wifi: failed to find peer e0:46:9a:XX:XX:XX on vdev 3 after creation
[   59.200354] ath11k c000000.wifi: failed to find peer vdev_id 3 addr e0:46:9a:XX:XX:XX in delete
[   59.207940] ath11k c000000.wifi: failed peer e0:46:9a:XX:XX:XX delete vdev_id 3 fallback ret -22
[   59.216531] ath11k c000000.wifi: Failed to add peer: e0:46:9a:XX:XX:XX for VDEV: 3
[   59.225535] ath11k c000000.wifi: Failed to add station: e0:46:9a:XX:XX:XX for VDEV: 3
[   59.280464] ath11k c000000.wifi: failed to update rx tid queue, tid 0 (-108)
[   59.280499] ath11k c000000.wifi: failed to update reo for rx tid 0: -108
[   59.286579] phy1-ap1: HW problem - can not stop rx aggregation for e0:46:9a:XX:XX:XX tid 0
[   59.350109] ath11k c000000.wifi: failed to send WMI_PEER_DELETE cmd
[   59.350141] ath11k c000000.wifi: failed to delete peer vdev_id 2 addr e0:46:9a:XX:XX:XX ret -108
[   59.355185] ath11k c000000.wifi: Failed to delete peer: e0:46:9a:XX:XX:XX for VDEV: 2
[   59.364279] ------------[ cut here ]------------
[   59.371929] WARNING: CPU: 0 PID: 1721 at sta_set_sinfo+0xba4/0xbc0 [mac80211]
[   59.376621] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet batman_adv ath11k_ahb ath11k pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 cfg80211 slhc qrtr_smd qrtr qmi_helpers ns nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat ip6_gre ip_gre gre ip6_tunnel tunnel6 ip_tunnel seqiv jitterentropy_rng drbg michael_mic hmac cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
[   59.432769] CPU: 0 PID: 1721 Comm: hostapd Not tainted 5.15.93 #0
[   59.455005] Hardware name: Dynalink DL-WRX36 (DT)
[   59.460993] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   59.465684] pc : sta_set_sinfo+0xba4/0xbc0 [mac80211]
[   59.472451] lr : sta_set_sinfo+0xba0/0xbc0 [mac80211]
[   59.477660] sp : ffffffc00bef3840
[   59.482689] x29: ffffffc00bef3840 x28: ffffff8009e45240 x27: ffffffc00bef3dd0
[   59.485997] x26: ffffff8001cae880 x25: ffffffc008ba0680 x24: ffffffc000a84000
[   59.493114] x23: ffffffc00bef3a38 x22: ffffff8009c29000 x21: ffffff80115348c0
[   59.500232] x20: ffffff8005f18880 x19: ffffff80096c5000 x18: ffffffc008aa7b08
[   59.507350] x17: 6f662030373a3466 x16: 3a39613a61393a36 x15: 0000000000000471
[   59.514468] x14: 000000000000017b x13: ffffffc00bef3378 x12: ffffffc008affb08
[   59.521586] x11: ffffffc000cb0f48 x10: ffffffc00bef3730 x9 : ffffffc00bef3750
[   59.528705] x8 : 00000000ffffffd0 x7 : 00000000000070f4 x6 : 0000000000008e08
[   59.535822] x5 : 000000000b728de9 x4 : 0000000000000000 x3 : ffffff8009e45240
[   59.542940] x2 : 0000000000000000 x1 : ffffff8009e45240 x0 : 00000000ffffff94
[   59.550060] Call trace:
[   59.557167]  sta_set_sinfo+0xba4/0xbc0 [mac80211]
[   59.559429]  sta_info_destroy_addr_bss+0x50/0x7c [mac80211]
[   59.564290]  ieee80211_color_change_finish+0x1d78/0x2030 [mac80211]
[   59.569675]  cfg80211_check_station_change+0x1408/0x4970 [cfg80211]
[   59.575925]  genl_family_rcv_msg_doit+0xb8/0x11c
[   59.582172]  genl_rcv_msg+0xd4/0x1cc
[   59.587031]  netlink_rcv_skb+0x5c/0x130
[   59.590590]  genl_rcv+0x38/0x50
[   59.594147]  netlink_unicast+0x1f8/0x2f4
[   59.597274]  netlink_sendmsg+0x1a0/0x3dc
[   59.601441]  ____sys_sendmsg+0x288/0x2c0
[   59.605348]  ___sys_sendmsg+0x84/0xf0
[   59.609253]  __sys_sendmsg+0x48/0xb0
[   59.612813]  __arm64_sys_sendmsg+0x24/0x30
[   59.616458]  invoke_syscall.constprop.0+0x5c/0x104
[   59.620366]  do_el0_svc+0x6c/0x15c
[   59.625138]  el0_svc+0x18/0x54
[   59.628522]  el0t_64_sync_handler+0xe8/0x114
[   59.631564]  el0t_64_sync+0x184/0x188
[   59.635992] ---[ end trace 0c85ae01fc0c87cf ]---
[   64.229478] qcom-q6v5-wcss-pil cd00000.q6v5_wcss: start timed out
[   64.229517] remoteproc remoteproc0: can't start rproc cd00000.q6v5_wcss: -110
[   67.630740] ath11k_warn: 161 callbacks suppressed
[   67.630761] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
[   67.634461] ath11k c000000.wifi: could not request fw stats (-108)
[   67.640891] ath11k c000000.wifi: failed to request fw pdev stats: -108
[   67.648598] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
[   67.653491] ath11k c000000.wifi: could not request fw stats (-108)
[   67.659973] ath11k c000000.wifi: failed to request fw pdev stats: -108
[   67.668366] ath11k c000000.wifi: failed to send WMI_PDEV_SET_PARAM cmd
[   67.672578] ath11k c000000.wifi: Failed to set beacon mode for VDEV: 1
[   67.679090] ath11k c000000.wifi: failed to send WMI_BCN_TMPL_CMDID
[   67.685571] ath11k c000000.wifi: failed to submit beacon template command: -108
[   72.899773] ath11k_warn: 418 callbacks suppressed
[   72.899793] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[   72.903483] ath11k c000000.wifi: failed to send pdev bss chan info request
[   72.911683] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[   72.917807] ath11k c000000.wifi: failed to send pdev bss chan info request
[   72.926721] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[   72.932249] ath11k c000000.wifi: failed to send pdev bss chan info request
[   72.940351] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[   72.946626] ath11k c000000.wifi: failed to send pdev bss chan info request
[   72.956410] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[   72.961070] ath11k c000000.wifi: failed to send pdev bss chan info request
[   74.857619] phy0-ap0: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-108)
[abbreviated]
[  224.976936] ath11k_warn: 418 callbacks suppressed
[  224.976958] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[  224.980649] ath11k c000000.wifi: failed to send pdev bss chan info request
[  224.988631] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[  224.995001] ath11k c000000.wifi: failed to send pdev bss chan info request
[  225.005309] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[  225.009381] ath11k c000000.wifi: failed to send pdev bss chan info request
[  225.017528] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[  225.023815] ath11k c000000.wifi: failed to send pdev bss chan info request
[  225.032496] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[  225.038202] ath11k c000000.wifi: failed to send pdev bss chan info request
[abbreviated]
[  248.392986] ath11k_warn: 268 callbacks suppressed
[  248.393005] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
[  248.396691] ath11k c000000.wifi: could not request fw stats (-108)
[  248.403129] ath11k c000000.wifi: failed to request fw pdev stats: -108
[  248.410722] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
[  248.415726] ath11k c000000.wifi: could not request fw stats (-108)
[  248.422209] ath11k c000000.wifi: failed to request fw pdev stats: -108
[  248.430447] ath11k c000000.wifi: failed to send WMI_PDEV_SET_PARAM cmd
[  248.434823] ath11k c000000.wifi: Failed to set beacon mode for VDEV: 1
[  248.441334] ath11k c000000.wifi: failed to send WMI_BCN_TMPL_CMDID
[  248.447830] ath11k c000000.wifi: failed to submit beacon template command: -108
[abbreviated]
[  748.855244] ath11k_warn: 10 callbacks suppressed
[  748.855263] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
[  748.858999] ath11k c000000.wifi: could not request fw stats (-108)
[  748.865322] ath11k c000000.wifi: failed to request fw pdev stats: -108
[  748.871549] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[  748.877887] ath11k c000000.wifi: failed to send pdev bss chan info request
[  748.886614] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd
[  748.892317] ath11k c000000.wifi: could not request fw stats (-108)
[  748.898806] ath11k c000000.wifi: failed to request fw pdev stats: -108
[  748.905032] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
[  748.911412] ath11k c000000.wifi: failed to send pdev bss chan info request
root@WRX36:~#
1 Like

Based on kernel log, something seems to crash half minute after the boot seems to complete, at 58 seconds. Something related to qca wcss hardware components.

I would simplify.
You seem to have batman, vlans etc?
Just try with a really basic config and minimal package selection, and try to understand if the crash really comes from hardware, of if it is due to some incompatibility in your packages or network config.

1 Like

Great idea. I am sysupgrading to a 22040 snapshot made from the firmware builder with the following packages for testing and striping down my network configuration to remove VLANs and test radio stability.

ath11k-firmware-ipq8074 base-files busybox ca-bundle dnsmasq dropbear firewall4 fstools ipq-wifi-dynalink_dl-wrx36 kmod-ath11k-ahb kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-qca-nss-dp kmod-usb-dwc3 kmod-usb-dwc3-qcom kmod-usb3 libc libgcc libustream-openssl logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-openssl luci-ssl-openssl luci-app-opkg luci-theme-material

I'll let you know.

I'm running r22036 since earlier today, not issues with the radios, so far.

Same here, r22036 since yesterday, and no problems.

@wrcrooks
One additional note:
If a WiFi related chip has got into an error condition, it might require a real power-off to clear, instead of just a warm reboot.

Seems stable once again. Same number of SSIDs, just renamed them and tied them all to the 'lan' network. No repeating ath11k messages in system or kernel logs this time.

This caught my attention. Do you think I upgraded to a snapshot with a corrected DFS/Region Database and it set the radios into error then I was just issuing reboot commands instead of power cycling it and that's what kept them offline?

No idea about the probability, but a real possibility.
Good to remember that the ath11k universe uses more special hardware and related firmware, so there are new kind of error possibilities.
A proper power-off may be needed more often than earlier, as there are new kind of chips in play.

Just add more complexity to the config gradually, and try to identify if some change or package addition causes instability.

I just tried console_unlock and it seems like this is the one we want

I have 2 terminals, 1 for ssh and 1 for serial

SSH to openwrt

root@OpenWrt:~# fw_setenv console_unlock 1
root@OpenWrt:~# fw_printenv 
bootdelay=2
baudrate=115200
oobd=2023-01-27T21:25:47Z
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:0x6100000@0x1000000(fs),0x6100000@0x7a00000(fs_1)
bootcmd=setenv bootargs console=ttyMSM0,115200n8 ubi.mtd=rootfs rootfstype=squashfs rootwait; ubi part fs; ubi read 0x44000000 kernel; bootm 0x44000000#config@rt5010w-d350-rev0
console_unlock=1
root@OpenWrt:~# reboot now
root@OpenWrt:~# Connection to x.x.x.x closed by remote host.

Serial UART

D -   1880173 - SBL1, Delta
S - Flash Throughput, 6734 KB/s  (2042617 Bytes,  303314 us)
S - DDR Frequency, 600 MHz
S - Core 0 Frequency, 1651 MHz
PCI0 is not defined in the device tree
^MPCI1 is not defined in the device tree
^MIn:    serial@78B3000
^MOut:   serial@78B3000
^MErr:   serial@78B3000
^Mmachid: 8850105
^MMMC Device 0 not found
^Meth5 MAC Address from ART is not valid
^MBootloader Changed! Write correct version to environment
^MHit any key to stop autoboot:  0 
^Mubi0: attaching mtd1
^Mubi0: scanning is finished
^Mubi0: attached mtd1 (name "mtd=0", size 97 MiB)
^Mubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
^Mubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
^Mubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
^Mubi0: good PEBs: 776, bad PEBs: 0, corrupted PEBs: 0
^Mubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
^Mubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 995539892
^Mubi0: available PEBs: 0, total reserved PEBs: 776, PEBs reserved for bad PEB handling: 40
^MRead 0 bytes from volume kernel to 44000000
^MNo size specified -> Using max size (4952064)
^M## Loading kernel from FIT Image at 44000000 ...
^M   Using 'config@rt5010w-d350-rev0' configuration
^M   Trying 'kernel-1' kernel subimage
^M     Description:  ARM64 OpenWrt Linux-5.15.92
^M     Type:         Kernel Image
^M     Compression:  gzip compressed
^M     Data Start:   0x440000e8
^M     Data Size:    4788197 Bytes = 4.6 MiB
^M     Architecture: AArch64
^M     OS:           Linux
^M     Load Address: 0x41000000
^M     Entry Point:  0x41000000
^M     Hash algo:    crc32

The last part is the output I did not see before

6 Likes

Just watched DFS do it's thing though in the system logs. Pretty cool but the behavior was odd to me. I set the 5Ghz channel to auto and it chose 100, then DFS killed the radio, then it came back on under channel 36.

Really makes me wonder if I didn't just have 100 manually selected and DFS was fighting it to the point where a proper power-off was needed in combination with a config change. If that's the case, sorry to cry wolf everyone.

Will do, thank you for the help!

'auto' can be problematic. The actual channel selection varies by driver. Some just select the lowest possible, not using any real evaluation logic.

I have found it better to select a channel by myself, and then provide two alternatives in case DFS detection blocks the original channel.

But that DFS should not affect the 2.4 GHz at all.
And that makes me to think about something else as the reason (like I wrote a few dozen messages earlier).

and if I press any key I get a shell/prompt(?)

S - Core 0 Frequency, 1651 MHz
PCI0 is not defined in the device tree
^MPCI1 is not defined in the device tree
^MIn:    serial@78B3000
^MOut:   serial@78B3000
^MErr:   serial@78B3000
^Mmachid: 8850105
^MMMC Device 0 not found
^Meth5 MAC Address from ART is not valid
^MBootloader Changed! Write correct version to environment
^MHit any key to stop autoboot:  0 

^MNet:   MAC0 addr:xx:xx:xx:xx:xx:xx
^MPHY ID1: 0x4d
^MPHY ID2: 0xd0b1
^MPHY ID1: 0x4d
^MPHY ID2: 0xd101
^MEDMA ver 1 hw init
^MNum rings - TxDesc:1 (0-0) TxCmpl:1 (7-7)
^MRxDesc:1 (15-15) RxFill:1 (7-7)
^Mipq807x_edma_alloc_rings: successfull
^Mipq807x_edma_setup_ring_resources: successfull
^Mipq807x_edma_configure_rings: successfull
^Mipq807x_edma_hw_init: successfull
^Meth0
^MIPQ807x# help
^M?       - alias for 'help'
^Maq_load_fw- LOAD aq-fw-binary
^Maq_phy_restart- Restart Aquantia phy
1 Like

that's kind of expected, assuming it's the same output as it would have been, using the old u-boot, the help looks kind of short though, unless you didn't paste all of it.

I did not paste the whole thing, it is the same output as the old version of u-boot

1 Like

have you changed any other uboot variables, than the ones related to the flashing ?
if not, can you run tftpboot in uboot, to get the default IPs and file name for TFP recovery ?

the command will fail, but should display everything we need, and the info should be added
to the wiki page.

have you changed any other uboot variables, than the ones related to the flashing ?

Only the ones related to the flashing

IPQ807x# printenv
baudrate=115200
bootcmd=setenv bootargs console=ttyMSM0,115200n8 ubi.mtd=rootfs rootfstype=squashfs rootwait; ubi part fs; ubi read 0x44000000 kernel; bootm 0x44000000#config@rt5010w-d350-rev0
bootdelay=2
bootloader_version=0.0.2-1-80112-CS
console_unlock=1
eth1addr=xx:xx:xx:xx:xx:xx
eth2addr=xx:xx:xx:xx:xx:xx
eth3addr=xx:xx:xx:xx:xx:xx
eth4addr=xx:xx:xx:xx:xx:xx
ethact=eth0
ethaddr=xx:xx:xx:xx:xx:xx
fdt_high=0x4A400000
fdtcontroladdr=4a971780
flash_type=2
machid=8850105
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:0x6100000@0x1000000(fs),0x6100000@0x7a00000(fs_1)
oobd=2023-01-27T21:25:47Z
soc_version_major=2
soc_version_minor=0
stderr=serial@78B3000
stdin=serial@78B3000
stdout=serial@78B3000

Environment size: 747/262140 bytes

can you run tftpboot in uboot, to get the default IPs and file name for TFP recovery ?

without any ethernet cable connected I get this

IPQ807x# tftpboot
ipq807x_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
eth0 PHY5 Down Speed :10 Half duplex
ipq807x_eth_halt: done

with an ethernet cable connected to the WAN port I get this

IPQ807x# tftpboot
ipq807x_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
eth0 PHY5 up Speed :1000 Full duplex
ipq807x_eth_init: done
*** ERROR: `serverip' not set
ipq807x_eth_halt: done

I ran strings on mtd15-appsbl and I the following stands out

$ strings mtd15-appsbl | grep -B3 -A3 serverip
bootdelay=2
baudrate=115200
ipaddr=192.168.10.10
serverip=192.168.10.1
netmask=255.255.255.0
0123456789ABCDEFaroc
sdxbim
--
DMESG.BIN
UNAME
CPU_INFO
serverip
Using serverip from env %s
Server ip not found, run dhcp or configure
usb start
USB enumeration failed

I plugged an ethernet cable into WAN and ran dhcp and never got an IP address assigned.
I also plugged an ethernet cable to eth1 and never got an IP address assigned either

IPQ807x# dhcp
ipq807x_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
eth0 PHY5 up Speed :1000 Full duplex
ipq807x_eth_init: done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
ipq807x_eth_halt: done

Abort

ctrl + c do stop the dhcp command

1 Like

upon further digging it seems like regdb on ath11k is baked in. lets hope @robimarko succeeds here: regdb.bin availability (kernel.org)

its a big bummer actually for this promising platform...

Ok, here is what I did and it seems like I got what you wanted to know

IPQ807x# setenv serverip 192.168.10.1
IPQ807x# setenv ipaddr 192.168.10.10
IPQ807x# tftpboot
ipq807x_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
eth0 PHY5 up Speed :1000 Full duplex
ipq807x_eth_init: done
Using eth0 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.10
Filename 'serverip'.
Load address: 0x44000000
Loading: ipq807x_eth_halt: done

Abort

Ethernet cable is connected to WAN port, without a cable connected I get the following

IPQ807x# tftpboot
ipq807x_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 Down Speed :10 Half duplex
eth0 PHY5 Down Speed :10 Half duplex
ipq807x_eth_halt: done
1 Like