Add support for ASUS RT-AX89X AX6000

I bought SFP-adapters just to test it, when I tested copper was no-go, SFP did work but with 1G speeds. Don't really understand how that is possible. NO matter what I did 1G+ did not work. But in my case it's the net-chip which is on to-do list on Robimarko's table. My guess is we have different versions, there seems to be differences in hardware even inside B-revision.

What is the 10G copper adapter, those usually have onboard PHY-s that are acessible over MDIO but only when proper kernel SFP bus driver is used and we currently cannot use it.

I only have 1G Mikrotik one. I've tried 10G with cheap Chinese DAC SFP+ cable. Both work.
Only Asus 10G LAN copper port doesn't work at all. Maybe it's the same case as CP-Geek.

Ahh, I misunderstood that you were trying a 10G copper adaptor via SFP.

You can easily see if its detected in bootlog

1 Like

What should I look for inside bootlog?
Hardware version is B1.
Here is the bootlog. It's pretty big and I took only a part of it.

 22:04:59 2024 kern.info kernel: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
 22:04:59 2024 kern.notice kernel: [    0.000000] Linux version 6.6.44 (AX89@openwrt.lan) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.1.0 r27149-f6a9683236) 14.1.0, GNU ld (GNU Binutils) 2.42) #0 SMP PREEMPT Thu Aug 22 08:51:43 2024
 22:04:59 2024 kern.info kernel: [    0.000000] Machine model: Asus RT-AX89X
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x0000000040000000..0x0000000040ffffff (16384 KiB) nomap non-reusable nss@40000000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a5fffff (2048 KiB) nomap non-reusable tzapp@4a400000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004a600000..0x000000004a9fffff (4096 KiB) nomap non-reusable bootloader@4a600000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004aa00000..0x000000004aafffff (1024 KiB) nomap non-reusable sbl@4aa00000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfffff (1024 KiB) nomap non-reusable smem@4ab00000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004affffff (4096 KiB) nomap non-reusable memory@4ac00000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004b000000..0x0000000050efffff (97280 KiB) nomap non-reusable wcnss@4b000000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x0000000050f00000..0x0000000050ffffff (1024 KiB) nomap non-reusable q6_etr_dump@50f00000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x0000000051000000..0x00000000510fffff (1024 KiB) nomap non-reusable m3_dump@51000000
 22:04:59 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x0000000051200000..0x00000000512fffff (1024 KiB) nomap non-reusable ramoops@51200000
 22:04:59 2024 kern.info kernel: [    0.000000] Zone ranges:
 22:04:59 2024 kern.info kernel: [    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
 22:04:59 2024 kern.info kernel: [    0.000000]   DMA32    empty
 22:04:59 2024 kern.info kernel: [    0.000000]   Normal   empty
 22:04:59 2024 kern.info kernel: [    0.000000] Movable zone start for each node
 22:04:59 2024 kern.info kernel: [    0.000000] Early memory node ranges
 22:04:59 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000040000000-0x0000000040ffffff]
 22:04:59 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000041000000-0x000000004a3fffff]
 22:04:59 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x000000004a400000-0x00000000510fffff]
 22:04:59 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000051100000-0x00000000511fffff]
 22:04:59 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000051200000-0x00000000512fffff]
 22:04:59 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000051300000-0x000000007fffffff]
 22:04:59 2024 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
 22:04:59 2024 kern.info kernel: [    0.000000] psci: probing for conduit method from DT.
 22:04:59 2024 kern.info kernel: [    0.000000] psci: PSCIv1.0 detected in firmware.
 22:04:59 2024 kern.info kernel: [    0.000000] psci: Using standard PSCI v0.2 function IDs
 22:04:59 2024 kern.info kernel: [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
 22:04:59 2024 kern.info kernel: [    0.000000] psci: SMC Calling Convention v1.0
 22:04:59 2024 kern.info kernel: [    0.000000] percpu: Embedded 19 pages/cpu s38184 r8192 d31448 u77824
 22:04:59 2024 kern.debug kernel: [    0.000000] pcpu-alloc: s38184 r8192 d31448 u77824 alloc=19*4096
 22:04:59 2024 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
 22:04:59 2024 kern.info kernel: [    0.000000] Detected VIPT I-cache on CPU0
 22:04:59 2024 kern.info kernel: [    0.000000] alternatives: applying boot alternatives
 22:04:59 2024 kern.notice kernel: [    0.000000] Kernel command line: console=ttyMSM0,115200n8 rootfstype=squashfs root=/dev/mtdblock4  ubi.block=0,jffs2 root=/dev/ubiblock0_4
 22:04:59 2024 kern.info kernel: [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
 22:04:59 2024 kern.info kernel: [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
 22:04:59 2024 kern.info kernel: [    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
 22:04:59 2024 kern.info kernel: [    0.000000] software IO TLB: area num 4.
 22:04:59 2024 kern.info kernel: [    0.000000] software IO TLB: mapped [mem 0x000000007eb00000-0x000000007ec00000] (1MB)
 22:04:59 2024 kern.info kernel: [    0.000000] Memory: 883904K/1048576K available (8384K kernel code, 984K rwdata, 2676K rodata, 1728K init, 277K bss, 164672K reserved, 0K cma-reserved)
 22:04:59 2024 kern.info kernel: [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
 22:04:59 2024 kern.info kernel: [    0.000000] rcu: Preemptible hierarchical RCU implementation.
 22:04:59 2024 kern.info kernel: [    0.000000] 	Trampoline variant of Tasks RCU enabled.
 22:04:59 2024 kern.info kernel: [    0.000000] 	Tracing variant of Tasks RCU enabled.
 22:04:59 2024 kern.info kernel: [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
 22:04:59 2024 kern.info kernel: [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
 22:04:59 2024 kern.info kernel: [    0.000000] Root IRQ handler: gic_handle_irq
 22:04:59 2024 kern.info kernel: [    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
 22:04:59 2024 kern.info kernel: [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
 22:04:59 2024 kern.info kernel: [    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
 22:04:59 2024 kern.info kernel: [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
 22:04:59 2024 kern.info kernel: [    0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
 22:04:59 2024 kern.info kernel: [    0.000493] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
 22:04:59 2024 kern.info kernel: [    0.000508] pid_max: default: 32768 minimum: 301
 22:04:59 2024 kern.info kernel: [    0.005637] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.005652] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.010077] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
 22:04:59 2024 kern.info kernel: [    0.010193] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
 22:04:59 2024 kern.info kernel: [    0.010409] rcu: Hierarchical SRCU implementation.
 22:04:59 2024 kern.info kernel: [    0.010414] rcu: 	Max phase no-delay instances is 1000.
 22:04:59 2024 kern.info kernel: [    0.011637] smp: Bringing up secondary CPUs ...
 22:04:59 2024 kern.info kernel: [    0.012326] Detected VIPT I-cache on CPU1
 22:04:59 2024 kern.info kernel: [    0.012435] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
 22:04:59 2024 kern.info kernel: [    0.013185] Detected VIPT I-cache on CPU2
 22:04:59 2024 kern.info kernel: [    0.013261] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
 22:04:59 2024 kern.info kernel: [    0.013965] Detected VIPT I-cache on CPU3
 22:04:59 2024 kern.info kernel: [    0.014036] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
 22:04:59 2024 kern.info kernel: [    0.014111] smp: Brought up 1 node, 4 CPUs
 22:04:59 2024 kern.info kernel: [    0.014120] SMP: Total of 4 processors activated.
 22:04:59 2024 kern.info kernel: [    0.014126] CPU features: detected: 32-bit EL0 Support
 22:04:59 2024 kern.info kernel: [    0.014130] CPU features: detected: CRC32 instructions
 22:04:59 2024 kern.info kernel: [    0.014200] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
 22:04:59 2024 kern.info kernel: [    0.014207] CPU: All CPU(s) started at EL1
 22:04:59 2024 kern.info kernel: [    0.014210] alternatives: applying system-wide alternatives
 22:04:59 2024 kern.info kernel: [    0.027028] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
 22:04:59 2024 kern.info kernel: [    0.027056] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.028778] pinctrl core: initialized pinctrl subsystem
 22:04:59 2024 kern.info kernel: [    0.031119] NET: Registered PF_NETLINK/PF_ROUTE protocol family
 22:04:59 2024 kern.info kernel: [    0.031752] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
 22:04:59 2024 kern.info kernel: [    0.031797] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
 22:04:59 2024 kern.info kernel: [    0.031832] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
 22:04:59 2024 kern.info kernel: [    0.032264] thermal_sys: Registered thermal governor 'step_wise'
 22:04:59 2024 kern.info kernel: [    0.032321] cpuidle: using governor menu
 22:04:59 2024 kern.info kernel: [    0.032534] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
 22:04:59 2024 kern.info kernel: [    0.032631] ASID allocator initialised with 65536 entries
 22:04:59 2024 kern.info kernel: [    0.098017] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
 22:04:59 2024 kern.info kernel: [    0.103030] Modules: 29216 pages in range for non-PLT usage
 22:04:59 2024 kern.info kernel: [    0.103042] Modules: 520736 pages in range for PLT usage
 22:04:59 2024 kern.notice kernel: [    0.107757] SCSI subsystem initialized
 22:04:59 2024 kern.info kernel: [    0.108011] usbcore: registered new interface driver usbfs
 22:04:59 2024 kern.info kernel: [    0.108060] usbcore: registered new interface driver hub
 22:04:59 2024 kern.info kernel: [    0.108132] usbcore: registered new device driver usb
 22:04:59 2024 kern.info kernel: [    0.108769] qcom_scm: convention: smc arm 64
 22:04:59 2024 kern.info kernel: [    0.110707] clocksource: Switched to clocksource arch_sys_counter
 22:04:59 2024 kern.info kernel: [    0.114518] NET: Registered PF_INET protocol family
 22:04:59 2024 kern.info kernel: [    0.114675] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.117252] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.117276] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.117293] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.117378] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.117653] TCP: Hash tables configured (established 8192 bind 8192)
 22:04:59 2024 kern.info kernel: [    0.117759] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.117798] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
 22:04:59 2024 kern.info kernel: [    0.118228] NET: Registered PF_UNIX/PF_LOCAL protocol family
 22:04:59 2024 kern.info kernel: [    0.118269] PCI: CLS 0 bytes, default 64
 22:04:59 2024 kern.info kernel: [    0.118484] Unpacking initramfs...
 22:04:59 2024 kern.info kernel: [    0.120673] workingset: timestamp_bits=46 max_order=18 bucket_order=0
 22:04:59 2024 kern.info kernel: [    0.121483] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 22:04:59 2024 kern.info kernel: [    0.121491] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 22:04:59 2024 kern.warn kernel: [    0.128845] qcom-qmp-usb-phy 58000.phy: supply vdda-phy not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.128984] qcom-qmp-usb-phy 58000.phy: supply vdda-pll not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.131205] qcom-qmp-usb-phy 78000.phy: supply vdda-phy not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.131477] qcom-qmp-usb-phy 78000.phy: supply vdda-pll not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.133666] qcom-qusb2-phy 59000.phy: supply vdd not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.133797] qcom-qusb2-phy 59000.phy: supply vdda-pll not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.133871] qcom-qusb2-phy 59000.phy: supply vdda-phy-dpdm not found, using dummy regulator
 22:04:59 2024 kern.info kernel: [    0.134067] qcom-qusb2-phy 59000.phy: Registered Qcom-QUSB2 phy
 22:04:59 2024 kern.warn kernel: [    0.134657] qcom-qusb2-phy 79000.phy: supply vdd not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.134831] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator
 22:04:59 2024 kern.warn kernel: [    0.134881] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
 22:04:59 2024 kern.info kernel: [    0.135070] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
 22:04:59 2024 kern.info kernel: [    0.147600] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
 22:04:59 2024 kern.info kernel: [    0.148805] msm_serial 78b3000.serial: msm_serial: detected port #0
 22:04:59 2024 kern.info kernel: [    0.148850] msm_serial 78b3000.serial: uartclk = 3686400
 22:04:59 2024 kern.info kernel: [    0.149341] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 20, base_baud = 230400) is a MSM
 22:04:59 2024 kern.info kernel: [    0.149386] msm_serial: console setup on port #0
 22:04:59 2024 kern.info kernel: [    0.149442] printk: console [ttyMSM0] enabled
 22:04:59 2024 kern.info kernel: [    1.005576] msm_serial: driver initialized
 22:04:59 2024 kern.info kernel: [    1.014927] loop: module loaded
 22:04:59 2024 kern.info kernel: [    1.016362] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xaa
 22:04:59 2024 kern.info kernel: [    1.016887] nand: Winbond W29N02GZ
 22:04:59 2024 kern.info kernel: [    1.023588] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
 22:04:59 2024 kern.notice kernel: [    1.027069] 10 fixed-partitions partitions found on MTD device qcom_nand.0
 22:04:59 2024 kern.err kernel: [    1.034297] OF: Bad cell count for /soc@0/nand-controller@79b0000/nand@0/partitions
 22:04:59 2024 kern.err kernel: [    1.041321] OF: Bad cell count for /soc@0/nand-controller@79b0000/nand@0/partitions
 22:04:59 2024 kern.notice kernel: [    1.049017] Creating 10 MTD partitions on "qcom_nand.0":
 22:04:59 2024 kern.notice kernel: [    1.056724] 0x000000000000-0x000000060000 : "0:sbl1"
 22:04:59 2024 kern.notice kernel: [    1.062897] 0x000000060000-0x0000000a0000 : "0:mibib"
 22:04:59 2024 kern.notice kernel: [    1.067551] 0x0000000a0000-0x000000280000 : "0:qsee"
 22:04:59 2024 kern.notice kernel: [    1.073811] 0x000000280000-0x0000002a0000 : "0:devcfg"
 22:04:59 2024 kern.notice kernel: [    1.077429] 0x0000002a0000-0x0000002c0000 : "0:apdp"
 22:04:59 2024 kern.notice kernel: [    1.082407] 0x0000002c0000-0x000000300000 : "0:rpm"
 22:04:59 2024 kern.notice kernel: [    1.087549] 0x000000300000-0x000000320000 : "0:cdt"
 22:04:59 2024 kern.notice kernel: [    1.092106] 0x000000320000-0x0000003e0000 : "0:appsbl"
 22:04:59 2024 kern.notice kernel: [    1.097436] 0x0000003e0000-0x000000400000 : "0:appsblenv"
 22:04:59 2024 kern.notice kernel: [    1.102196] 0x000000400000-0x000010000000 : "UBI_DEV"
 22:04:59 2024 kern.notice kernel: [    1.311187] ubi0: attaching mtd9
 22:04:59 2024 kern.notice kernel: [    1.950730] random: crng init done
 22:04:59 2024 kern.notice kernel: [    2.511914] ubi0: scanning is finished
 22:04:59 2024 kern.notice kernel: [    2.520237] ubi0: attached mtd9 (name "UBI_DEV", size 252 MiB)
 22:04:59 2024 kern.notice kernel: [    2.520284] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
 22:04:59 2024 kern.notice kernel: [    2.524997] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
 22:04:59 2024 kern.notice kernel: [    2.531843] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
 22:04:59 2024 kern.notice kernel: [    2.538692] ubi0: good PEBs: 2016, bad PEBs: 0, corrupted PEBs: 0
 22:04:59 2024 kern.notice kernel: [    2.545469] ubi0: user volume: 6, internal volumes: 1, max. volumes count: 128
 22:04:59 2024 kern.notice kernel: [    2.551720] ubi0: max/mean erase counter: 2057/1298, WL threshold: 4096, image sequence number: 777439194
 22:04:59 2024 kern.notice kernel: [    2.558836] ubi0: available PEBs: 0, total reserved PEBs: 2016, PEBs reserved for bad PEB handling: 40
 22:04:59 2024 kern.notice kernel: [    2.568490] ubi0: background thread "ubi_bgt0d" started, PID 281
 22:04:59 2024 kern.info kernel: [    2.569133] block ubiblock0_4: created from ubi0:4(jffs2)
 22:04:59 2024 kern.info kernel: [    2.584317] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
 22:04:59 2024 kern.info kernel: [    2.617338] i2c_dev: i2c /dev entries driver
 22:04:59 2024 kern.info kernel: [    2.625287] sdhci: Secure Digital Host Controller Interface driver
 22:04:59 2024 kern.info kernel: [    2.625334] sdhci: Copyright(c) Pierre Ossman
 22:04:59 2024 kern.info kernel: [    2.630369] sdhci-pltfm: SDHCI platform and OF driver helper
 22:04:59 2024 kern.info kernel: [    2.637002] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
 22:04:59 2024 kern.info kernel: [    2.642916] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
 22:04:59 2024 kern.info kernel: [    2.648229] NET: Registered PF_INET6 protocol family
 22:04:59 2024 kern.info kernel: [    2.655494] Segment Routing with IPv6
 22:04:59 2024 kern.info kernel: [    2.659563] In-situ OAM (IOAM) with IPv6
 22:04:59 2024 kern.info kernel: [    2.663250] NET: Registered PF_PACKET protocol family
 22:04:59 2024 kern.notice kernel: [    2.667138] Bridge firewalling registered
 22:04:59 2024 kern.info kernel: [    2.672161] 8021q: 802.1Q VLAN Support v1.8
 22:04:59 2024 kern.info kernel: [    2.707879] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
 22:04:59 2024 kern.info kernel: [    2.708222] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
 22:04:59 2024 kern.info kernel: [    2.715057] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
 22:04:59 2024 kern.info kernel: [    2.720607] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
 22:04:59 2024 kern.info kernel: [    2.728284] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
 22:04:59 2024 kern.info kernel: [    2.735826] cpr3_mem_acc_init: apc: not using memory accelerator regulator
 22:04:59 2024 kern.info kernel: [    2.744931] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 720000 uV
 22:04:59 2024 kern.info kernel: [    2.751892] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 856000 uV
 22:04:59 2024 kern.info kernel: [    2.761850] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused    TURBO: open-loop= 920000 uV
 22:04:59 2024 kern.info kernel: [    2.771658] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused   STURBO: open-loop=1032000 uV
 22:04:59 2024 kern.info kernel: [    2.781522] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 706, quot_offset[ 7]=   0
 22:04:59 2024 kern.info kernel: [    2.791278] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 961, quot_offset[ 7]= 255
 22:04:59 2024 kern.info kernel: [    2.802128] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused    TURBO: quot[ 7]=1067, quot_offset[ 7]= 105
 22:04:59 2024 kern.info kernel: [    2.813067] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused   STURBO: quot[ 7]=1258, quot_offset[ 7]= 190
 22:04:59 2024 kern.info kernel: [    2.824253] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
 22:04:59 2024 kern.info kernel: [    2.829741] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 800000 KHz, changing to: 1017600 KHz
 22:04:59 2024 kern.info kernel: [    2.843518] remoteproc remoteproc0: cd00000.q6v5_wcss is available
 22:04:59 2024 kern.info kernel: [    2.857107] clk: Disabling unused clocks
 22:04:59 2024 kern.info kernel: [    2.860871] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
 22:04:59 2024 kern.info kernel: [    2.861433] Freeing unused kernel memory: 1728K
 22:04:59 2024 kern.info kernel: [    2.867088] Run /sbin/init as init process
 22:04:59 2024 kern.debug kernel: [    2.871342]   with arguments:
 22:04:59 2024 kern.debug kernel: [    2.871347]     /sbin/init
 22:04:59 2024 kern.debug kernel: [    2.871350]   with environment:
 22:04:59 2024 kern.debug kernel: [    2.871353]     HOME=/
 22:04:59 2024 kern.debug kernel: [    2.871355]     TERM=linux
 22:04:59 2024 user.info kernel: [    3.093525] init: Console is alive
 22:04:59 2024 user.info kernel: [    3.093643] init: - watchdog -
 22:04:59 2024 user.info kernel: [    3.947652] kmodloader: loading kernel modules from /etc/modules-boot.d/*
 22:04:59 2024 kern.warn kernel: [    3.988794] gpio_button_hotplug: loading out-of-tree module taints kernel.
 22:04:59 2024 kern.warn kernel: [    4.026345] ssdk_dt_parse_interrupt[941]:INFO:intr-gpio does not exist
 22:04:59 2024 kern.warn kernel: [    4.083136] sfp_phy_init[419]:INFO:qca probe sfp phy driver succeeded!
 22:04:59 2024 kern.warn kernel: [    5.760788] regi_init[2525]:INFO:Initializing HPPE Done!!
 22:04:59 2024 kern.warn kernel: [    5.760915] regi_init[2574]:INFO:qca-ssdk module init succeeded!
 22:04:59 2024 kern.info kernel: [    5.769524] EDMA ver 1 hw init
 22:04:59 2024 kern.info kernel: [    5.771516] EDMA HW Reset completed succesfully
 22:04:59 2024 kern.info kernel: [    5.774152] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
 22:04:59 2024 kern.info kernel: [    5.778542] RxDesc:1 (15-15) RxFill:1 (7-7)
 22:04:59 2024 kern.info kernel: [    5.784237] dp1: ppe offload disabled: 0 for macid 1
 22:04:59 2024 kern.info kernel: [    5.787918] dp1: Switch attached to macid 1 status: 0
 22:04:59 2024 kern.info kernel: [    5.991446] Qualcomm QCA8075 90000.mdio-1:08: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:08, irq=POLL)
 22:04:59 2024 kern.info kernel: [    5.992266] dp2: ppe offload disabled: 0 for macid 2
 22:04:59 2024 kern.info kernel: [    6.000337] dp2: Switch attached to macid 2 status: 0
 22:04:59 2024 kern.info kernel: [    6.081102] Qualcomm QCA8075 90000.mdio-1:09: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:09, irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.081951] dp3: ppe offload disabled: 0 for macid 3
 22:04:59 2024 kern.info kernel: [    6.090005] dp3: Switch attached to macid 3 status: 0
 22:04:59 2024 kern.info kernel: [    6.150958] qca8k 90000.mdio-1:10: PHY [90000.mdio-1:05] driver [Qualcomm Atheros AR8035] (irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.153298] qca8k 90000.mdio-1:10: configuring for phy/rgmii-rxid link mode
 22:04:59 2024 kern.info kernel: [    6.181085] Qualcomm QCA8075 90000.mdio-1:0a: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:0a, irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.181984] dp4: ppe offload disabled: 0 for macid 4
 22:04:59 2024 kern.info kernel: [    6.189973] dp4: Switch attached to macid 4 status: 0
 22:04:59 2024 kern.info kernel: [    6.241153] qca8k 90000.mdio-1:10 lan7 (uninitialized): PHY [90000.mdio-1:00] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.281080] Qualcomm QCA8075 90000.mdio-1:0b: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:0b, irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.281941] dp5-syn: ppe offload disabled: 0 for macid 5
 22:04:59 2024 kern.info kernel: [    6.289982] dp5-syn: Switch attached to macid 5 status: 0
 22:04:59 2024 kern.info kernel: [    6.295643] QCA SFP 90000.mdio-1:1e: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:1e, irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.301769] dp6-syn: ppe offload disabled: 0 for macid 6
 22:04:59 2024 kern.info kernel: [    6.309947] dp6-syn: Switch attached to macid 6 status: 0
 22:04:59 2024 kern.err kernel: [    6.315397] nss-dp 3a007000.dp6-syn 10g-copper (uninitialized): failed to connect to phy device
 22:04:59 2024 kern.warn kernel: [    6.320685] nss-dp: probe of 3a007000.dp6-syn failed with error -14
 22:04:59 2024 kern.info kernel: [    6.321171] qca8k 90000.mdio-1:10 lan6 (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.329275] **********************************************************
 22:04:59 2024 kern.info kernel: [    6.347545] * NSS Data Plane driver
 22:04:59 2024 kern.info kernel: [    6.353868] **********************************************************
 22:04:59 2024 kern.info kernel: [    6.374501] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
 22:04:59 2024 kern.info kernel: [    6.374550] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
 22:04:59 2024 kern.info kernel: [    6.379010] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
 22:04:59 2024 kern.info kernel: [    6.386531] xhci-hcd xhci-hcd.1.auto: irq 42, io mem 0x08a00000
 22:04:59 2024 kern.info kernel: [    6.395971] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
 22:04:59 2024 kern.info kernel: [    6.401747] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
 22:04:59 2024 kern.info kernel: [    6.407279] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
 22:04:59 2024 kern.info kernel: [    6.415212] qca8k 90000.mdio-1:10 lan5 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.415377] hub 1-0:1.0: USB hub found
 22:04:59 2024 kern.info kernel: [    6.433529] hub 1-0:1.0: 1 port detected
 22:04:59 2024 kern.info kernel: [    6.437826] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
 22:04:59 2024 kern.info kernel: [    6.441679] hub 2-0:1.0: USB hub found
 22:04:59 2024 kern.info kernel: [    6.449364] hub 2-0:1.0: 1 port detected
 22:04:59 2024 kern.info kernel: [    6.453154] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
 22:04:59 2024 kern.info kernel: [    6.456843] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
 22:04:59 2024 kern.info kernel: [    6.462319] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
 22:04:59 2024 kern.info kernel: [    6.469725] xhci-hcd xhci-hcd.2.auto: irq 43, io mem 0x08c00000
 22:04:59 2024 kern.info kernel: [    6.479184] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
 22:04:59 2024 kern.info kernel: [    6.484970] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
 22:04:59 2024 kern.info kernel: [    6.490522] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
 22:04:59 2024 kern.info kernel: [    6.498795] hub 3-0:1.0: USB hub found
 22:04:59 2024 kern.info kernel: [    6.501164] qca8k 90000.mdio-1:10 lan4 (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.504720] hub 3-0:1.0: 1 port detected
 22:04:59 2024 kern.info kernel: [    6.520840] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
 22:04:59 2024 kern.info kernel: [    6.524628] hub 4-0:1.0: USB hub found
 22:04:59 2024 kern.info kernel: [    6.532487] hub 4-0:1.0: 1 port detected
 22:04:59 2024 kern.info kernel: [    6.539646] usbcore: registered new interface driver usb-storage
 22:04:59 2024 kern.info kernel: [    6.541027] usbcore: registered new interface driver uas
 22:04:59 2024 user.info kernel: [    6.546306] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
 22:04:59 2024 user.info kernel: [    6.560191] init: - preinit -
 22:04:59 2024 kern.info kernel: [    6.591179] qca8k 90000.mdio-1:10 lan3 (uninitialized): PHY [90000.mdio-1:04] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.671180] qca8k 90000.mdio-1:10 lan8 (uninitialized): PHY [90000.mdio-1:06] driver [Qualcomm Atheros AR8031/AR8033] (irq=POLL)
 22:04:59 2024 kern.info kernel: [    6.671950] nss-dp 3a001000.dp1 switch: entered promiscuous mode
 22:04:59 2024 kern.info kernel: [    6.682084] DSA: tree 0 setup
 22:04:59 2024 kern.info kernel: [    8.230932] qca8k 90000.mdio-1:10: Link is Up - 1Gbps/Full - flow control rx/tx

Yeah, you have the same case as somebody else where older PHY revisions were connected to the HW MDIO bus directly and at different MDIO addresses.

I really need to dig into U-Boot and see what it expects, maybe we can rely on it to enable the required PHY nodes.

1 Like

Do we need a separate AQR 10G Firmware installation for AX89 (for 10G copper LAN port to work) as it is the case with QNAP 301w and Netgear RAX120v2 (Nighthawk AX12)?

No, the firmware is loaded from a SPI-NOR automatically.

The issue as I explained is that Asus for some reason did 2 implementations, one where AQR is connected to the HW SoC MDIO and one where its bitbanged via GPIO pins.

And now we have an issue that I only had the second case and its wired in the DTS while the first one isn't so its a matter of figuring out how to support both of these.

2 Likes

I am about to start testing OpenWRT on this unit again. Particularly, the USB ports.

Curious, but anyone having issues with attaching USB drives to this router?

EDIT:

@robimarko I noticed that the wifi lights are reversed on my B1 unit. the 5ghz radio is off but the 2.4ghz radio is on. yet the light shows the polar opposite. would you be able to take a look at this?

Perhaps a dumb question:

are the 2 usb3.0 ports true ports in the sense that I will get 5gbps+5gbps=10gbps bandwidth through both of them simultaneously? Or is there just 1 usb3.0 hub 5gbps that provides 2 ports?

Decided to make my own attempt by running "dmesg | grep usb".

I dont know if this answers your question so im only hopeful.

root@WRT-AX89X:~# dmesg | grep usb
[    0.094490] usbcore: registered new interface driver usbfs
[    0.094527] usbcore: registered new interface driver hub
[    0.094592] usbcore: registered new device driver usb
[    0.114651] qcom-qmp-usb-phy 58000.phy: supply vdda-phy not found, using dummy regulator
[    0.114813] qcom-qmp-usb-phy 58000.phy: supply vdda-pll not found, using dummy regulator
[    0.116318] qcom-qmp-usb-phy 78000.phy: supply vdda-phy not found, using dummy regulator
[    0.116459] qcom-qmp-usb-phy 78000.phy: supply vdda-pll not found, using dummy regulator
[    0.118276] qcom-qusb2-phy 59000.phy: supply vdd not found, using dummy regulator
[    0.118469] qcom-qusb2-phy 59000.phy: supply vdda-pll not found, using dummy regulator
[    0.118512] qcom-qusb2-phy 59000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.118678] qcom-qusb2-phy 59000.phy: Registered Qcom-QUSB2 phy
[    0.118912] qcom-qusb2-phy 79000.phy: supply vdd not found, using dummy regulator
[    0.119071] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator
[    0.119127] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.119310] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
[    5.812150] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.895442] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.767771] usbcore: registered new interface driver usb-storage
[    8.769890] usbcore: registered new interface driver uas
root@WRT-AX89X:~# exit

You can try using lsusb. It would indicate whether something is connected directly or through a hub.

That's what I see on B2 (so doesn't look like they are behind a hub):

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.47 xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux 6.6.47 xhci-hcd xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 6.6.47 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0003 Linux 6.6.47 xhci-hcd xHCI Host Controller
lsusb --tree
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M

If something is behind a hub, the bus id would be the same.

1 Like

Ran the same command on my B1 hw variant and got the same thing. thanks for sharing that command btw.

 -----------------------------------------------------
 OpenWrt SNAPSHOT, r27290-64dae1052b
 -----------------------------------------------------
root@WRT-AX89X:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.48 xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux 6.6.48 xhci-hcd xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 6.6.48 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0003 Linux 6.6.48 xhci-hcd xHCI Host Controller
root@WRT-AX89X:~# lsusb --tree
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
root@WRT-AX89X:~# 
2 Likes

They are single ports connected directly to SoC USB3 controllers, there are 2 in the SoC so the bandwidth is not shared, but do not expect the SoC to actually be able to handle anywhere near the USB3.0 speeds, it would most likely choke on the amount of IRQ-s being generated.

I will check the LED polarity, its been quite a while since I looked into it.

BTW, for USB mass storage you need kmod-usb-storage-uas

I understand that I need to install kmod-usb-storage-uas.

Since I had already donated a router a year ago to the dd-wrt developers, I decided to test their firmware on this router. And one of main issues I had with their firmware on this router was the USB ports acting up along with wifi.

Hence why I asked what I asked.

Thankfully, I was able to flash back stock firmware, then proceeded to flash back to openwrt using the two firmware files on the snapshot page. I have confirmed that the USB is functioning just fine on this unit but I have only tested it for a short period of time. So the USB issue I was experience is more of a dd-wrt problem.

EDIT: Just for clarity, I understand this is the OpenWRT forums and im talking to OpenWRT developers and users. I am only stating why and what and all to satisfy anyones curiosity here as to whats going on.