[FS#697] LEDE tl-wdr3320-v2 No 2.4GHz

LEDE Bugs lede-bugs at lists.infradead.org
Mon Apr 10 08:00:38 PDT 2017


The following task has a new comment added:

FS#697 - LEDE tl-wdr3320-v2 No 2.4GHz
User who did this - 向俊霖 (kos)

----------
openwrt-chaos_calmer
/ # dmesg 
[    0.000000] Linux version 3.18.36 (root at kos) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49363) ) #9 Tue Aug 9 14:34:23 CST 2016
[    0.000000] MyLoader: sysp=ffefffff, boardp=ffffffff, parts=ffffffff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80359cf0, node_mem_map 81000000
[    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] 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=TL-WDR3320-v2 console=ttyS0,115200 rootfstype=squashfs,jffs2 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: 60880K/65536K available (2484K kernel code, 126K rwdata, 528K rodata, 244K init, 252K bss, 4656K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[    0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] NET: Registered protocol family 16
[    0.090000] MIPS: machine is TP-LINK TL-WDR3320 v2
[    0.100000] registering PCI controller with io_map_base unset
[    0.540000] PCI host bridge to bus 0000:00
[    0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.550000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.560000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.560000] pci 0000:00:00.0: [168c:002e] type 00 class 0x028000
[    0.560000] pci 0000:00:00.0: fixup device configuration
[    0.570000] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1000ffff 64bit]
[    0.570000] pci 0000:00:00.0: supports D1
[    0.570000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.570000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.580000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.580000] Switched to clocksource MIPS
[    0.590000] NET: Registered protocol family 2
[    0.590000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.590000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.600000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.610000] TCP: reno registered
[    0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] NET: Registered protocol family 1
[    0.630000] PCI: CLS 0 bytes, default 32
[    0.630000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.660000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.670000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.680000] msgmni has been set to 118
[    0.680000] io scheduler noop registered
[    0.690000] io scheduler deadline registered (default)
[    0.690000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.700000] console [ttyS0] disabled
[    0.730000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.730000] console [ttyS0] enabled
[    0.740000] bootconsole [early0] disabled
[    0.750000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.760000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.760000] 5 tp-link partitions found on MTD device spi0.0
[    0.770000] Creating 5 MTD partitions on "spi0.0":
[    0.770000] 0x000000000000-0x000000020000 : "u-boot"
[    0.780000] 0x000000020000-0x000000136560 : "kernel"
[    0.790000] 0x000000136560-0x000000ff0000 : "rootfs"
[    0.790000] mtd: device 2 (rootfs) set to be root filesystem
[    0.800000] 1 squashfs-split partitions found on MTD device rootfs
[    0.800000] 0x000000560000-0x000000ff0000 : "rootfs_data"
[    0.810000] 0x000000ff0000-0x000001000000 : "art"
[    0.820000] 0x000000020000-0x000000ff0000 : "firmware"
[    0.840000] libphy: ag71xx_mdio: probed
[    1.430000] ag71xx-mdio.1: Found an AR934X built-in switch
[    1.470000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.070000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    2.080000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.080000] TCP: cubic registered
[    2.090000] NET: Registered protocol family 17
[    2.090000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.110000] 8021q: 802.1Q VLAN Support v1.8
[    2.120000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.130000] Freeing unused kernel memory: 244K (80373000 - 803b0000)
[    3.710000] init: Console is alive
[    3.710000] init: - watchdog -
[    5.730000] init: - preinit -
[    6.450000] random: procd urandom read with 10 bits of entropy available
[    9.530000] eth0: link up (1000Mbps/Full duplex)
[    9.600000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    9.630000] eth0: link down
[    9.640000] procd: - early -
[    9.650000] procd: - watchdog -
[   10.300000] procd: - ubus -
[   11.310000] procd: - init -
[   12.410000] u32 classifier
[   12.410000]     input device check on
[   12.420000]     Actions configured
[   12.420000] Mirror/redirect action on
[   12.460000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   12.470000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   12.480000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.510000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
[   12.630000] xt_time: kernel timezone is -0000
[   12.960000] PPP generic driver version 2.4.2
[   12.970000] NET: Registered protocol family 24
[   13.110000] ath: phy0: eeprom contains invalid mac address: 01:02:03:04:05:06
[   13.120000] ath: phy0: random mac address will be used: 2e:f3:5e:ac:46:c5
[   13.120000] ath: EEPROM regdomain: 0x0
[   13.120000] ath: EEPROM indicates default country code should be used
[   13.120000] ath: doing EEPROM country->regdmn map search
[   13.120000] ath: country maps to regdmn code: 0x3a
[   13.120000] ath: Country alpha2 being used: US
[   13.120000] ath: Regpair used: 0x3a
[   13.140000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.140000] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   13.150000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   13.160000] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[   13.170000] ath: EEPROM regdomain: 0x0
[   13.170000] ath: EEPROM indicates default country code should be used
[   13.170000] ath: doing EEPROM country->regdmn map search
[   13.170000] ath: country maps to regdmn code: 0x3a
[   13.170000] ath: Country alpha2 being used: US
[   13.170000] ath: Regpair used: 0x3a
[   13.180000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   13.180000] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xb0000000, irq=40
[   22.360000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   22.370000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   22.380000] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   24.330000] device eth0 entered promiscuous mode
[   27.560000] eth0: link up (1000Mbps/Full duplex)
[   27.560000] br-lan: port 1(eth0) entered forwarding state
[   27.570000] br-lan: port 1(eth0) entered forwarding state
[   27.720000] device wlan1 entered promiscuous mode
[   27.720000] br-lan: port 2(wlan1) entered forwarding state
[   27.730000] br-lan: port 2(wlan1) entered forwarding state
[   27.900000] device wlan0 entered promiscuous mode
[   27.900000] br-lan: port 3(wlan0) entered forwarding state
[   27.910000] br-lan: port 3(wlan0) entered forwarding state
[   29.570000] br-lan: port 1(eth0) entered forwarding state
[   29.730000] br-lan: port 2(wlan1) entered forwarding state
[   29.910000] br-lan: port 3(wlan0) entered forwarding state
[   46.760000] random: nonblocking pool is initialized
[   75.290000] done.
[   75.290000] jffs2: notice: (1247) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
/ # 

/ # cat /etc/config/wireless 
config wifi-device  radio0
        option type     mac80211
        option channel  149
        option hwmode   11a
        option path     'platform/ar934x_wmac'
        option htmode   HT40
        # REMOVE THIS LINE TO ENABLE WIFI:
        option noscan 1
        option country NZ
        option txpower 30

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option wpa_group_rekey '0'
        option wpa_pair_rekey '0'
        option wpa_master_rekey '0'
        option ssid     UOSBOX_9B9154
        option encryption none

config wifi-device  radio1
        option type     mac80211
        option channel  11
        option hwmode   11n
        option path     'pci0000:00/0000:00:00.0'
        option htmode   HT40
        # REMOVE THIS LINE TO ENABLE WIFI:
        option noscan 1
        option country NZ
        option txpower 30

config wifi-iface
        option device   radio1
        option network  lan
        option mode     ap
        option wpa_group_rekey '0'
        option wpa_pair_rekey '0'
        option wpa_master_rekey '0'
        option ssid     UOSBOX_9B9155
        option encryption none

/ # 

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=697#comment2376



More information about the lede-bugs mailing list