> I've just added few more commits, so the Git history should looks like this: > > fb4f264 fixup! WIP: ath79: Add support for Ubiquiti Nanostation M (XW) > 12a0c28 fixup! WIP: ath79: Add support for Ubiquiti Nanostation M (XW) > 1c2f603 fixup! ath79: Add support for Ubiquity Bullet M (XW) > 68117cf ath79: gmac: ar934x: Add parser for mii-gmac0-slave > 327012a ar71xx: ubnt-(xm,xw): add rssileds package > 894e210 ar71xx: ubnt-(xm,xw): create RSSI monitor on wlan0 > f6a7c2c ath79: ubnt-xw: Add rssileds kernel package > d7889e4 WIP: ath79: Add support for Ubiquiti Nanostation M (XW) > b246a16 ath79: ubnt-m-xw: Fix factory image flashing using TFTP recovery > method > 362c66c ath79: Add support for Ubiquity Bullet M (XW) > 48d8d46 wireguard: bump to 0.0.20181119 > > Can you please kindly test it on your Nanostation M5 XW? Thanks! >
Nanostation M5 XW test results: 1) Physical ports not functional. frames are TX out, but RX not received back. Switch configured out-of-box OK. 2) wlan0 is functional and works correctly. However, default for wifi-device is option disabled = '1', so not live on firstboot. br-lan Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link inet6 addr: fdef:fc9:40cc::1/60 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:152 errors:0 dropped:0 overruns:0 frame:0 TX packets:126 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11678 (11.4 KiB) TX bytes:21356 (20.8 KiB) eth0.1 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:3222 (3.1 KiB) eth0.2 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:365 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:119894 (117.0 KiB) wlan0 Link encap:Ethernet HWaddr 04:18:D6:A6:70:B5 inet6 addr: fe80::618:d6ff:fea6:70b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:151 errors:0 dropped:0 overruns:0 frame:0 TX packets:137 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13786 (13.4 KiB) TX bytes:24044 (23.4 KiB) [ 0.000000] Linux version 4.14.81 (aredn@59be1430a33c) (gcc version 7.3.0 (Op enWrt GCC 7.3.0 r8480-fb4f264)) #0 Mon Nov 19 23:28:24 2018 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc) [ 0.000000] MIPS: machine is Ubiquiti Nano-M (XW) [ 0.000000] SoC: Atheros AR9342 rev 2 [ 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 805094a0, node_mem_map 8100760 0 [ 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,115200 rootfstype=squashfs,jff s2 [ 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: 58276K/65536K available (3728K kernel code, 148K rwdata, 900K rodata, 1232K init, 204K bss, 7260K 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: 535.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i dle_ns: 7144898866 ns [ 0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 80279 76190ns [ 0.008326] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248) [ 0.094952] pid_max: default: 32768 minimum: 301 [ 0.100095] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.107154] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.119431] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns [ 0.129944] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.136546] pinctrl core: initialized pinctrl subsystem [ 0.143274] NET: Registered protocol family 16 [ 0.175979] clocksource: Switched to clocksource MIPS [ 0.182628] NET: Registered protocol family 2 [ 0.188167] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.195602] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.202438] TCP: Hash tables configured (established 1024 bind 1024) [ 0.209379] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.215616] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.222654] NET: Registered protocol family 1 [ 0.227376] PCI: CLS 0 bytes, default 32 [ 0.232492] Crashlog allocated RAM at address 0x3f00000 [ 0.239697] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.252292] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.258558] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc. [ 0.279869] io scheduler noop registered [ 0.284047] io scheduler deadline registered (default) [ 0.292111] pinctrl-single 1804002c.pinmux: 544 pins at pa b804002c size 68 [ 0.300681] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.308362] console [ttyS0] disabled [ 0.312216] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 250 0000) is a 16550A [ 0.321461] console [ttyS0] enabled [ 0.328883] bootconsole [early0] disabled [ 0.348691] m25p80 spi0.0: mx25l6405d (8192 Kbytes) [ 0.353710] 5 fixed-partitions partitions found on MTD device spi0.0 [ 0.360208] Creating 5 MTD partitions on "spi0.0": [ 0.365078] 0x000000000000-0x000000040000 : "u-boot" [ 0.371154] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.377533] 0x000000050000-0x0000007b0000 : "firmware" [ 0.395387] 2 uimage-fw partitions found on MTD device firmware [ 0.401457] 0x000000050000-0x0000001e0000 : "kernel" [ 0.407391] 0x0000001e0000-0x0000007b0000 : "rootfs" [ 0.413266] mtd: device 4 (rootfs) set to be root filesystem [ 0.419106] 1 squashfs-split partitions found on MTD device rootfs [ 0.425386] 0x0000003e0000-0x0000007b0000 : "rootfs_data" [ 0.431779] 0x0000007b0000-0x0000007f0000 : "cfg" [ 0.437503] 0x0000007f0000-0x000000800000 : "EEPROM" [ 0.444718] libphy: Fixed MDIO Bus: probed [ 0.786402] libphy: ag71xx_mdio: probed [ 0.793193] switch0: Atheros AR8236 rev. 1 switch registered on mdio-bus.0 [ 1.137115] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:04 [uid=004dd 043, driver=Atheros AR8216/AR8236/AR8316] [ 1.148755] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 1.157454] NET: Registered protocol family 10 [ 1.167066] Segment Routing with IPv6 [ 1.170900] NET: Registered protocol family 17 [ 1.175456] 8021q: 802.1Q VLAN Support v1.8 [ 1.186162] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.201360] Freeing unused kernel memory: 1232K [ 1.205986] This architecture does not have kernel memory protection. [ 1.875083] init: Console is alive [ 1.878894] init: - watchdog - [ 2.435983] random: fast init done [ 2.856676] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 2.994398] usbcore: registered new interface driver usbfs [ 3.000130] usbcore: registered new interface driver hub [ 3.005632] usbcore: registered new device driver usb [ 3.018258] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.027022] ehci-platform: EHCI generic platform driver [ 3.033286] kmodloader: done loading kernel modules from /etc/modules-boot.d/ * [ 3.051197] init: - preinit - [ 4.078418] random: jshn: uninitialized urandom read (4 bytes read) [ 4.258341] random: jshn: uninitialized urandom read (4 bytes read) [ 4.508603] random: jshn: uninitialized urandom read (4 bytes read) [ 5.384321] urandom_read: 4 callbacks suppressed [ 5.384331] random: procd: uninitialized urandom read (4 bytes read) [ 5.402940] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5.409028] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready [ 7.457375] eth0: link up (100Mbps/Full duplex) [ 7.462013] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.468824] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 8.716378] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 8.753955] urandom-seed: Seed file not found (/etc/urandom.seed) [ 8.895203] procd: - early - [ 8.899393] procd: - watchdog - [ 9.536001] eth0: link down [ 9.540307] procd: - watchdog - [ 9.543825] procd: - ubus - [ 9.581232] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.597920] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.606277] procd: - init - [ 10.076749] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.089040] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.108051] Loading modules backported from Linux version v4.19-rc5-0-g6bf4ca 7fbc85 [ 10.115826] Backport generated by backports.git v4.19-rc5-1-0-g05571dcd [ 10.126266] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.142217] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 10.221617] xt_time: kernel timezone is -0000 [ 10.300010] PPP generic driver version 2.4.2 [ 10.307395] NET: Registered protocol family 24 [ 10.363132] ath: EEPROM regdomain: 0x2a [ 10.363142] ath: EEPROM indicates we should expect a direct regpair map [ 10.363163] ath: Country alpha2 being used: US [ 10.363168] ath: Regpair used: 0x2a [ 10.378958] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 10.381105] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=11 [ 10.422741] kmodloader: done loading kernel modules from /etc/modules.d/* [ 20.236564] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 20.243567] jffs2_build_filesystem(): unlocking the mtd device... [ 20.243573] done. [ 20.251859] jffs2_build_filesystem(): erasing all blocks after the end marker ... [ 26.242591] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 26.257597] eth0: link up (100Mbps/Full duplex) [ 26.262217] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 26.340773] br-lan: port 1(eth0.1) entered blocking state [ 26.346335] br-lan: port 1(eth0.1) entered disabled state [ 26.352188] device eth0.1 entered promiscuous mode [ 26.357110] device eth0 entered promiscuous mode [ 26.436135] br-lan: port 1(eth0.1) entered blocking state [ 26.441628] br-lan: port 1(eth0.1) entered forwarding state [ 26.447535] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 27.296297] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 48.676217] done. [ 48.678226] jffs2: notice: (990) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 49.026973] overlayfs: upper fs does not support tmpfile. [ 86.463506] br-lan: port 1(eth0.1) entered disabled state [ 86.588528] device eth0.1 left promiscuous mode [ 86.593144] device eth0 left promiscuous mode [ 86.597811] br-lan: port 1(eth0.1) entered disabled state [ 86.615933] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready [ 87.696152] eth0: link down [ 91.889971] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 91.897359] eth0: link up (100Mbps/Full duplex) [ 91.901982] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 91.929642] br-lan: port 1(eth0.1) entered blocking state [ 91.935133] br-lan: port 1(eth0.1) entered disabled state [ 91.941215] device eth0.1 entered promiscuous mode [ 91.946127] device eth0 entered promiscuous mode [ 91.965818] br-lan: port 1(eth0.1) entered blocking state [ 91.971374] br-lan: port 1(eth0.1) entered forwarding state [ 91.977397] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 92.896392] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 95.503349] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 95.534276] br-lan: port 2(wlan0) entered blocking state [ 95.539768] br-lan: port 2(wlan0) entered disabled state [ 95.545547] device wlan0 entered promiscuous mode [ 95.598546] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 95.605229] br-lan: port 2(wlan0) entered blocking state [ 95.610697] br-lan: port 2(wlan0) entered forwarding state [ 103.846973] random: crng init done _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel