User Tools

Site Tools


toh:tp-link:tl-mr13u

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:tp-link:tl-mr13u [2014/02/22 21:40]
micke_s
toh:tp-link:tl-mr13u [2014/05/31 17:36] (current)
wifly
Line 7: Line 7:
 ===== Supported Versions ===== ===== Supported Versions =====
 ^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| v1   ​| ​ 2013-05-10 ​ | - | [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/​|trunk]] ​ ([[https://​dev.openwrt.org/​changeset/​38063|r38063]],​ [[https://​dev.openwrt.org/​changeset/​38064|r38064]], ​ [[https://​dev.openwrt.org/​changeset/​38065|r38065]],​ [[https://​dev.openwrt.org/​changeset/​38066|r38066]]) | - |+| v1   ​| ​ 2013-05-10 ​ | - | [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/​|trunk]] ​ ([[https://​dev.openwrt.org/​changeset/​40028|r40028]](failsafe seems not to work), ​[[https://​dev.openwrt.org/​changeset/​38063|r38063]],​ [[https://​dev.openwrt.org/​changeset/​38064|r38064]], ​ [[https://​dev.openwrt.org/​changeset/​38065|r38065]],​ [[https://​dev.openwrt.org/​changeset/​38066|r38066]]) | - |
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 20: Line 20:
  
 ==== Battery charging ==== ==== Battery charging ====
-MR-13U has a rather big battery therefore it takes a long time to charge it. It might seem for the first time that nothing happens after connecting a charger. The router has leds (4 blue and 1 redto indicate the battery status. When you press the battery button status LEDs light up. +MR-13U has a rather big battery therefore it takes a long time to charge it. It might seem for the first time that nothing happens after connecting a charger. The router has leds of which 4 blue and 1 red are used to indicate the battery status. When you press the battery button status LEDs light up. 
 When the battery charging is in progress LEDs stay on and after it's finished they go off. While charging the router consumes about 7W (measured with watt meter in power outlet) When the battery charging is in progress LEDs stay on and after it's finished they go off. While charging the router consumes about 7W (measured with watt meter in power outlet)
 If the battery level is low one red LED light up and stays this way even if the battery check button is released. ​ If the battery level is low one red LED light up and stays this way even if the battery check button is released. ​
  
 +Update: First charging via notebook USB port with router powered on all the time took almost 40 hours
 +
 +==== Wireless performance ====
 +Iperf tests average rate was ~60 Mbps with peaks at 70 Mbps (7.6 - 8 MB/s) using ralink USB client device with rt2800usb driver.
  
 ==== Keep the articles modular ==== ==== Keep the articles modular ====
Line 44: Line 48:
  
 ==== OEM easy installation ==== ==== OEM easy installation ====
- 
-| FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device! | 
  
 This section deals with how you install OpenWrt from a device freshly opened. ​ Plus the steps required such as reset to factory defaults if the device has already been configured This section deals with how you install OpenWrt from a device freshly opened. ​ Plus the steps required such as reset to factory defaults if the device has already been configured
Line 54: Line 56:
   *Wait for it to reboot   *Wait for it to reboot
   *Telnet to 192.168.1.1 and set a root password, or browse to http://​192.168.1.1 if LuCI is installed.   *Telnet to 192.168.1.1 and set a root password, or browse to http://​192.168.1.1 if LuCI is installed.
 +
 +**Note (dated 20140424)**\\
 +  *A TP-Link TL-MR13U received from [[http://​www.aliexpress.com/​snapshot/​6056783168.html|AliExpress]] is **TL-MR13U v1 00000000** hardware and has firmware **3.17.1 Build 130705 Rel.37118n**. ​ The link for firmware upgrade is now http://​192.168.1.1/​userRpm/​SoftwareUpgradeRpm.htm,​ however loading that link directly will result in **"You have no authority to access this router!"​**.\\
 +  *To access the upgrade page, select the last menu entry on the left of the page (which reads as http://​192.168.1.1/​userRpm/​DateTimeCfgRpm.htm when you hover over the link), and then select the third entry in the sub-menu http://​192.168.1.1/​userRpm/​SoftwareUpgradeRpm.htm.\\
 +  *That menu position is shown by the mouse-cursor position in the following picture:\\
 +{{ :​media:​20140424_upgrade.png?​x300 |Upgrade Page  }}
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 151: Line 159:
 -> [[doc:​howto:​hardware.button]] on howto use and configure the hardware button(s). -> [[doc:​howto:​hardware.button]] on howto use and configure the hardware button(s).
  
-The Linksys WRT54GL has two buttonsThey are Reset and Secure Easy SetupHere, we merely name the buttons, so we can use them in the above Howto+The TP-link MR13U have one button and two sliders. 
-BUTTON ​Event + 
-Reset reset |  +Button is used for battery status. 
-Secure Easy Setup ses +One slide switch for on/off and the second is used in stock firmware to set different modes.  
 + 
 +Mapping in openwrt for mode slider
 +Button Name Mode:3G ^ Mode:Router ^ Mode:​AP ​
 +BTN_0 Released | Pressed | Pressed ​
 +BTN_1 | Pressed | Released ​Pressed ​|
  
  
Line 240: Line 253:
 ===== Bootlogs ===== ===== Bootlogs =====
 ==== OEM bootlog ==== ==== OEM bootlog ====
 +
 +Booting with MR13U mode switch set to AP:
 <​HTML>​ <​HTML>​
 <p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​ <p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​ <​code>​
  
-PUT HERE YOUR BOOTLOG+U-Boot 1.1.4 (May 29 2013 - 17:36:58) 
 + 
 +AP121 (ar9330) U-boot 
 + 
 +DRAM:  32 MB 
 +led turning on for 1s... 
 +id read 0x100000ff 
 +flash size 4194304, sector count = 64 
 +Flash: ​ 4 MB 
 +Using default environment 
 + 
 +In:    serial 
 +Out:   ​serial 
 +Err:   ​serial 
 +Net:   ​ag7240_enet_initialize... 
 +No valid address in Flash. Using fixed address 
 +No valid address in Flash. Using fixed address 
 +: cfg1 0x5 cfg2 0x7114 
 +eth0: 00:​03:​7f:​09:​0b:​ad 
 +ag7240_phy_setup  
 +eth0 up 
 +: cfg1 0xf cfg2 0x7214 
 +eth1: 00:​03:​7f:​09:​0b:​ad 
 +athrs26_reg_init_lan 
 +ATHRS26: resetting s26 
 +ATHRS26: s26 reset done 
 +ag7240_phy_setup  
 +eth1 up 
 +eth0, eth1 
 +Autobooting in 1 seconds 
 +## Booting image at 9f020000 ... 
 +   ​Uncompressing Kernel Image ... OK 
 + 
 +Starting kernel ... 
 + 
 +Booting AR9330(Hornet)... 
 +
 +Linux version 2.6.31--LSDK-9.2.0.312 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #10 Wed May 29 17:37:12 CST 2013 
 + 
 +flash_size passed from bootloader = 4 
 + 
 +CPU revision is: 00019374 (MIPS 24Kc) 
 + 
 +Determined physical RAM map: 
 + 
 + ​memory:​ 02000000 @ 00000000 (usable) 
 + 
 +User-defined physical RAM map: 
 + 
 + ​memory:​ 02000000 @ 00000000 (usable) 
 + 
 +Zone PFN ranges: 
 + 
 +  Normal ​  ​0x00000000 -> 0x00002000 
 + 
 +Movable zone start PFN for each node 
 + 
 +early_node_map[1] active PFN ranges 
 + 
 +    0: 0x00000000 -> 0x00002000 
 + 
 +Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128 
 + 
 +Kernel command line: console=ttyS0,​115200 root=31:02 rootfstype=squashfs init=/​sbin/​init mtdparts=ar7240-nor0:​128k(u-boot),​1024k(kernel),​2816(rootfs),​64k(config),​64k(ART) mem=32M 
 + 
 +PID hash table entries: 128 (order: 7, 512 bytes) 
 + 
 +Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) 
 + 
 +Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) 
 + 
 +Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. 
 + 
 +Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes 
 + 
 +Writing ErrCtl register=00000000 
 + 
 +Readback ErrCtl register=00000000 
 + 
 +Memory: 29876k/​32768k available (1883k kernel code, 2892k reserved, 521k data, 116k init, 0k highmem) 
 + 
 +Hierarchical RCU implementation. 
 + 
 +NR_IRQS:​128 
 + 
 +plat_time_init:​ plat time init done 
 + 
 +Calibrating delay loop... 266.24 BogoMIPS (lpj=532480) 
 + 
 +Mount-cache hash table entries: 512 
 + 
 +NET: Registered protocol family 16 
 + 
 +===== ar7240_platform_init:​ 0 
 + 
 +bio: create slab <​bio-0>​ at 0 
 + 
 +SCSI subsystem initialized 
 + 
 +usbcore: registered new interface driver usbfs 
 + 
 +usbcore: registered new interface driver hub 
 + 
 +usbcore: registered new device driver usb 
 + 
 +NET: Registered protocol family 2 
 + 
 +IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 
 + 
 +TCP established hash table entries: 1024 (order: 1, 8192 bytes) 
 + 
 +TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 
 + 
 +TCP: Hash tables configured (established 1024 bind 1024) 
 + 
 +TCP reno registered 
 + 
 +NET: Registered protocol family 1 
 + 
 +AR7240 GPIOC major 0 
 + 
 +squashfs: version 4.0 (2009/​01/​31) Phillip Lougher 
 + 
 +NTFS driver 2.1.29 [Flags: R/O]. 
 + 
 +msgmni has been set to 58 
 + 
 +alg: No test for lzma (lzma-generic) 
 + 
 +alg: No test for stdrng (krng) 
 + 
 +io scheduler noop registered 
 + 
 +io scheduler anticipatory registered 
 + 
 +io scheduler deadline registered 
 + 
 +io scheduler cfq registered (default) 
 + 
 +Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled 
 + 
 +ttyS0: detected caps 00000000 should be 00000100 
 + 
 +serial8250.0:​ ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A 
 + 
 +console [ttyS0] enabled 
 + 
 +PPP generic driver version 2.4.2 
 + 
 +NET: Registered protocol family 24 
 + 
 +cmdlinepart partition parsing not available 
 + 
 +set partition boot  
 + 
 +set partition kernel  
 + 
 +set partition rootfs  
 + 
 +set partition config  
 + 
 +set partition art  
 + 
 +set partition ÿ  
 + 
 +Searching for RedBoot partition table 
 + 
 +5 RedBoot partitions found on MTD device ar7240-nor0 
 + 
 +Creating 5 MTD partitions on "​ar7240-nor0":​ 
 + 
 +0x000000000000-0x000000020000 : "​boot"​ 
 + 
 +0x000000020000-0x000000120000 : "​kernel"​ 
 + 
 +0x000000120000-0x0000003e0000 : "​rootfs"​ 
 + 
 +0x0000003e0000-0x0000003f0000 : "​config"​ 
 + 
 +0x0000003f0000-0x000000400000 : "​art"​ 
 + 
 +->Oops: flash id 0x10215 .  
 + 
 +ehci_hcd: USB 2.0 '​Enhanced'​ Host Controller (EHCI) Driver 
 + 
 +Port Status 1c000004  
 + 
 +ar7240-ehci ar7240-ehci.0:​ ATH EHCI 
 + 
 +ar7240-ehci ar7240-ehci.0:​ new USB bus registered, assigned bus number 1 
 + 
 +ehci_reset Intialize USB CONTROLLER in host mode: 3 
 + 
 +ehci_reset Port Status 1c000000  
 + 
 +ar7240-ehci ar7240-ehci.0:​ irq 3, io mem 0x1b000000 
 + 
 +ehci_reset Intialize USB CONTROLLER in host mode: 3 
 + 
 +ehci_reset Port Status 1c000000  
 + 
 +ar7240-ehci ar7240-ehci.0:​ USB 2.0 started, EHCI 1.00 
 + 
 +usb usb1: configuration #1 chosen from 1 choice 
 + 
 +hub 1-0:1.0: USB hub found 
 + 
 +hub 1-0:1.0: 1 port detected 
 + 
 +TCP cubic registered 
 + 
 +NET: Registered protocol family 17 
 + 
 +802.1Q VLAN Support v1.8 Ben Greear <​greearb@candelatech.com>​ 
 + 
 +All bugs added by David S. Miller <​davem@redhat.com>​ 
 + 
 +ar7240wdt_init:​ Registering WDT success 
 + 
 +VFS: Mounted root (squashfs filesystem) readonly on device 31:2. 
 + 
 +Freeing unused kernel memory: 116k freed 
 + 
 + 
 +init started: ​ BusyBox v1.01 (2013.05.29-02:​14+0000) multi-call binary 
 +This Board use 2.6.31 
 +xt_time: kernel timezone is -0000 
 + 
 +nf_conntrack version 0.5.0 (512 buckets, 5120 max) 
 + 
 +ip_tables: (C) 2000-2006 Netfilter Core Team 
 + 
 +insmod: cannot open module `/​lib/​modules/​2.6.31/​kernel/​iptable_raw.ko':​ No such file or directory 
 +insmod: cannot open module `/​lib/​modules/​2.6.31/​kernel/​flashid.ko':​ No such file or directory 
 +PPPoL2TP kernel driver, V1.0 
 + 
 +PPTP driver version 0.8.3 
 + 
 +insmod: cannot open module `/​lib/​modules/​2.6.31/​kernel/​harmony.ko':​ No such file or directory 
 + 
 +Now flash open! 
 + 
 + ​(none) mips #10 Wed May 29 17:37:12 CST 2013 (none) 
 + 
 +(none) login: Now flash open! 
 + 
 +ATHR_GMAC: Length per segment 1536 
 + 
 +ATHR_GMAC: fifo cfg 3 01f00140 
 + 
 +
 + 
 +ATHR_GMAC: Max segments per packet :   1 
 + 
 +ATHR_GMAC: Max tx descriptor count :   164 
 + 
 +ATHR_GMAC: Max rx descriptor count :   196 
 + 
 +ATHR_GMAC: Mac capability flags    :   ​10004D83 
 + 
 +
 + 
 +ATHR_GMAC: Max segments per packet :   1 
 + 
 +ATHR_GMAC: Max tx descriptor count :   96 
 + 
 +ATHR_GMAC: Max rx descriptor count :   252 
 + 
 +ATHR_GMAC: Mac capability flags    :   ​4403 
 + 
 +athr_gmac_ring_alloc Allocated 1536 at 0x81c93000 
 + 
 +athr_gmac_ring_alloc Allocated 4032 at 0x81d63000 
 + 
 +Setting Drop CRC Errors, Pause Frames and Length Error frames  
 + 
 +Setting PHY...mac 0 
 + 
 +athr_gmac_ring_alloc Allocated 2624 at 0x81e60000 
 + 
 +athr_gmac_ring_alloc Allocated 3136 at 0x81f2f000 
 + 
 +Setting Drop CRC Errors, Pause Frames and Length Error frames  
 + 
 +ATHRS26: resetting s26 
 + 
 +ATHRS26: s26 reset done 
 + 
 +Setting PHY...mac 1 
 + 
 +ATH_MAC_TIMER:​ Current RxFsm for GMAC unit:1 is 0x0 >> 11 is 0x0 
 + 
 +device eth0 entered promiscuous mode 
 + 
 +Now flash open! 
 + 
 +asf: module license '​Proprietary'​ taints kernel. 
 + 
 +Disabling lock debugging due to kernel taint 
 + 
 +ath_hal: 0.9.17.1 (AR9380, DEBUG, REGOPS_FUNC,​ WRITE_EEPROM,​ 11D) 
 + 
 +ath_rate_atheros:​ Copyright (c) 2001-2005 Atheros Communications,​ Inc, All Rights Reserved 
 + 
 +ath_dev: Copyright (c) 2001-2007 Atheros Communications,​ Inc, All Rights Reserved 
 + 
 +ath_ahb: 9.2.0_U5.508 (Atheros/​multi-bss) 
 + 
 +Boostrap clock 25MHz 
 + 
 +ar9300RadioAttach:​ Need analog access recipe!! 
 + 
 +Restoring Cal data from Flash 
 + 
 +ath_get_caps[4735] rx chainmask mismatch actual 1 sc_chainmak 0 
 + 
 +ath_get_caps[4710] tx chainmask mismatch actual 1 sc_chainmak 0 
 + 
 +wifi0: Atheros 9380: mem=0xb8100000,​ irq=2 
 + 
 +wlan_vap_create : enter. devhandle=0x80dc42c0,​ opmode=IEEE80211_M_HOSTAP,​ flags=0x1 
 + 
 +wlan_vap_create : exit. devhandle=0x80dc42c0,​ opmode=IEEE80211_M_HOSTAP,​ flags=0x1. 
 + 
 +VAP device ath0 created  
 + 
 +  
 + 
 + DES SSID SET=TP-LINK_D4BB0A  
 + 
 +ar9300LoadNF:​ *** TIMEOUT while waiting for nf to load: AR_PHY_AGC_CONTROL=0x1d0d5a *** 
 + 
 +ieee80211_scan_unregister_event_handler:​ Failed to unregister evhandler=c080f740 arg=81fad2c0 
 + 
 +wlan_vap_delete : enter. vaphandle=0x81ea6000 
 + 
 +wlan_vap_delete : exit. vaphandle=0x81ea6000 
 + 
 +wlan_vap_create : enter. devhandle=0x80dc42c0,​ opmode=IEEE80211_M_HOSTAP,​ flags=0x1 
 + 
 +wlan_vap_create : exit. devhandle=0x80dc42c0,​ opmode=IEEE80211_M_HOSTAP,​ flags=0x1. 
 + 
 +VAP device ath0 created  
 + 
 +  
 + 
 + DES SSID SET=TP-LINK_D4BB0A  
 + 
 + ​ieee80211_ioctl_siwmode:​ imr.ifm_active=393856,​ new mode=3, valid=1  
 + 
 +WARNING: Fragmentation with HT mode NOT ALLOWED!! 
 + 
 +device ath0 entered promiscuous mode 
 + 
 +br0: port 2(ath0) entering forwarding state 
 + 
 + ​ieee80211_ioctl_siwmode:​ imr.ifm_active=1442432,​ new mode=3, valid=1  
 + 
 +br0: port 2(ath0) entering disabled state 
 + 
 +  
 + 
 + DES SSID SET=TP-LINK_D4BB0A  
 + 
 +br0: port 2(ath0) entering forwarding state 
 + 
 +Now flash open! 
 + 
 +Erase from 0X3E0000 to 0X3E9DF4:​. 
 + 
 +Program from 0X3E0000 to 0X3E9DF4: 
 + 
 +write successfully
  
 </​code>​ </​code>​
toh/tp-link/tl-mr13u.1393101646.txt.bz2 · Last modified: 2014/02/22 21:40 by micke_s