Ath79: TP-Link CPE210 v2.0 wifi not working

BUG ID Reported as 2333 in https://bugs.openwrt.org
FS#2333 - ath79: TP-Link CPE210 v2.0 wifi not working
Clients can’t see the AP and “iw dev wlan0 scan” is returning nothing. Wifi doesn’t seem to work.
This BUG may also impact other devices using the Qualcomm Atheros QCA9533 ver 2 rev 0

Hi,

as i was part of the dev team which bring up the cpe210v3 and v2 code.
I bouble checked the issue on this versions:
OpenWrt SNAPSHOT, r10537-0893f28e19
OpenWrt SNAPSHOT, r9740-19469321b1
with a cpe210v3.

So both versions are working in AP Mode even scanning for wifi networks is working.

Did you enable the wifi interface for example with "ifconfig wlan up" ?
per default it seems to be disabled.

cat /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option htmode 'HT20'
	option disabled '0'
	option path 'platform/ahb/18100000.wmac'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'

BR,

blueline

Hi

I downloaded the latest snapshot below for the TP-LINK CPE210 V2 and its still not working.

Please try it.
https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_cpe210-v2-squashfs-sysupgrade.bin

iwinfo wlan0 scan
No scan results

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/ahb/18100000.wmac'
	option htmode 'HT20'
	option disabled '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'
[    0.000000] Linux version 4.19.57 (builder@buildhost) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10537-0893f28e19)) #0 Wed Jul 17 14:49:20 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-LINK CPE210 v2
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x98/0x4b0 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 57252K/65536K available (4497K kernel code, 182K rwdata, 1052K rodata, 1236K init, 214K bss, 8284K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008288] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074881] pid_max: default: 32768 minimum: 301
[    0.080042] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087021] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100215] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110672] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.117314] pinctrl core: initialized pinctrl subsystem
[    0.126358] NET: Registered protocol family 16
[    0.169782] clocksource: Switched to clocksource MIPS
[    0.176693] NET: Registered protocol family 2
[    0.182498] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.190729] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.198085] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.204825] TCP: Hash tables configured (established 1024 bind 1024)
[    0.211748] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.217933] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.225090] NET: Registered protocol family 1
[    0.229728] PCI: CLS 0 bytes, default 32
[    0.234195] Crashlog allocated RAM at address 0x3f00000
[    0.241830] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.256969] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.263203] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.293105] io scheduler noop registered
[    0.297244] io scheduler deadline registered (default)
[    0.305977] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.313409] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.323105] console [ttyS0] disabled
[    0.326920] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.336115] console [ttyS0] enabled
[    0.343691] bootconsole [early0] disabled
[    0.367881] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[    0.372830] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.379390] Creating 6 MTD partitions on "spi0.0":
[    0.384386] 0x000000000000-0x000000020000 : "u-boot"
[    0.390697] 0x000000020000-0x000000030000 : "partition-table"
[    0.397556] 0x000000030000-0x000000040000 : "info"
[    0.403590] 0x000000040000-0x0000007c0000 : "firmware"
[    0.415281] 2 tplink-fw partitions found on MTD device firmware
[    0.421492] Creating 2 MTD partitions on "firmware":
[    0.426639] 0x000000000000-0x0000001ccd65 : "kernel"
[    0.432874] 0x0000001ccd65-0x000000780000 : "rootfs"
[    0.438900] mtd: device 5 (rootfs) set to be root filesystem
[    0.447017] 1 squashfs-split partitions found on MTD device rootfs
[    0.453513] 0x0000003c0000-0x000000780000 : "rootfs_data"
[    0.460280] 0x0000007c0000-0x0000007f0000 : "config"
[    0.466356] 0x0000007f0000-0x000000800000 : "art"
[    0.473814] libphy: Fixed MDIO Bus: probed
[    0.820258] libphy: ag71xx_mdio: probed
[    0.825716] libphy: ar8xxx-mdio: probed
[    0.836392] switch0: Atheros AR8229 rev. 1 switch registered on mdio-bus.0
[    1.232127] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.242816] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.252675] NET: Registered protocol family 10
[    1.265281] Segment Routing with IPv6
[    1.269204] NET: Registered protocol family 17
[    1.274010] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.287439] 8021q: 802.1Q VLAN Support v1.8
[    1.294105] hctosys: unable to open rtc device (rtc0)
[    1.307604] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.325576] Freeing unused kernel memory: 1236K
[    1.330308] This architecture does not have kernel memory protection.
[    1.336956] Run /sbin/init as init process
[    2.263227] init: Console is alive
[    2.267086] init: - watchdog -
[    2.429802] random: fast init done
[    3.536586] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.715618] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.733830] init: - preinit -
[    4.956831] random: jshn: uninitialized urandom read (4 bytes read)
[    5.122469] random: jshn: uninitialized urandom read (4 bytes read)
[    5.225628] random: jshn: uninitialized urandom read (4 bytes read)
[    5.688970] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.782707] eth0: link up (100Mbps/Full duplex)
[    7.787449] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.022223] jffs2: notice: (486) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 7 of xref (1 dead, 0 orphan) found.
[    9.040791] mount_root: switching to jffs2 overlay
[    9.075594] overlayfs: upper fs does not support tmpfile.
[    9.090136] urandom-seed: Seeding with /etc/urandom.seed
[    9.286757] eth0: link down
[    9.305855] procd: - early -
[    9.308981] procd: - watchdog -
[    9.981352] procd: - watchdog -
[    9.984972] procd: - ubus -
[   10.017413] urandom_read: 5 callbacks suppressed
[   10.017424] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.039466] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.048521] procd: - init -
[   10.831521] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.878057] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7
[   10.885978] Backport generated by backports.git v4.19.32-1-0-g1c4f7569
[   10.968602] xt_time: kernel timezone is -0000
[   11.037979] urngd: v1.0.0 started.
[   11.153617] PPP generic driver version 2.4.2
[   11.171169] NET: Registered protocol family 24
[   11.316661] ath: EEPROM regdomain: 0x0
[   11.316674] ath: EEPROM indicates default country code should be used
[   11.316677] ath: doing EEPROM country->regdmn map search
[   11.316696] ath: country maps to regdmn code: 0x3a
[   11.316702] ath: Country alpha2 being used: US
[   11.316705] ath: Regpair used: 0x3a
[   11.332407] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.334830] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
[   11.430351] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.501184] random: crng init done
[   20.664282] br-lan: port 1(eth0) entered blocking state
[   20.669703] br-lan: port 1(eth0) entered disabled state
[   20.675644] device eth0 entered promiscuous mode
[   20.704230] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   22.783535] eth0: link up (100Mbps/Full duplex)
[   22.788298] br-lan: port 1(eth0) entered blocking state
[   22.793787] br-lan: port 1(eth0) entered forwarding state
[   22.851957] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.304499] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.315521] br-lan: port 2(wlan0) entered blocking state
[   24.321146] br-lan: port 2(wlan0) entered disabled state
[   24.327097] device wlan0 entered promiscuous mode
[   24.353804] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   24.360758] br-lan: port 2(wlan0) entered blocking state
[   24.366257] br-lan: port 2(wlan0) entered forwarding state

Hi @bluelineXY
I can confirm that with current snapshot on CPE 210 v2 clients don't see the AP and that scans are not working either.

root@CPE210v2:~# uname -a
Linux CPE210v2 4.14.132 #0 Tue Jul 9 15:03:18 2019 mips GNU/Linux
root@CPE210v2:~# sysupgrade -v -n /tmp/openwrt-ath79-generic-tplink_cpe210-v2-squashfs-sysupgrade.bin
Commencing upgrade. Closing all shell sessions.
...
root@OpenWrt:~# uname -a
Linux OpenWrt 4.19.57 #0 Wed Jul 17 22:06:55 2019 mips GNU/Linux
root@OpenWrt:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.channel='11'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/ahb/18100000.wmac'
wireless.radio0.htmode='HT20'
wireless.radio0.disabled='1'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='OpenWrt'
wireless.default_radio0.encryption='none'
root@OpenWrt:~# uci set wireless.radio0.disabled=0
root@OpenWrt:~# uci commit
root@OpenWrt:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 70:4F:57:7D:4E:C4
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:~# ifconfig wlan0 up
root@OpenWrt:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 70:4F:57:7D:4E:C4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:~# iwinfo wlan0 scan
No scan results

root@OpenWrt:~# iw dev wlan0 scan
root@OpenWrt:~#

Is there anything I can do to help find the problem?

Best regards
Sven

Hi

I have the same problem with a cpe210 (wlan recognised but no network seen and no ap. lots of unknown in iwinfo). I recompiled as well but no success.
@bluelineXY maybe you could share the .config you use? I might miss a piece of driver?
How can I see if I have a different chipset on my cpe210v3?

Thanks

JP

Hi,

you can post you dmesg for example and we can check.
The image i was from the buildbot: https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_cpe210-v3-squashfs-factory.bin

BR,
blueLine

A few dumps. If you can see something funny looking, let me know, so I can get this device to work :slight_smile:

DMESG :

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.19.57 (shepheje@laptop) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10564-fc2df4f705)) #0 Sun Jul 21 21:30:27 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-LINK CPE210 v3
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x98/0x4a8 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 57580K/65536K available (4266K kernel code, 177K rwdata, 1008K rodata, 1196K init, 207K bss, 7956K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008277] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074889] pid_max: default: 32768 minimum: 301
[    0.080027] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087003] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100144] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110606] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.117232] pinctrl core: initialized pinctrl subsystem
[    0.124050] NET: Registered protocol family 16
[    0.167456] clocksource: Switched to clocksource MIPS
[    0.174366] NET: Registered protocol family 2
[    0.180036] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.188282] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.195637] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.202389] TCP: Hash tables configured (established 1024 bind 1024)
[    0.209290] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.215480] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.222668] NET: Registered protocol family 1
[    0.227300] PCI: CLS 0 bytes, default 32
[    0.231528] Crashlog allocated RAM at address 0x3f00000
[    0.239168] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.254004] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.260243] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.289420] io scheduler noop registered
[    0.293566] io scheduler deadline registered (default)
[    0.301568] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.308912] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.316486] console [ttyS0] disabled
[    0.320393] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.329524] console [ttyS0] enabled
[    0.337067] bootconsole [early0] disabled
[    0.357567] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[    0.362421] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.369018] Creating 6 MTD partitions on "spi0.0":
[    0.373985] 0x000000000000-0x000000020000 : "u-boot"
[    0.380194] 0x000000020000-0x000000030000 : "partition-table"
[    0.387115] 0x000000030000-0x000000040000 : "info"
[    0.393153] 0x000000040000-0x0000007c0000 : "firmware"
[    0.403896] 2 tplink-fw partitions found on MTD device firmware
[    0.410107] Creating 2 MTD partitions on "firmware":
[    0.415256] 0x000000000000-0x0000001b6959 : "kernel"
[    0.421451] 0x0000001b6959-0x000000780000 : "rootfs"
[    0.427531] mtd: device 5 (rootfs) set to be root filesystem
[    0.435487] 1 squashfs-split partitions found on MTD device rootfs
[    0.441987] 0x0000004f0000-0x000000780000 : "rootfs_data"
[    0.448615] 0x0000007c0000-0x0000007f0000 : "config"
[    0.454674] 0x0000007f0000-0x000000800000 : "art"
[    0.461977] libphy: Fixed MDIO Bus: probed
[    0.807932] libphy: ag71xx_mdio: probed
[    0.813401] libphy: ar8xxx-mdio: probed
[    0.824021] switch0: Atheros AR8229 rev. 1 switch registered on mdio-bus.0
[    1.219808] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.230491] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.239806] NET: Registered protocol family 10
[    1.251456] Segment Routing with IPv6
[    1.255384] NET: Registered protocol family 17
[    1.260174] 8021q: 802.1Q VLAN Support v1.8
[    1.278405] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.295961] Freeing unused kernel memory: 1196K
[    1.300690] This architecture does not have kernel memory protection.
[    1.307338] Run /sbin/init as init process
[    2.423052] init: Console is alive
[    2.426918] init: - watchdog -
[    2.517492] random: fast init done
[    3.793676] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.862516] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.880703] init: - preinit -
[    5.069793] random: jshn: uninitialized urandom read (4 bytes read)
[    5.226696] random: jshn: uninitialized urandom read (4 bytes read)
[    5.329456] random: jshn: uninitialized urandom read (4 bytes read)
[    5.731601] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.860469] eth0: link up (100Mbps/Full duplex)
[    7.865215] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.062257] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.069768] jffs2_build_filesystem(): unlocking the mtd device... 
[    9.069810] done.
[    9.078202] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   14.175868] done.
[   14.185675] jffs2: notice: (469) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   14.203508] mount_root: overlay filesystem has not been fully initialized yet
[   14.222000] mount_root: switching to jffs2 overlay
[   14.255659] overlayfs: upper fs does not support tmpfile.
[   14.663887] urandom-seed: Seed file not found (/etc/urandom.seed)
[   14.804514] eth0: link down
[   14.823603] procd: - early -
[   14.826727] procd: - watchdog -
[   15.467174] procd: - watchdog -
[   15.470892] procd: - ubus -
[   15.549247] urandom_read: 5 callbacks suppressed
[   15.549258] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.562149] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.570503] procd: - init -
[   16.355353] kmodloader: loading kernel modules from /etc/modules.d/*
[   16.405343] Loading modules backported from Linux version v5.2-rc7-0-g6fbc7275c7a9
[   16.413260] Backport generated by backports.git v5.2-rc7-1-0-g021a6ba1
[   16.485574] urngd: v1.0.0 started.
[   16.492506] xt_time: kernel timezone is -0000
[   16.670854] PPP generic driver version 2.4.2
[   16.688818] NET: Registered protocol family 24
[   16.834353] ath: EEPROM regdomain: 0x0
[   16.834366] ath: EEPROM indicates default country code should be used
[   16.834370] ath: doing EEPROM country->regdmn map search
[   16.834389] ath: country maps to regdmn code: 0x3a
[   16.834396] ath: Country alpha2 being used: US
[   16.834399] ath: Regpair used: 0x3a
[   16.850661] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.852776] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
[   16.961890] random: crng init done
[   16.966229] kmodloader: done loading kernel modules from /etc/modules.d/*
[   30.070413] br-lan: port 1(eth0) entered blocking state
[   30.075833] br-lan: port 1(eth0) entered disabled state
[   30.081752] device eth0 entered promiscuous mode
[   30.199352] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   31.574904] ath: EEPROM regdomain: 0x80fa
[   31.574917] ath: EEPROM indicates we should expect a country code
[   31.574922] ath: doing EEPROM country->regdmn map search
[   31.574926] ath: country maps to regdmn code: 0x37
[   31.574933] ath: Country alpha2 being used: FR
[   31.574936] ath: Regpair used: 0x37
[   31.574944] ath: regdomain 0x80fa dynamically updated by user
[   32.260507] eth0: link up (100Mbps/Full duplex)
[   32.265256] br-lan: port 1(eth0) entered blocking state
[   32.270724] br-lan: port 1(eth0) entered forwarding state
[   32.315205] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   34.155375] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   34.191661] br-lan: port 2(wlan0) entered blocking state
[   34.197164] br-lan: port 2(wlan0) entered disabled state
[   34.203216] device wlan0 entered promiscuous mode
[   42.249480] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   42.256323] br-lan: port 2(wlan0) entered blocking state
[   42.261909] br-lan: port 2(wlan0) entered forwarding state
[  238.578892] eth0: link down
[  238.582929] br-lan: port 1(eth0) entered disabled state
[  239.620402] eth0: link up (100Mbps/Full duplex)
[  239.625163] br-lan: port 1(eth0) entered blocking state
[  239.630635] br-lan: port 1(eth0) entered forwarding state
[28847.937185] eth0: link down
[28847.941160] br-lan: port 1(eth0) entered disabled state
[249034.645541] eth0: link up (100Mbps/Full duplex)
[249034.650393] br-lan: port 1(eth0) entered blocking state
[249034.655973] br-lan: port 1(eth0) entered forwarding state

IWINFO :

root@OpenWrt:~# iwinfo 
wlan0     ESSID: "OpenWrt"
          Access Point: D8:0D:17:47:1E:18
          Mode: Master  Channel: 6 (2.437 GHz)
          Tx-Power: 10 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wireless config :

root@OpenWrt:~# cat /etc/config/wireless 

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/ahb/18100000.wmac'
	option channel 'auto'
	option legacy_rates '1'
	option country 'FR'
	option hwmode '11g'
	option __toggle 'Enable'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'

And the .config options, which are set :slight_smile:

CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_generic=y
CONFIG_TARGET_ath79_generic_DEVICE_tplink_cpe210-v3=y
CONFIG_HAS_SUBTARGETS=y
CONFIG_HAS_DEVICES=y
CONFIG_TARGET_BOARD="ath79"
CONFIG_TARGET_SUBTARGET="generic"
CONFIG_TARGET_PROFILE="DEVICE_tplink_cpe210-v3"
CONFIG_TARGET_ARCH_PACKAGES="mips_24kc"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc"
CONFIG_CPU_TYPE="24kc"
CONFIG_LINUX_4_19=y
CONFIG_DEFAULT_base-files=y
CONFIG_DEFAULT_busybox=y
CONFIG_DEFAULT_dnsmasq=y
CONFIG_DEFAULT_dropbear=y
CONFIG_DEFAULT_firewall=y
CONFIG_DEFAULT_fstools=y
CONFIG_DEFAULT_ip6tables=y
CONFIG_DEFAULT_iptables=y
CONFIG_DEFAULT_iwinfo=y
CONFIG_DEFAULT_kmod-ath9k=y
CONFIG_DEFAULT_kmod-gpio-button-hotplug=y
CONFIG_DEFAULT_kmod-ipt-offload=y
CONFIG_DEFAULT_libc=y
CONFIG_DEFAULT_libgcc=y
CONFIG_DEFAULT_logd=y
CONFIG_DEFAULT_mtd=y
CONFIG_DEFAULT_netifd=y
CONFIG_DEFAULT_odhcp6c=y
CONFIG_DEFAULT_odhcpd-ipv6only=y
CONFIG_DEFAULT_opkg=y
CONFIG_DEFAULT_ppp=y
CONFIG_DEFAULT_ppp-mod-pppoe=y
CONFIG_DEFAULT_rssileds=y
CONFIG_DEFAULT_swconfig=y
CONFIG_DEFAULT_uboot-envtools=y
CONFIG_DEFAULT_uci=y
CONFIG_DEFAULT_uclient-fetch=y
CONFIG_DEFAULT_urandom-seed=y
CONFIG_DEFAULT_urngd=y
CONFIG_DEFAULT_wpad-basic=y
CONFIG_AUDIO_SUPPORT=y
CONFIG_GPIO_SUPPORT=y
CONFIG_PCI_SUPPORT=y
CONFIG_USB_SUPPORT=y
CONFIG_BIG_ENDIAN=y
CONFIG_USES_DEVICETREE=y
CONFIG_USES_INITRAMFS=y
CONFIG_USES_SQUASHFS=y
CONFIG_HAS_MIPS16=y
CONFIG_mips=y
CONFIG_ARCH="mips"
CONFIG_TARGET_ROOTFS_INITRAMFS=y
CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE=y
CONFIG_EXTERNAL_CPIO=""
CONFIG_TARGET_ROOTFS_SQUASHFS=y
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP=y
CONFIG_TARGET_UBIFS_JOURNAL_SIZE=""
CONFIG_SIGNED_PACKAGES=y
CONFIG_SHADOW_PASSWORDS=y
CONFIG_KERNEL_BUILD_USER=""
CONFIG_KERNEL_BUILD_DOMAIN=""
CONFIG_KERNEL_PRINTK=y
CONFIG_KERNEL_CRASHLOG=y
CONFIG_KERNEL_SWAP=y
CONFIG_KERNEL_DEBUG_FS=y
CONFIG_KERNEL_KALLSYMS=y
CONFIG_KERNEL_DEBUG_KERNEL=y
CONFIG_KERNEL_DEBUG_INFO=y
CONFIG_KERNEL_AIO=y
CONFIG_KERNEL_FHANDLE=y
CONFIG_KERNEL_FANOTIFY=y
CONFIG_KERNEL_MAGIC_SYSRQ=y
CONFIG_KERNEL_COREDUMP=y
CONFIG_KERNEL_ELF_CORE=y
CONFIG_KERNEL_PRINTK_TIME=y
CONFIG_KERNEL_CGROUPS=y
CONFIG_KERNEL_FREEZER=y
CONFIG_KERNEL_CGROUP_FREEZER=y
CONFIG_KERNEL_CGROUP_DEVICE=y
CONFIG_KERNEL_CGROUP_PIDS=y
CONFIG_KERNEL_CPUSETS=y
CONFIG_KERNEL_CGROUP_CPUACCT=y
CONFIG_KERNEL_RESOURCE_COUNTERS=y
CONFIG_KERNEL_MM_OWNER=y
CONFIG_KERNEL_MEMCG=y
CONFIG_KERNEL_MEMCG_KMEM=y
CONFIG_KERNEL_CGROUP_SCHED=y
CONFIG_KERNEL_FAIR_GROUP_SCHED=y
CONFIG_KERNEL_RT_GROUP_SCHED=y
CONFIG_KERNEL_BLK_CGROUP=y
CONFIG_KERNEL_NET_CLS_CGROUP=y
CONFIG_KERNEL_NETPRIO_CGROUP=y
CONFIG_KERNEL_NAMESPACES=y
CONFIG_KERNEL_UTS_NS=y
CONFIG_KERNEL_IPC_NS=y
CONFIG_KERNEL_USER_NS=y
CONFIG_KERNEL_PID_NS=y
CONFIG_KERNEL_NET_NS=y
CONFIG_KERNEL_LXC_MISC=y
CONFIG_KERNEL_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_KERNEL_POSIX_MQUEUE=y
CONFIG_KERNEL_SECCOMP_FILTER=y
CONFIG_KERNEL_SECCOMP=y
CONFIG_KERNEL_IP_MROUTE=y
CONFIG_KERNEL_IPV6=y
CONFIG_KERNEL_IPV6_MULTIPLE_TABLES=y
CONFIG_KERNEL_IPV6_SUBTREES=y
CONFIG_KERNEL_IPV6_MROUTE=y
CONFIG_KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE=y
CONFIG_IPV6=y
CONFIG_USE_SSTRIP=y
CONFIG_USE_UCLIBCXX=y
CONFIG_PKG_CHECK_FORMAT_SECURITY=y
CONFIG_PKG_CC_STACKPROTECTOR_REGULAR=y
CONFIG_KERNEL_CC_STACKPROTECTOR_REGULAR=y
CONFIG_KERNEL_STACKPROTECTOR=y
CONFIG_PKG_FORTIFY_SOURCE_1=y
CONFIG_PKG_RELRO_FULL=y
CONFIG_BINARY_FOLDER=""
CONFIG_DOWNLOAD_FOLDER=""
CONFIG_LOCALMIRROR=""
CONFIG_AUTOREBUILD=y
CONFIG_BUILD_SUFFIX=""
CONFIG_TARGET_ROOTFS_DIR=""
CONFIG_EXTERNAL_KERNEL_TREE=""
CONFIG_KERNEL_GIT_CLONE_URI=""
CONFIG_EXTRA_OPTIMIZATION="-fno-caller-saves -fno-plt"
CONFIG_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc"
CONFIG_SOFT_FLOAT=y
CONFIG_USE_MIPS16=y
CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS=""
CONFIG_EXTRA_GCC_CONFIG_OPTIONS=""
CONFIG_GDB=y
CONFIG_USE_MUSL=y
CONFIG_SSP_SUPPORT=y
CONFIG_BINUTILS_VERSION_2_31_1=y
CONFIG_BINUTILS_VERSION="2.31.1"
CONFIG_GCC_VERSION="7.4.0"
CONFIG_LIBC="musl"
CONFIG_TARGET_SUFFIX="musl"
CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y
CONFIG_TARGET_PREINIT_TIMEOUT=2
CONFIG_TARGET_PREINIT_IFNAME=""
CONFIG_TARGET_PREINIT_IP="192.168.1.1"
CONFIG_TARGET_PREINIT_NETMASK="255.255.255.0"
CONFIG_TARGET_PREINIT_BROADCAST="192.168.1.255"
CONFIG_TARGET_INIT_PATH="/usr/sbin:/usr/bin:/sbin:/bin"
CONFIG_TARGET_INIT_ENV=""
CONFIG_TARGET_INIT_CMD="/sbin/init"
CONFIG_TARGET_INIT_SUPPRESS_STDERR=y
CONFIG_PER_FEED_REPO=y
CONFIG_PACKAGE_base-files=y
CONFIG_PACKAGE_busybox=y
CONFIG_BUSYBOX_DEFAULT_HAVE_DOT_CONFIG=y
CONFIG_BUSYBOX_DEFAULT_INCLUDE_SUSv2=y
CONFIG_BUSYBOX_DEFAULT_LONG_OPTS=y
CONFIG_BUSYBOX_DEFAULT_SHOW_USAGE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VERBOSE_USAGE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_COMPRESS_USAGE=y
CONFIG_BUSYBOX_DEFAULT_LFS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_DEVPTS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_PIDFILE=y
CONFIG_BUSYBOX_DEFAULT_PID_FILE_PATH="/var/run"
CONFIG_BUSYBOX_DEFAULT_FEATURE_SUID=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_PREFER_APPLETS=y
CONFIG_BUSYBOX_DEFAULT_BUSYBOX_EXEC_PATH="/proc/self/exe"
CONFIG_BUSYBOX_DEFAULT_FEATURE_SYSLOG=y
CONFIG_BUSYBOX_DEFAULT_PLATFORM_LINUX=y
CONFIG_BUSYBOX_DEFAULT_CROSS_COMPILER_PREFIX=""
CONFIG_BUSYBOX_DEFAULT_SYSROOT=""
CONFIG_BUSYBOX_DEFAULT_EXTRA_CFLAGS=""
CONFIG_BUSYBOX_DEFAULT_EXTRA_LDFLAGS=""
CONFIG_BUSYBOX_DEFAULT_EXTRA_LDLIBS=""
CONFIG_BUSYBOX_DEFAULT_INSTALL_APPLET_SYMLINKS=y
CONFIG_BUSYBOX_DEFAULT_PREFIX="./_install"
CONFIG_BUSYBOX_DEFAULT_NO_DEBUG_LIB=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_BUFFERS_GO_ON_STACK=y
CONFIG_BUSYBOX_DEFAULT_PASSWORD_MINLEN=6
CONFIG_BUSYBOX_DEFAULT_MD5_SMALL=1
CONFIG_BUSYBOX_DEFAULT_SHA3_SMALL=1
CONFIG_BUSYBOX_DEFAULT_FEATURE_FAST_TOP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_EDITING=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_EDITING_MAX_LEN=512
CONFIG_BUSYBOX_DEFAULT_FEATURE_EDITING_HISTORY=256
CONFIG_BUSYBOX_DEFAULT_FEATURE_TAB_COMPLETION=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_EDITING_FANCY_PROMPT=y
CONFIG_BUSYBOX_DEFAULT_SUBST_WCHAR=0
CONFIG_BUSYBOX_DEFAULT_LAST_SUPPORTED_WCHAR=0
CONFIG_BUSYBOX_DEFAULT_FEATURE_NON_POSIX_CP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_USE_SENDFILE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_COPYBUF_KB=4
CONFIG_BUSYBOX_DEFAULT_IOCTL_HEX2STR_ERROR=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_SEAMLESS_GZ=y
CONFIG_BUSYBOX_DEFAULT_GUNZIP=y
CONFIG_BUSYBOX_DEFAULT_ZCAT=y
CONFIG_BUSYBOX_DEFAULT_BUNZIP2=y
CONFIG_BUSYBOX_DEFAULT_BZCAT=y
CONFIG_BUSYBOX_DEFAULT_BZIP2_SMALL=0
CONFIG_BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS=y
CONFIG_BUSYBOX_DEFAULT_GZIP=y
CONFIG_BUSYBOX_DEFAULT_GZIP_FAST=0
CONFIG_BUSYBOX_DEFAULT_FEATURE_GZIP_DECOMPRESS=y
CONFIG_BUSYBOX_DEFAULT_TAR=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TAR_CREATE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TAR_FROM=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TAR_GNU_EXTENSIONS=y
CONFIG_BUSYBOX_DEFAULT_BASENAME=y
CONFIG_BUSYBOX_DEFAULT_CAT=y
CONFIG_BUSYBOX_DEFAULT_CHGRP=y
CONFIG_BUSYBOX_DEFAULT_CHMOD=y
CONFIG_BUSYBOX_DEFAULT_CHOWN=y
CONFIG_BUSYBOX_DEFAULT_CHROOT=y
CONFIG_BUSYBOX_DEFAULT_CP=y
CONFIG_BUSYBOX_DEFAULT_CUT=y
CONFIG_BUSYBOX_DEFAULT_DATE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_DATE_ISOFMT=y
CONFIG_BUSYBOX_DEFAULT_DD=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_DD_SIGNAL_HANDLING=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_DD_IBS_OBS=y
CONFIG_BUSYBOX_DEFAULT_DF=y
CONFIG_BUSYBOX_DEFAULT_DIRNAME=y
CONFIG_BUSYBOX_DEFAULT_DU=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
CONFIG_BUSYBOX_DEFAULT_ECHO=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FANCY_ECHO=y
CONFIG_BUSYBOX_DEFAULT_ENV=y
CONFIG_BUSYBOX_DEFAULT_EXPR=y
CONFIG_BUSYBOX_DEFAULT_EXPR_MATH_SUPPORT_64=y
CONFIG_BUSYBOX_DEFAULT_FALSE=y
CONFIG_BUSYBOX_DEFAULT_HEAD=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FANCY_HEAD=y
CONFIG_BUSYBOX_DEFAULT_ID=y
CONFIG_BUSYBOX_DEFAULT_LN=y
CONFIG_BUSYBOX_DEFAULT_LS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_FILETYPES=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_FOLLOWLINKS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_RECURSIVE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_WIDTH=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_SORTFILES=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_TIMESTAMPS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_USERNAME=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_COLOR=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LS_COLOR_IS_DEFAULT=y
CONFIG_BUSYBOX_DEFAULT_MD5SUM=y
CONFIG_BUSYBOX_DEFAULT_SHA256SUM=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MD5_SHA1_SUM_CHECK=y
CONFIG_BUSYBOX_DEFAULT_MKDIR=y
CONFIG_BUSYBOX_DEFAULT_MKFIFO=y
CONFIG_BUSYBOX_DEFAULT_MKNOD=y
CONFIG_BUSYBOX_DEFAULT_MKTEMP=y
CONFIG_BUSYBOX_DEFAULT_MV=y
CONFIG_BUSYBOX_DEFAULT_NICE=y
CONFIG_BUSYBOX_DEFAULT_PRINTF=y
CONFIG_BUSYBOX_DEFAULT_PWD=y
CONFIG_BUSYBOX_DEFAULT_READLINK=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_READLINK_FOLLOW=y
CONFIG_BUSYBOX_DEFAULT_RM=y
CONFIG_BUSYBOX_DEFAULT_RMDIR=y
CONFIG_BUSYBOX_DEFAULT_SEQ=y
CONFIG_BUSYBOX_DEFAULT_SLEEP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FANCY_SLEEP=y
CONFIG_BUSYBOX_DEFAULT_SORT=y
CONFIG_BUSYBOX_DEFAULT_SYNC=y
CONFIG_BUSYBOX_DEFAULT_FSYNC=y
CONFIG_BUSYBOX_DEFAULT_TAIL=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FANCY_TAIL=y
CONFIG_BUSYBOX_DEFAULT_TEE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TEE_USE_BLOCK_IO=y
CONFIG_BUSYBOX_DEFAULT_TEST=y
CONFIG_BUSYBOX_DEFAULT_TEST1=y
CONFIG_BUSYBOX_DEFAULT_TEST2=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TEST_64=y
CONFIG_BUSYBOX_DEFAULT_TOUCH=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3=y
CONFIG_BUSYBOX_DEFAULT_TR=y
CONFIG_BUSYBOX_DEFAULT_TRUE=y
CONFIG_BUSYBOX_DEFAULT_UNAME=y
CONFIG_BUSYBOX_DEFAULT_UNAME_OSNAME="GNU/Linux"
CONFIG_BUSYBOX_DEFAULT_UNIQ=y
CONFIG_BUSYBOX_DEFAULT_WC=y
CONFIG_BUSYBOX_DEFAULT_YES=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_PRESERVE_HARDLINKS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_HUMAN_READABLE=y
CONFIG_BUSYBOX_DEFAULT_CLEAR=y
CONFIG_BUSYBOX_DEFAULT_DEFAULT_SETFONT_DIR=""
CONFIG_BUSYBOX_DEFAULT_RESET=y
CONFIG_BUSYBOX_DEFAULT_START_STOP_DAEMON=y
CONFIG_BUSYBOX_DEFAULT_WHICH=y
CONFIG_BUSYBOX_DEFAULT_AWK=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_AWK_LIBM=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_AWK_GNU_EXTENSIONS=y
CONFIG_BUSYBOX_DEFAULT_CMP=y
CONFIG_BUSYBOX_DEFAULT_SED=y
CONFIG_BUSYBOX_DEFAULT_VI=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_MAX_LEN=1024
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_COLON=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_YANKMARK=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_SEARCH=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_USE_SIGNALS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_DOT_CMD=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_READONLY=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_SETOPTS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_SET=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_WIN_RESIZE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_ASK_TERMINAL=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_VI_UNDO_QUEUE_MAX=0
CONFIG_BUSYBOX_DEFAULT_FEATURE_ALLOW_EXEC=y
CONFIG_BUSYBOX_DEFAULT_FIND=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_PRINT0=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_MTIME=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_PERM=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_TYPE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_XDEV=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_MAXDEPTH=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_NEWER=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_EXEC=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_USER=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_GROUP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_NOT=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_PAREN=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_SIZE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_PATH=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FIND_REGEX=y
CONFIG_BUSYBOX_DEFAULT_GREP=y
CONFIG_BUSYBOX_DEFAULT_EGREP=y
CONFIG_BUSYBOX_DEFAULT_FGREP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_GREP_CONTEXT=y
CONFIG_BUSYBOX_DEFAULT_XARGS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_QUOTES=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_TERMOPT=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
CONFIG_BUSYBOX_DEFAULT_HALT=y
CONFIG_BUSYBOX_DEFAULT_POWEROFF=y
CONFIG_BUSYBOX_DEFAULT_REBOOT=y
CONFIG_BUSYBOX_DEFAULT_TELINIT_PATH=""
CONFIG_BUSYBOX_DEFAULT_FEATURE_KILL_DELAY=0
CONFIG_BUSYBOX_DEFAULT_INIT_TERMINAL_TYPE=""
CONFIG_BUSYBOX_DEFAULT_FEATURE_SHADOWPASSWDS=y
CONFIG_BUSYBOX_DEFAULT_LAST_ID=0
CONFIG_BUSYBOX_DEFAULT_FIRST_SYSTEM_ID=0
CONFIG_BUSYBOX_DEFAULT_LAST_SYSTEM_ID=0
CONFIG_BUSYBOX_DEFAULT_FEATURE_DEFAULT_PASSWD_ALGO="md5"
CONFIG_BUSYBOX_DEFAULT_LOGIN=y
CONFIG_BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD=y
CONFIG_BUSYBOX_DEFAULT_PASSWD=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_PASSWD_WEAK_CHECK=y
CONFIG_BUSYBOX_DEFAULT_DEFAULT_MODULES_DIR=""
CONFIG_BUSYBOX_DEFAULT_DEFAULT_DEPMOD_FILE=""
CONFIG_BUSYBOX_DEFAULT_DMESG=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_DMESG_PRETTY=y
CONFIG_BUSYBOX_DEFAULT_FLOCK=y
CONFIG_BUSYBOX_DEFAULT_HEXDUMP=y
CONFIG_BUSYBOX_DEFAULT_HWCLOCK=y
CONFIG_BUSYBOX_DEFAULT_MKSWAP=y
CONFIG_BUSYBOX_DEFAULT_MOUNT=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_HELPERS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_CIFS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_FLAGS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_FSTAB=y
CONFIG_BUSYBOX_DEFAULT_PIVOT_ROOT=y
CONFIG_BUSYBOX_DEFAULT_SWAPON=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_SWAPON_DISCARD=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI=y
CONFIG_BUSYBOX_DEFAULT_SWAPOFF=y
CONFIG_BUSYBOX_DEFAULT_SWITCH_ROOT=y
CONFIG_BUSYBOX_DEFAULT_UMOUNT=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_UMOUNT_ALL=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_BEEP_FREQ=0
CONFIG_BUSYBOX_DEFAULT_FEATURE_BEEP_LENGTH_MS=0
CONFIG_BUSYBOX_DEFAULT_CROND=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_CROND_DIR="/etc"
CONFIG_BUSYBOX_DEFAULT_CRONTAB=y
CONFIG_BUSYBOX_DEFAULT_LESS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_LESS_MAXLINES=9999999
CONFIG_BUSYBOX_DEFAULT_LOCK=y
CONFIG_BUSYBOX_DEFAULT_STRINGS=y
CONFIG_BUSYBOX_DEFAULT_TIME=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IPV6=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_PREFER_IPV4_ADDRESS=y
CONFIG_BUSYBOX_DEFAULT_VERBOSE_RESOLUTION_ERRORS=y
CONFIG_BUSYBOX_DEFAULT_BRCTL=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_BRCTL_FANCY=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_BRCTL_SHOW=y
CONFIG_BUSYBOX_DEFAULT_IFCONFIG=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IFCONFIG_STATUS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IFCONFIG_HW=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IFCONFIG_BROADCAST_PLUS=y
CONFIG_BUSYBOX_DEFAULT_IFUPDOWN_IFSTATE_PATH=""
CONFIG_BUSYBOX_DEFAULT_IP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IP_ADDRESS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IP_LINK=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IP_ROUTE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IP_ROUTE_DIR="/etc/iproute2"
CONFIG_BUSYBOX_DEFAULT_FEATURE_IP_RULE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_IP_NEIGH=y
CONFIG_BUSYBOX_DEFAULT_NC=y
CONFIG_BUSYBOX_DEFAULT_NETMSG=y
CONFIG_BUSYBOX_DEFAULT_NETSTAT=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_NETSTAT_WIDE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_NETSTAT_PRG=y
CONFIG_BUSYBOX_DEFAULT_NSLOOKUP_OPENWRT=y
CONFIG_BUSYBOX_DEFAULT_NTPD=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_NTPD_SERVER=y
CONFIG_BUSYBOX_DEFAULT_PING=y
CONFIG_BUSYBOX_DEFAULT_PING6=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_FANCY_PING=y
CONFIG_BUSYBOX_DEFAULT_ROUTE=y
CONFIG_BUSYBOX_DEFAULT_TRACEROUTE=y
CONFIG_BUSYBOX_DEFAULT_TRACEROUTE6=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_VERBOSE=y
CONFIG_BUSYBOX_DEFAULT_DHCPD_LEASES_FILE=""
CONFIG_BUSYBOX_DEFAULT_UDHCPC=y
CONFIG_BUSYBOX_DEFAULT_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
CONFIG_BUSYBOX_DEFAULT_UDHCP_DEBUG=0
CONFIG_BUSYBOX_DEFAULT_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
CONFIG_BUSYBOX_DEFAULT_FEATURE_UDHCP_RFC3397=y
CONFIG_BUSYBOX_DEFAULT_IFUPDOWN_UDHCPC_CMD_OPTIONS=""
CONFIG_BUSYBOX_DEFAULT_FEATURE_MIME_CHARSET=""
CONFIG_BUSYBOX_DEFAULT_FREE=y
CONFIG_BUSYBOX_DEFAULT_KILL=y
CONFIG_BUSYBOX_DEFAULT_KILLALL=y
CONFIG_BUSYBOX_DEFAULT_PGREP=y
CONFIG_BUSYBOX_DEFAULT_PIDOF=y
CONFIG_BUSYBOX_DEFAULT_PS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_PS_WIDE=y
CONFIG_BUSYBOX_DEFAULT_BB_SYSCTL=y
CONFIG_BUSYBOX_DEFAULT_TOP=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
CONFIG_BUSYBOX_DEFAULT_UPTIME=y
CONFIG_BUSYBOX_DEFAULT_SV_DEFAULT_SERVICE_DIR=""
CONFIG_BUSYBOX_DEFAULT_SH_IS_ASH=y
CONFIG_BUSYBOX_DEFAULT_BASH_IS_NONE=y
CONFIG_BUSYBOX_DEFAULT_ASH=y
CONFIG_BUSYBOX_DEFAULT_ASH_INTERNAL_GLOB=y
CONFIG_BUSYBOX_DEFAULT_ASH_BASH_COMPAT=y
CONFIG_BUSYBOX_DEFAULT_ASH_JOB_CONTROL=y
CONFIG_BUSYBOX_DEFAULT_ASH_ALIAS=y
CONFIG_BUSYBOX_DEFAULT_ASH_EXPAND_PRMT=y
CONFIG_BUSYBOX_DEFAULT_ASH_ECHO=y
CONFIG_BUSYBOX_DEFAULT_ASH_PRINTF=y
CONFIG_BUSYBOX_DEFAULT_ASH_TEST=y
CONFIG_BUSYBOX_DEFAULT_ASH_GETOPTS=y
CONFIG_BUSYBOX_DEFAULT_ASH_CMDCMD=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_SH_MATH=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_SH_MATH_64=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_SH_NOFORK=y
CONFIG_BUSYBOX_DEFAULT_LOGGER=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0
CONFIG_BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0
CONFIG_PACKAGE_dnsmasq=y
CONFIG_PACKAGE_dropbear=y
CONFIG_DROPBEAR_CURVE25519=y
CONFIG_DROPBEAR_DBCLIENT=y
CONFIG_PACKAGE_firewall=y
CONFIG_PACKAGE_fstools=y
CONFIG_PACKAGE_fwtool=y
CONFIG_PACKAGE_getrandom=y
CONFIG_PACKAGE_jsonfilter=y
CONFIG_PACKAGE_libc=y
CONFIG_PACKAGE_libgcc=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_logd=y
CONFIG_PACKAGE_mtd=y
CONFIG_PACKAGE_netifd=y
CONFIG_PACKAGE_openwrt-keyring=y
CONFIG_PACKAGE_opkg=y
CONFIG_PACKAGE_procd=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_swconfig=y
CONFIG_PACKAGE_ubox=y
CONFIG_PACKAGE_ubus=y
CONFIG_PACKAGE_ubusd=y
CONFIG_PACKAGE_uci=y
CONFIG_PACKAGE_urandom-seed=y
CONFIG_PACKAGE_urngd=y
CONFIG_PACKAGE_usign=y
CONFIG_PACKAGE_wireless-regdb=y
CONFIG_PACKAGE_kmod-lib-crc-ccitt=y
CONFIG_PACKAGE_kmod-ip6tables=y
CONFIG_PACKAGE_kmod-ipt-conntrack=y
CONFIG_PACKAGE_kmod-ipt-core=y
CONFIG_PACKAGE_kmod-ipt-nat=y
CONFIG_PACKAGE_kmod-ipt-offload=y
CONFIG_PACKAGE_kmod-nf-conntrack=y
CONFIG_PACKAGE_kmod-nf-conntrack6=y
CONFIG_PACKAGE_kmod-nf-flow=y
CONFIG_PACKAGE_kmod-nf-ipt=y
CONFIG_PACKAGE_kmod-nf-ipt6=y
CONFIG_PACKAGE_kmod-nf-nat=y
CONFIG_PACKAGE_kmod-nf-reject=y
CONFIG_PACKAGE_kmod-nf-reject6=y
CONFIG_PACKAGE_kmod-ppp=y
CONFIG_PACKAGE_kmod-pppoe=y
CONFIG_PACKAGE_kmod-pppox=y
CONFIG_PACKAGE_kmod-slhc=y
CONFIG_PACKAGE_kmod-gpio-button-hotplug=y
CONFIG_PACKAGE_kmod-ath=y
CONFIG_ATH_USER_REGD=y
CONFIG_PACKAGE_ATH_DFS=y
CONFIG_PACKAGE_kmod-ath9k=y
CONFIG_ATH9K_UBNTHSR=y
CONFIG_PACKAGE_kmod-ath9k-common=y
CONFIG_PACKAGE_kmod-cfg80211=y
CONFIG_PACKAGE_kmod-mac80211=y
CONFIG_PACKAGE_MAC80211_DEBUGFS=y
CONFIG_PACKAGE_MAC80211_MESH=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_libip4tc=y
CONFIG_PACKAGE_libip6tc=y
CONFIG_PACKAGE_libxtables=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_TLS13=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_ENGINE=y
CONFIG_PACKAGE_libopenssl-conf=y
CONFIG_PACKAGE_libblobmsg-json=y
CONFIG_PACKAGE_libiwinfo=y
CONFIG_PACKAGE_libjson-c=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libnl-tiny=y
CONFIG_PACKAGE_libubox=y
CONFIG_PACKAGE_libubus=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_libuci=y
CONFIG_PACKAGE_libuclient=y
CONFIG_PACKAGE_libustream-openssl=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-ssl-openssl=y
CONFIG_PACKAGE_luci-base=y
CONFIG_LUCI_JSMIN=y
CONFIG_LUCI_CSSTIDY=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-opkg=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-lib-nixio_notls=y
CONFIG_PACKAGE_ip6tables=y
CONFIG_PACKAGE_iptables=y
CONFIG_OPENLDAP_DEBUG=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_hostapd-common=y
CONFIG_PACKAGE_iw=y
CONFIG_PACKAGE_odhcp6c=y
CONFIG_PACKAGE_odhcp6c_ext_cer_id=0
CONFIG_PACKAGE_odhcpd-ipv6only=y
CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0
CONFIG_PACKAGE_ppp=y
CONFIG_PACKAGE_ppp-mod-pppoe=y
CONFIG_PACKAGE_rssileds=y
CONFIG_PACKAGE_uclient-fetch=y
CONFIG_WPA_MSG_MIN_PRIORITY=3
CONFIG_DRIVER_11N_SUPPORT=y
CONFIG_DRIVER_11W_SUPPORT=y
CONFIG_PACKAGE_wpad-basic=y
CONFIG_PACKAGE_uboot-envtools=y
CONFIG_PACKAGE_iwinfo=y
CONFIG_PACKAGE_jshn=y
CONFIG_PACKAGE_libjson-script=y
CONFIG_PACKAGE_openssl-util=y
CONFIG_STRACE_NONE=y

@bluelineXY
I've noticed that on ath79 phy0 uses irq=12 and on ar71xx irq=47.
For eth0 ath79 and ar71xx both use irq=4.
Might the irq for phy0 be the error?

ath79

Wed Jul 17 22:07:00 2019 kern.notice kernel: [    0.000000] Linux version 4.19.57 (builder@buildhost) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10551-d616b2c906)) #0 Wed Jul 17 22:06:55 2019
...
Wed Jul 17 22:07:00 2019 kern.info kernel: [    1.242421] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
...
Wed Jul 17 22:07:00 2019 kern.info kernel: [   11.174419] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
...

ar71xx

Sun Jul 21 08:01:09 2019 kern.notice kernel: [    0.000000] Linux version 4.9.184 (buildbot@2ccc8102e0c3) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292) ) #0 Thu Jun 27 12:18:52 2019
...
Sun Jul 21 08:01:09 2019 kern.info kernel: [    1.339675] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
...
Sun Jul 21 08:01:09 2019 kern.info kernel: [    8.730020] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
...

BR
Sven

@bluelineXY Does your CPE210 V3 also show the Soc as Version 2?
SoC: Qualcomm Atheros QCA9533 ver 2 rev 0

Hi,

my V3 showing up with this

[    0.000000] Linux version 4.14.108 (anon@runner1) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9672-831715cd5b)) #0 Mon Apr 1 19:23:52 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-LINK CPE210 v3
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80519600, node_mem_map 81007260
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 58212K/65536K available (3776K kernel code, 151K rwdata, 912K rodata, 1232K init, 204K bss, 7324K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008270] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074881] pid_max: default: 32768 minimum: 301
[    0.079970] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.086946] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.098981] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.109436] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.115980] pinctrl core: initialized pinctrl subsystem
[    0.122735] NET: Registered protocol family 16
[    0.158262] clocksource: Switched to clocksource MIPS
[    0.164928] NET: Registered protocol family 2
[    0.170476] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.177848] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.184645] TCP: Hash tables configured (established 1024 bind 1024)
[    0.191569] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.197755] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.204754] NET: Registered protocol family 1
[    0.209436] PCI: CLS 0 bytes, default 32
[    0.213417] Crashlog allocated RAM at address 0x3f00000
[    0.220671] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.233221] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.239429] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.260921] io scheduler noop registered
[    0.265062] io scheduler deadline registered (default)
[    0.273029] pinctrl-single 1804002c.pinmux: 576 pins at pa b804002c size 72
[    0.281586] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.289222] console [ttyS0] disabled
[    0.293044] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 1562500) is a 16550A
[    0.302213] console [ttyS0] enabled
[    0.309777] bootconsole [early0] disabled
[    0.334460] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.339546] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.346104] Creating 6 MTD partitions on "spi0.0":
[    0.351087] 0x000000000000-0x000000020000 : "u-boot"
[    0.357239] 0x000000020000-0x000000030000 : "partition-table"
[    0.364195] 0x000000030000-0x000000040000 : "product-info"
[    0.370851] 0x000000040000-0x0000007c0000 : "firmware"
[    0.377502] 2 tplink-fw partitions found on MTD device firmware
[    0.383712] Creating 2 MTD partitions on "firmware":
[    0.388864] 0x000000000000-0x00000018a339 : "kernel"
[    0.394871] 0x000000190000-0x000000780000 : "rootfs"
[    0.400904] mtd: device 5 (rootfs) set to be root filesystem
[    0.406799] 1 squashfs-split partitions found on MTD device rootfs
[    0.413269] 0x000000380000-0x000000780000 : "rootfs_data"
[    0.419702] 0x0000007c0000-0x0000007f0000 : "config"
[    0.425675] 0x0000007f0000-0x000000800000 : "ART"
[    0.432912] libphy: Fixed MDIO Bus: probed
[    0.778719] libphy: ag71xx_mdio: probed
[    0.784179] libphy: ar8xxx-mdio: probed
[    0.797473] switch0: Atheros AR8229 rev. 1 switch registered on mdio-bus.0
[    1.190612] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.201199] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.210213] NET: Registered protocol family 10
[    1.220470] Segment Routing with IPv6
[    1.224367] NET: Registered protocol family 17
[    1.229125] 8021q: 802.1Q VLAN Support v1.8
[    1.240677] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.258572] Freeing unused kernel memory: 1232K
[    1.263260] This architecture does not have kernel memory protection.
[    1.922585] init: Console is alive
[    1.926399] init: - watchdog -
[    2.428278] random: fast init done
[    2.809133] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.922017] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.940367] init: - preinit -
[    3.896317] random: jshn: uninitialized urandom read (4 bytes read)
[    3.959975] random: jshn: uninitialized urandom read (4 bytes read)
[    4.049404] random: jshn: uninitialized urandom read (4 bytes read)
[    4.762063] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.821446] eth0: link up (100Mbps/Full duplex)
[    6.826188] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.072120] jffs2: notice: (428) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 1 orphan) and 1 of xref (1 dead, 0 orphan) found.
[    8.089792] mount_root: switching to jffs2 overlay
[    8.123820] overlayfs: upper fs does not support tmpfile.
[    8.135230] urandom-seed: Seeding with /etc/urandom.seed
[    8.313172] eth0: link down
[    8.330977] procd: - early -
[    8.334094] procd: - watchdog -
[    8.966033] procd: - watchdog -
[    8.969730] procd: - ubus -
[    9.025783] procd: - init -
[    9.460355] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.475445] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.492416] Loading modules backported from Linux version v4.19.23-0-g67d52fae61c1
[    9.500334] Backport generated by backports.git v4.19.23-1-0-g480a925a
[    9.511037] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.527576] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    9.609823] xt_time: kernel timezone is -0000
[    9.687080] PPP generic driver version 2.4.2
[    9.709630] NET: Registered protocol family 24
[    9.778210] ath: EEPROM regdomain: 0x0
[    9.778224] ath: EEPROM indicates default country code should be used
[    9.778227] ath: doing EEPROM country->regdmn map search
[    9.778339] ath: country maps to regdmn code: 0x3a
[    9.778346] ath: Country alpha2 being used: US
[    9.778349] ath: Regpair used: 0x3a
[    9.793438] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    9.795694] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=11
[    9.883015] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.102629] br-lan: port 1(eth0) entered blocking state
[   19.108046] br-lan: port 1(eth0) entered disabled state
[   19.113940] device eth0 entered promiscuous mode
[   19.160253] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   21.221575] eth0: link up (100Mbps/Full duplex)
[   21.226338] br-lan: port 1(eth0) entered blocking state
[   21.231801] br-lan: port 1(eth0) entered forwarding state
[   21.268374] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

root@OpenWrt:~# iw phy0 info
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x3 RX 0x3
	Configured Antennas: TX 0x3 RX 0x3
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-15
		Frequencies:
			* 2412 MHz [1] (25.0 dBm)
			* 2417 MHz [2] (25.0 dBm)
			* 2422 MHz [3] (25.0 dBm)
			* 2427 MHz [4] (25.0 dBm)
			* 2432 MHz [5] (25.0 dBm)
			* 2437 MHz [6] (25.0 dBm)
			* 2442 MHz [7] (25.0 dBm)
			* 2447 MHz [8] (25.0 dBm)
			* 2452 MHz [9] (25.0 dBm)
			* 2457 MHz [10] (25.0 dBm)
			* 2462 MHz [11] (25.0 dBm)
			* 2467 MHz [12] (disabled)
			* 2472 MHz [13] (disabled)
			* 2484 MHz [14] (disabled)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ RRM ]: RRM
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs

Your device is using IRQ 11 while ours are using IRQ 12

Additionally you are using Kernel Linux version 4.14.108 while we have Linux version 4.19.57
CPE210 v2

[ 16.688818] NET: Registered protocol family 24
[ 16.834353] ath: EEPROM regdomain: 0x0
[ 16.834366] ath: EEPROM indicates default country code should be used
[ 16.834370] ath: doing EEPROM country->regdmn map search
[ 16.834389] ath: country maps to regdmn code: 0x3a
[ 16.834396] ath: Country alpha2 being used: US
[ 16.834399] ath: Regpair used: 0x3a
[ 16.850661] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 16.852776] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12

Your Device
[ 9.709630] NET: Registered protocol family 24
[ 9.778210] ath: EEPROM regdomain: 0x0
[ 9.778224] ath: EEPROM indicates default country code should be used
[ 9.778227] ath: doing EEPROM country->regdmn map search
[ 9.778339] ath: country maps to regdmn code: 0x3a
[ 9.778346] ath: Country alpha2 being used: US
[ 9.778349] ath: Regpair used: 0x3a
[ 9.793438] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 9.795694] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=11

Hi,

here you go with 4.19

root@OpenWrt:~# dmesg 
[    0.000000] Linux version 4.19.57 (builder@buildhost) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10574-273b803623)) #0 Wed Jul 24 18:36:27 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-LINK CPE210 v3
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x98/0x4b0 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 57252K/65536K available (4500K kernel code, 180K rwdata, 1052K rodata, 1236K init, 214K bss, 8284K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008284] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074872] pid_max: default: 32768 minimum: 301
[    0.080032] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087012] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110613] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.117249] pinctrl core: initialized pinctrl subsystem
[    0.126247] NET: Registered protocol family 16
[    0.169380] clocksource: Switched to clocksource MIPS
[    0.176286] NET: Registered protocol family 2
[    0.182093] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.190328] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.197688] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.204431] TCP: Hash tables configured (established 1024 bind 1024)
[    0.211350] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.217532] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.224699] NET: Registered protocol family 1
[    0.229334] PCI: CLS 0 bytes, default 32
[    0.233557] Crashlog allocated RAM at address 0x3f00000
[    0.241190] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.256226] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.262463] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.292102] io scheduler noop registered
[    0.296245] io scheduler deadline registered (default)
[    0.304925] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.312355] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.322097] console [ttyS0] disabled
[    0.325912] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.335105] console [ttyS0] enabled
[    0.342673] bootconsole [early0] disabled
[    0.373432] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.378459] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.385063] Creating 6 MTD partitions on "spi0.0":
[    0.390043] 0x000000000000-0x000000020000 : "u-boot"
[    0.396309] 0x000000020000-0x000000030000 : "partition-table"
[    0.403314] 0x000000030000-0x000000040000 : "info"
[    0.409233] 0x000000040000-0x0000007c0000 : "firmware"
[    0.420021] 2 tplink-fw partitions found on MTD device firmware
[    0.426155] Creating 2 MTD partitions on "firmware":
[    0.431372] 0x000000000000-0x0000001cd13b : "kernel"
[    0.437586] 0x0000001cd13b-0x000000780000 : "rootfs"
[    0.443743] mtd: device 5 (rootfs) set to be root filesystem
[    0.451807] 1 squashfs-split partitions found on MTD device rootfs
[    0.458225] 0x0000003d0000-0x000000780000 : "rootfs_data"
[    0.464946] 0x0000007c0000-0x0000007f0000 : "config"
[    0.471170] 0x0000007f0000-0x000000800000 : "art"
[    0.478433] libphy: Fixed MDIO Bus: probed
[    0.819851] libphy: ag71xx_mdio: probed
[    0.825371] libphy: ar8xxx-mdio: probed
[    0.839024] switch0: Atheros AR8229 rev. 1 switch registered on mdio-bus.0
[    1.231717] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.242422] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.252129] NET: Registered protocol family 10
[    1.264674] Segment Routing with IPv6
[    1.268593] NET: Registered protocol family 17
[    1.273397] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.286818] 8021q: 802.1Q VLAN Support v1.8
[    1.293452] hctosys: unable to open rtc device (rtc0)
[    1.306954] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.324943] Freeing unused kernel memory: 1236K
[    1.329674] This architecture does not have kernel memory protection.
[    1.336325] Run /sbin/init as init process
[    2.260498] init: Console is alive
[    2.264353] init: - watchdog -
[    2.439392] random: fast init done
[    3.562350] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.739026] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.757254] init: - preinit -
[    4.978930] random: jshn: uninitialized urandom read (4 bytes read)
[    5.145651] random: jshn: uninitialized urandom read (4 bytes read)
[    5.248901] random: jshn: uninitialized urandom read (4 bytes read)
[    5.715549] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.782288] eth0: link up (100Mbps/Full duplex)
[    7.787031] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.012731] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.020253] jffs2_build_filesystem(): unlocking the mtd device... 
[    9.020293] done.
[    9.028653] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   21.473901] done.
[   21.483701] jffs2: notice: (499) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   21.501620] mount_root: overlay filesystem has not been fully initialized yet
[   21.517091] mount_root: switching to jffs2 overlay
[   21.551392] overlayfs: upper fs does not support tmpfile.
[   21.887161] urandom-seed: Seed file not found (/etc/urandom.seed)
[   22.068340] eth0: link down
[   22.087478] procd: - early -
[   22.090726] procd: - watchdog -
[   22.243922] procd: cannot set group dialout for /dev/ttyS11 (getgrnam: 0)
[   22.252303] procd: cannot set group dialout for /dev/ttyS8 (getgrnam: 0)
[   22.260853] procd: cannot set group dialout for /dev/ttyS6 (getgrnam: 0)
[   22.268885] procd: cannot set group dialout for /dev/ttyS4 (getgrnam: 0)
[   22.277061] procd: cannot set group dialout for /dev/ttyS2 (getgrnam: 0)
[   22.285225] procd: cannot set group dialout for /dev/ttyS14 (getgrnam: 0)
[   22.293624] procd: cannot set group dialout for /dev/ttyS0 (getgrnam: 0)
[   22.301795] procd: cannot set group dialout for /dev/ttyS12 (getgrnam: 0)
[   22.310058] procd: cannot set group dialout for /dev/ttyS9 (getgrnam: 0)
[   22.318141] procd: cannot set group dialout for /dev/ttyS10 (getgrnam: 0)
[   22.326401] procd: cannot set group dialout for /dev/ttyS7 (getgrnam: 0)
[   22.334561] procd: cannot set group dialout for /dev/ttyS5 (getgrnam: 0)
[   22.343533] procd: cannot set group dialout for /dev/ttyS3 (getgrnam: 0)
[   22.351690] procd: cannot set group dialout for /dev/ttyS15 (getgrnam: 0)
[   22.359929] procd: cannot set group dialout for /dev/ttyS1 (getgrnam: 0)
[   22.367973] procd: cannot set group dialout for /dev/ttyS13 (getgrnam: 0)
[   22.878871] procd: - watchdog -
[   22.882588] procd: - ubus -
[   22.914724] urandom_read: 5 callbacks suppressed
[   22.914734] random: ubusd: uninitialized urandom read (4 bytes read)
[   22.935834] random: ubusd: uninitialized urandom read (4 bytes read)
[   22.944370] procd: - init -
[   23.703465] kmodloader: loading kernel modules from /etc/modules.d/*
[   23.753615] Loading modules backported from Linux version v5.2-rc7-0-g6fbc7275c7a9
[   23.761538] Backport generated by backports.git v5.2-rc7-1-0-g021a6ba1
[   23.845907] xt_time: kernel timezone is -0000
[   23.902665] urngd: v1.0.0 started.
[   24.035356] PPP generic driver version 2.4.2
[   24.050828] NET: Registered protocol family 24
[   24.206275] ath: EEPROM regdomain: 0x0
[   24.206287] ath: EEPROM indicates default country code should be used
[   24.206291] ath: doing EEPROM country->regdmn map search
[   24.206309] ath: country maps to regdmn code: 0x3a
[   24.206316] ath: Country alpha2 being used: US
[   24.206319] ath: Regpair used: 0x3a
[   24.221719] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   24.223842] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
[   24.309948] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.343433] random: crng init done
[   34.904037] br-lan: port 1(eth0) entered blocking state
[   34.909566] br-lan: port 1(eth0) entered disabled state
[   34.915392] device eth0 entered promiscuous mode
[   34.947477] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   36.985235] eth0: link up (100Mbps/Full duplex)
[   37.023597] br-lan: port 1(eth0) entered blocking state
[   37.029011] br-lan: port 1(eth0) entered forwarding state
[   37.119582] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   38.621544] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   38.633417] br-lan: port 2(wlan0) entered blocking state
[   38.639005] br-lan: port 2(wlan0) entered disabled state
[   38.645153] device wlan0 entered promiscuous mode
[   39.188300] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   39.195309] br-lan: port 2(wlan0) entered blocking state
[   39.200874] br-lan: port 2(wlan0) entered forwarding state

Hi,

Just to try, I compiled the AR7xxx instead of AR79. And surprise, I got wifi....
For now, this is good enough for me, but I still have the device for a few days, so let me know if you want me to experiment something.

DMESG :

[    0.000000] Linux version 4.14.132 (shepheje@laptop) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10564-fc2df4f705)) #0 Fri Jul 26 21:50:21 2019
[    0.000000] MyLoader: sysp=8760e2d5, boardp=87358a9d, parts=1d2c1034
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80545ae0, node_mem_map 81000020
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x98/0x4a0 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line:  board=CPE210V3 mtdparts=spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 58940K/65536K available (3908K kernel code, 199K rwdata, 912K rodata, 284K init, 210K bss, 6596K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:650.000MHz, DDR:392.382MHz, AHB:216.666MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008264] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074883] pid_max: default: 32768 minimum: 301
[    0.080056] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087037] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.098072] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.108524] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.115714] NET: Registered protocol family 16
[    0.122303] MIPS: machine is TP-LINK CPE210 v3
[    0.383503] clocksource: Switched to clocksource MIPS
[    0.390284] NET: Registered protocol family 2
[    0.395879] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.403244] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.410029] TCP: Hash tables configured (established 1024 bind 1024)
[    0.416958] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.423151] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.430245] NET: Registered protocol family 1
[    0.434934] PCI: CLS 0 bytes, default 32
[    0.441779] Crashlog allocated RAM at address 0x3f00000
[    0.449340] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.463452] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.469677] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.496687] io scheduler noop registered
[    0.500826] io scheduler deadline registered (default)
[    0.506670] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.513906] console [ttyS0] disabled
[    0.537848] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.546961] console [ttyS0] enabled
[    0.554526] bootconsole [early0] disabled
[    0.568815] m25p80 spi0.0: found gd25q64, expected m25p80
[    0.577235] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[    0.582063] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.588243] Creating 6 MTD partitions on "spi0.0":
[    0.593211] 0x000000000000-0x000000020000 : "u-boot"
[    0.600758] 0x000000020000-0x000000030000 : "partition-table"
[    0.608648] 0x000000030000-0x000000040000 : "product-info"
[    0.617296] 0x000000040000-0x0000007c0000 : "firmware"
[    0.646504] 2 tplink-fw partitions found on MTD device firmware
[    0.652650] 0x000000040000-0x0000001d913a : "kernel"
[    0.658812] 0x0000001e0000-0x0000007c0000 : "rootfs"
[    0.664905] mtd: device 5 (rootfs) set to be root filesystem
[    0.670802] 1 squashfs-split partitions found on MTD device rootfs
[    0.677278] 0x000000440000-0x0000007c0000 : "rootfs_data"
[    0.686822] 0x0000007c0000-0x0000007f0000 : "config"
[    0.693913] 0x0000007f0000-0x000000800000 : "ART"
[    0.702951] libphy: Fixed MDIO Bus: probed
[    0.741521] libphy: ag71xx_mdio: probed
[    1.376555] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    1.386741] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.395251] NET: Registered protocol family 10
[    1.406313] Segment Routing with IPv6
[    1.410205] NET: Registered protocol family 17
[    1.415779] 8021q: 802.1Q VLAN Support v1.8
[    1.429186] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.438995] Freeing unused kernel memory: 284K
[    1.443633] This architecture does not have kernel memory protection.
[    2.192458] init: Console is alive
[    2.196426] init: - watchdog -
[    2.503513] random: fast init done
[    3.178238] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.233207] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.251383] init: - preinit -
[    3.928299] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.017123] eth0: link up (100Mbps/Full duplex)
[    6.021864] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.284477] jffs2: notice: (399) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and 5 of xref (2 dead, 0 orphan) found.
[    7.302204] mount_root: switching to jffs2 overlay
[    7.337787] overlayfs: upper fs does not support tmpfile.
[    7.349667] urandom-seed: Seeding with /etc/urandom.seed
[    7.533226] eth0: link down
[    7.552262] procd: - early -
[    7.555514] procd: - watchdog -
[    8.195140] procd: - watchdog -
[    8.198789] procd: - ubus -
[    8.319819] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.328798] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.336056] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.343964] procd: - init -
[    9.154656] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.224243] urngd: v1.0.0 started.
[    9.271389] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.305006] Loading modules backported from Linux version v5.2-rc7-0-g6fbc7275c7a9
[    9.312840] Backport generated by backports.git v5.2-rc7-1-0-g021a6ba1
[    9.346683] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.372034] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    9.524694] xt_time: kernel timezone is -0000
[    9.590400] random: crng init done
[    9.594015] random: 7 urandom warning(s) missed due to ratelimiting
[    9.650111] PPP generic driver version 2.4.2
[    9.658023] NET: Registered protocol family 24
[    9.719093] ath: EEPROM regdomain: 0x0
[    9.719106] ath: EEPROM indicates default country code should be used
[    9.719109] ath: doing EEPROM country->regdmn map search
[    9.719128] ath: country maps to regdmn code: 0x3a
[    9.719135] ath: Country alpha2 being used: US
[    9.719138] ath: Regpair used: 0x3a
[    9.734380] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    9.736625] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[    9.826907] kmodloader: done loading kernel modules from /etc/modules.d/*
[   21.564043] br-lan: port 1(eth0) entered blocking state
[   21.569484] br-lan: port 1(eth0) entered disabled state
[   21.575349] device eth0 entered promiscuous mode
[   21.620274] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   23.617234] eth0: link up (100Mbps/Full duplex)
[   23.622003] br-lan: port 1(eth0) entered blocking state
[   23.627479] br-lan: port 1(eth0) entered forwarding state
[   23.753708] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.281510] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   26.905314] wlan0: authenticate with b0:4e:26:35:6f:22
[   26.924718] wlan0: send auth to b0:4e:26:35:6f:22 (try 1/3)
[   26.932377] wlan0: authenticated
[   26.943623] wlan0: associate with b0:4e:26:35:6f:22 (try 1/3)
[   26.983103] wlan0: RX AssocResp from b0:4e:26:35:6f:22 (capab=0xc11 status=0 aid=3)
[   26.991429] wlan0: associated
[   27.105135] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

IWINFO still shows some unknown, but less

root@OpenWrt:~# iwinfo
wlan0     ESSID: "xxx-link"
          Access Point: D8:0D:17:47:1E:18
          Mode: Client  Channel: 10 (2.457 GHz)
          Tx-Power: 25 dBm  Link Quality: 54/70
          Signal: -56 dBm  Noise: -95 dBm
          Bit Rate: 78.0 MBit/s
          Encryption: WPA2 PSK (TKIP, CCMP)
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

Hi,

same here. I tested also the ar7xxx Image which is working on my CPE210v2 which i got now for debugging.
Regarding the iwinfo the unknowns are okay - they go partial away if you connect to the device via wifi.

But as long you get data out of iw wlan0 scan looks fine.

Even if i check on ath79 iw wlan0 info - there are not all informations.

I will compare the kernel patches - maybe there is something missing.
As the V3 with the same ChipSet is working :confused:

BR,

Mario

Yes WIFI has always worked on the CPE210 v2 on the ar71xx branch
It also works on my CPE220 v3 on the ar71xx branch but NOT the ath79
branch

.

The kernel patches and other patches are very different for the ath79 branch and so that is also where
I suspect the issue may be.

Hi,

that CPE210v3 on ath79 is not working for you is strange.
Mine is working fine even patching for and back with the ar and ath79 image.
But i have the first finding:

GPIO Config on the ar71xx

gpiochip0: GPIOs 0-31, parent: platform/ath79-gpio, ath79-gpio:
 gpio-11  (                    |tp-link:green:lan0  ) out hi    
 gpio-13  (                    |tp-link:green:link1 ) out hi    
 gpio-14  (                    |tp-link:green:link2 ) out hi    
 gpio-15  (                    |tp-link:green:link3 ) out hi    
 gpio-16  (                    |tp-link:green:link4 ) out hi    
 gpio-17  (                    |Reset button        ) in  hi    

gpiochip1: GPIOs 494-511, ath9k-phy0:
 gpio-495 (                    |ath9k-phy0          ) in  lo 

On the ath79

 gpio-11  (                    |tp-link:green:lan   ) out lo    
 gpio-13  (                    |tp-link:green:link1 ) out hi    
 gpio-14  (                    |tp-link:green:link2 ) out hi    
 gpio-15  (                    |tp-link:green:link3 ) out hi    
 gpio-16  (                    |tp-link:green:link4 ) out hi    
 gpio-17  (                    |Reset button        ) in  hi 

In the ath79 the gpio is missing. So guess thats a first step to fix.

BR,
Mario

2 Likes

Hi,

I have the same problem with a cpe210v3

target ar71xx wifi works
target ath79 doesn*t work

How can I help? Fixing this Problem?

Thanks

Do not save configuration when you switch from ar71xx to ath79. In particular the /etc/config/wireless file needs to get rebuilt with a different hardware path.

2 Likes

Thanks, good hint. I switched several times. Also restoring the settings.
That's not the issue