|
本帖最后由 小茅 于 2016-2-22 14:40 编辑
楼主打算搞一个双网卡的路由器,可以解决OP中继之后如果没有连接上上级路由,信号会丢失的问题。个人觉得常见的8187,3070等网卡体积比较大,不方便携带,就像能不能挂个随身wifi之类的,结果一搜索还真有,在trunk版本里面已经有MT7601U的驱动了。于是楼主就编译了一个固件出来,直接开机有无线信号,也可以正常连接,插入一个小度wifi之后无线信号消失,无线接口也无法打开,拔出小度wifi再执行复位,无线又恢复正常,难道是驱动冲突?编译好的固件发上来供大家测试
链接:http://pan.baidu.com/s/1c1brYbm 密码:jefv
系统信息
- [ 0.000000] Linux version 4.1.16 (root@ubuntu-virtual-machine) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r48747) ) #1 Mon Feb 22 05:26:10 UTC 2016
- [ 0.000000] MyLoader: sysp=fff6ffff, boardp=ffffffff, parts=ffffffff
- [ 0.000000] bootconsole [early0] enabled
- [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
- [ 0.000000] SoC: Atheros AR9330 rev 1
- [ 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 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 8038b1a0, 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-WR720N-v3 console=ttyATH0,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=00024200
- [ 0.000000] Readback ErrCtl register=00024200
- [ 0.000000] Memory: 60752K/65536K available (2558K kernel code, 135K rwdata, 652K rodata, 228K init, 188K bss, 4784K reserved, 0K cma-reserved)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] NR_IRQS:83
- [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
- [ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
- [ 0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
- [ 0.007854] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
- [ 0.089113] pid_max: default: 32768 minimum: 301
- [ 0.093898] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.100330] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.111191] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.120560] NET: Registered protocol family 16
- [ 0.125735] MIPS: machine is TP-LINK TL-WR720N v3/v4
- [ 0.614207] Switched to clocksource MIPS
- [ 0.618499] NET: Registered protocol family 2
- [ 0.622834] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.628424] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.634747] TCP: Hash tables configured (established 1024 bind 1024)
- [ 0.641180] UDP hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.646912] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.653495] NET: Registered protocol family 1
- [ 0.657588] PCI: CLS 0 bytes, default 32
- [ 0.658961] futex hash table entries: 256 (order: -1, 3072 bytes)
- [ 0.685606] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 0.690005] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 0.703640] io scheduler noop registered
- [ 0.706191] io scheduler deadline registered (default)
- [ 0.711503] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
- [ 0.718275] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
- [ 0.727171] console [ttyATH0] enabled
- [ 0.733967] bootconsole [early0] disabled
- [ 0.745189] m25p80 spi0.0: found mx25l6405d, expected m25p80
- [ 0.749418] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
- [ 0.755533] 5 tp-link partitions found on MTD device spi0.0
- [ 0.759813] Creating 5 MTD partitions on "spi0.0":
- [ 0.764653] 0x000000000000-0x000000020000 : "u-boot"
- [ 0.770832] 0x000000020000-0x00000013bb88 : "kernel"
- [ 0.775729] 0x00000013bb88-0x0000007f0000 : "rootfs"
- [ 0.780567] mtd: device 2 (rootfs) set to be root filesystem
- [ 0.785183] 1 squashfs-split partitions found on MTD device rootfs
- [ 0.791259] 0x000000370000-0x0000007f0000 : "rootfs_data"
- [ 0.797835] 0x0000007f0000-0x000000800000 : "art"
- [ 0.802407] 0x000000020000-0x0000007f0000 : "firmware"
- [ 0.826386] libphy: ag71xx_mdio: probed
- [ 1.415912] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
- [ 1.424633] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
- [ 2.015690] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
- [ 2.047745] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
- [ 2.053802] NET: Registered protocol family 17
- [ 2.057016] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
- [ 2.069586] 8021q: 802.1Q VLAN Support v1.8
- [ 2.084407] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
- [ 2.091763] Freeing unused kernel memory: 228K (803a7000 - 803e0000)
- [ 3.577847] init: Console is alive
- [ 3.580056] init: - watchdog -
- [ 4.946810] usbcore: registered new interface driver usbfs
- [ 4.950967] usbcore: registered new interface driver hub
- [ 4.956355] usbcore: registered new device driver usb
- [ 4.968473] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 4.975512] ehci-platform: EHCI generic platform driver
- [ 4.979403] ehci-platform ehci-platform: EHCI Host Controller
- [ 4.985137] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
- [ 4.995083] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
- [ 5.014256] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
- [ 5.020281] hub 1-0:1.0: USB hub found
- [ 5.023189] hub 1-0:1.0: 1 port detected
- [ 5.030742] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
- [ 5.037327] ohci-platform: OHCI generic platform driver
- [ 5.344235] usb 1-1: new full-speed USB device number 2 using ehci-platform
- [ 5.584224] usb 1-1: new full-speed USB device number 3 using ehci-platform
- [ 5.673682] init: - preinit -
- [ 6.073039] usb 1-1: new full-speed USB device number 4 using ehci-platform
- [ 6.109087] usb 1-1: No LPM exit latency info found, disabling LPM.
- [ 6.124310] usb 1-1: not running at top speed; connect to a high speed hub
- [ 6.378120] random: procd urandom read with 10 bits of entropy available
- [ 8.195542] eth1: link up (1000Mbps/Full duplex)
- [ 9.806482] jffs2: notice: (346) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
- [ 9.822528] mount_root: switching to jffs2 overlay
- [ 9.864078] eth1: link down
- [ 9.880530] procd: - early -
- [ 9.882106] procd: - watchdog -
- [ 10.669953] procd: - ubus -
- [ 11.787871] procd: - init -
- [ 12.707316] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
- [ 12.713262] Backport generated by backports.git backports-20151218-0-g2f58d9d
- [ 12.729578] nf_conntrack version 0.5.0 (952 buckets, 3808 max)
- [ 12.781614] xt_time: kernel timezone is -0000
- [ 12.817110] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 13.004365] mt7601u: probe of 1-1:1.0 failed with error -5
- [ 13.008629] usbcore: registered new interface driver mt7601u
- [ 13.014610] usb 1-1: USB disconnect, device number 4
- [ 13.043735] PPP generic driver version 2.4.2
- [ 13.058862] NET: Registered protocol family 24
- [ 13.140929] ath: EEPROM regdomain: 0x0
- [ 13.140960] ath: EEPROM indicates default country code should be used
- [ 13.140973] ath: doing EEPROM country->regdmn map search
- [ 13.141002] ath: country maps to regdmn code: 0x3a
- [ 13.141017] ath: Country alpha2 being used: US
- [ 13.141031] ath: Regpair used: 0x3a
- [ 13.152762] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
- [ 13.157260] ieee80211 phy1: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
- [ 13.165040] usb 1-1: new full-speed USB device number 5 using ehci-platform
- [ 13.424231] usb 1-1: new full-speed USB device number 6 using ehci-platform
- [ 13.664230] usb 1-1: new full-speed USB device number 7 using ehci-platform
- [ 13.699066] usb 1-1: No LPM exit latency info found, disabling LPM.
- [ 13.705068] usb 1-1: not running at top speed; connect to a high speed hub
- [ 13.854361] mt7601u: probe of 1-1:1.0 failed with error -5
- [ 13.859377] usb 1-1: USB disconnect, device number 7
- [ 13.984236] usb 1-1: new full-speed USB device number 8 using ehci-platform
- [ 14.224223] usb 1-1: new high-speed USB device number 9 using ehci-platform
- [ 14.929660] usb 1-1: reset high-speed USB device number 9 using ehci-platform
- [ 15.157732] mt7601u 1-1:1.0: ASIC revision: 76010001 MAC revision: 76010500
- [ 15.228980] mt7601u 1-1:1.0: Warning: unsupported EEPROM version 0d
- [ 15.233812] mt7601u 1-1:1.0: EEPROM ver:0d fae:00
- [ 15.253126] mt7601u 1-1:1.0: EEPROM country region 01 (channels 1-13)
- [ 15.816851] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
- [ 24.029005] device eth1 entered promiscuous mode
- [ 25.735624] eth1: link up (1000Mbps/Full duplex)
- [ 25.738846] br-lan: port 1(eth1) entered forwarding state
- [ 25.744276] br-lan: port 1(eth1) entered forwarding state
- [ 27.744223] br-lan: port 1(eth1) entered forwarding state
- [ 51.034269] random: nonblocking pool is initialized
复制代码
|
|