See 'WikiDevi' @ the Internet Archive (MW XML, Files, Images)
upgraded MW to 1.30 - maybe things are slightly less broken

TP-LINK TL-MR3020

From WikiDevi
Jump to: navigation, search

TP-LINK TL-MR3020 v1
Availability: now

FCC approval date: 21 February 2012
(Est.) release date: 13 January 2012
UPC: 845973051709 (UPC DB, On eBay)
EAN: 6935364051709 (UPC DB, On eBay)
Country of manuf.: China

Amazon image

ASIN
B00634PLTW (Flag of the United States.svg, On Amazon, On CCC)

Type: mobile router

FCC ID: TE7MR3020

Power: 5 VDC, 1 A
Connector type: USB Female Mini-B

CPU1: Atheros AR9331
FLA1: 4 MiB
4,194,304 B
32,768 Kib
4,096 KiB
32 Mib
0.00391 GiB
(Spansion FL032PIF)
RAM1: 32 MiB
33,554,432 B
262,144 Kib
32,768 KiB
256 Mib
0.0313 GiB
(Winbond W9425G6JH-6)

Expansion IFs: USB 2.0
USB ports: 1

WI1 chip1: Atheros AR9331
WI1 802dot11 protocols: bgn
WI1 MIMO config: 1x1:1
WI1 antenna connector: none

ETH chip1: Atheros AR9331
LAN speed: 10/100
LAN ports: 1

bgn

Third party firmware supported: OpenWrt, libreCMC

Flags: 3G capable

802dot11 OUI: none specified

For a list of all currently documented Atheros chipsets with specifications, see Atheros.


Portable 3G Wireless N Router

Product page

Notes on JTAG[edit]

The EJTAG interface AR9331 is different from the ones on most chips:

  • First of all, the Jtag pins are multiplexed with GPIOs, GPIO11 must be pull high to bootstrap the debug interface.
Pressing the SW2 switch while powering on the unit should take care of this as it is connected to GPIO11.
  • The second problem is that U-Boot will disable EJTAG, even if it was enabled by pulling GPIO11 high during power up.
To workaround this, a jumper can be added between the CS pin on the flash and CPU.
  • And last problem is that TP-Link does not provide test points, pads or pins for the Jtag interface.

OpenOCD[edit]

This sequence will be needed to initiate PLL and RAM:

PLL / RAM
        #pll initialization
        mww 0xb8050008 0x00018004
        mww 0xb8050004 0x00000352
        mww 0xb8050000 0x40818000
        mww 0xb8050010 0x001003e8
        mww 0xb8050000 0x00818000
        mww 0xb8050008 0x00008000
        sleep 1
        # Setup DDR1 config and flash mapping
        mww 0xb8000000 0x7fbc8cd0
        mww 0xb8000004 0x9dd0e6a8

        mww 0xb8000010 0x8
        mww 0xb8000008 0x133
        mww 0xb8000010 0x1
        mww 0xb800000c 0x2
        mww 0xb8000010 0x2
        mww 0xb8000010 0x8
        mww 0xb8000008 0x33
        mww 0xb8000010 0x1
        mww 0xb8000014 0x4186
        mww 0xb800001c 0x8
        mww 0xb8000020 0x9
        mww 0xb8000018 0xff

        #UART
        mww 0xb8020004 0x4388
        mww 0xb8020008 0xc2000

        #GPIO
        mww 0xb8040028 0x48002

Images[edit]