TP-Link TL-WA5210G

From DD-WRT Wiki

Jump to: navigation, search

Contents


[edit] Initial flashing instruction

http://wa5210g.blogspot.de/

[edit] Hardware

[edit] Serial Port

38200,1,n,8

1 TX
2 RX
3 GND
4 PWR

[edit] Flashing

After initial flashing the new bootloader (which is based on ddwrt micro redboot) the unit behaves like an UBNT unit, which means you can use the UBNT recovery instruction for flashing.

[edit] Log

[edit] WIN

Checking host 192.168.1.20 online... Ok. Host down. Generating bootloader + flash dump ... Bootloader readed... Ok. Base DUMP file readed... Ok. Ok. Checking host online... Ok (5ms).

   DON'T POWER OFF your TL-WA5210G!!!

Sending bootloader via http... Sent! Wait 3 sec.. Send command to flash bootloader... Ok. Wait fot host 192.168.1.254 down... Ok. Waiting for 192.168.1.20 UP ... Ok. Sending prepared DUMP via tftp... Error, Repeat, Wait 25 second Error, Repeat, Wait 25 secondOk. Waiting for host 192.168.1.20 down ... Ok.

Waiting for upgraded TP-WA5210G in NanoStation 2 is UP @192.168.1.20 ... Done! Congratulations!

[edit] Serial

Attached TCP/IP interface to ae unit 0
Attaching interface lo0...done

USRCONF : g_size = 21388
Name = MODULE_USR_CONF_T , size = 12
Name = UC_IEEE802_1X_CFG_DATA_T , size = 512
Name = UC_ADVANCED_CFG_T , size = 16
Name = UC_ARP_CFG_T , size = 652
Name = UC_BPA_CFG_DATA_T , size = 912
Name = UC_DDNS_T , size = 1480
Name = UC_DHCPC_CFG_DATA_T , size = 416
Name = UC_DHCPS_CFG_AND_STATIC_T , size = 708
Name = UC_FIRE_WALL_STATE_T , size = 1992
Name = UC_FORWARD_VIRTUAL_SERVE_CLASS_T , size = 1572
Name = UC_LAN_CFG_DATA_T , size = 16
Name = UC_L2TP_CFG_DATA_T , size = 1472
Name = UC_MAC_CONFIG_T , size = 80
Name = UC_PPPOE_CFG_DATA_T , size = 1664
Name = UC_NTP_PREFER_SRV_CFG_DATA_T , size = 28
Name = UC_STATIC_IP_CFG_DATA_T , size = 144
Name = UC_SATTIC_ROUTE_CFG_DATA_T , size = 328
Name = UC_MANAGE_USERS_T , size = 64
Name = UC_UTILITIES_T , size = 16
Name = UC_WANCONNTYPE_T , size = 16
Name = UC_WLAN_CFG_T , size = 5196
Name = UC_PWD_CFG_T , size = 20
Name = UC_OPMODE_CFG_T , size = 4
Name = UC_PPTP_CFG_DATA_T , size = 1472
Name = UC_NETWORK_PSEUDO_T , size = 4
Name = UC_QOS_ROUTER_CONF_FLASH_T , size = 740
Name = UC_DHCPP_CFG_DATA_T , size = 1008
Name = UC_SNMP_CFG_DATA_T , size = 844
dsInit 2
wlanBridgeInit(): ucGetOpMode() 3
wlan0 Ready
wireless client starting...
begi


                            Software Platform for ARM
  Copyright(C) 2001-2004 by TP-LINK TECHNOLOGIES CO., LTD.
  Creation date: Aug 21 2012, 15:47:40

  Press CTRL-B to enter bootmenu.end of init snmp
TDDP: Now listening client request. 
tddp is running...

  Boot Menu:
     1:  Download application program
     2:  Modify Bootrom password
     3:  Exit the menu
     4:  Reboot
     5:  User commond line
        Enter your choice(1-4):5


Please Input debug cmd:help
command		description
-------------------------------
help		print all commands
task		print task information
stack		print task stack
e		exit

Please Input debug cmd:task
Usage:task name

Please Input debug cmd:

Please Input debug cmd:

Please Input debug cmd:±ëk­cnt is 18
******************####################################################################################################################################################################################################################################################################################y@ò�{Ô	0�…P�6±2�Í�ºÔ•™‰ó¡ìÎ[¡˜@“3t€0pC·Ó°€p��Õ¢ÉAýVÐz=0˜Ý@ývŽ=øVÐÑÀÐî
™H7&�#�¹±˜˜Ü˜�=`Ò8ØҕÖøá'2� åœ‘}C�‹�ýýýý�ú��înÔ9;sšÒ³Z²Ô’?:4ê¿iA?§â�;DҔj”œžÜÔ�6ºÄîî� u’œ@ò/øîÚò�€µW4x��7¬�Ceh2™A��ÉÙ�²%�jJ!O�8Ô�Ôђ‰À�¹Ðò�ò�”@òܘÊò€L*éˆ=ÀÂÁ”Ó#4;O �Zp
ƒa»”€°€Ä°Á€°€€º˜Š>�²��{¶=A�™ˆY�ˆ±‰€°2�‰°”ž‰Ô°Ô�ˆ™’Áèp€°Ké;Y=ZQÒ95¥]”ځȲĀ0îÊԕ(Д:EtltPýy@ò� sÔ	� …P�6±2ԘCšúԗ™…ó¡ìÏ[á˜@“3t �Ё…·Û°€A��U¢ÙAýVÐѐ=0˜Ý@ývŽ=øJ°ÑÃ0îJÔÁò'6�C�êµ8˜Ûø/D7`ò”á2TÚܐÙw@;@æí�²ƒ�ýýý3úº€”úD=ú�úJÀÔ²'<ôê·óQ/—q�ƒgë”J”žøÜÖ�6ºÄî��4t²œ@r/øîÚr�€�QõV4ÔP'€�4žžƒp�T�øZQšøaa!XJŽ¶:Ã'QaœX0#ú�¶žaøá¿Þ²y²ÒP�EaŽ•ÐeT˜@Š¢Øø%žèš^ÃŒsòdœ˜ØšœÚüøÚþÍÒø7˜ž�+ÓLøâ8ŽÜšžÓªÒAøŒâRú—š-”’QJX"ŠT'�IJš�RB§Éx‚Ò�ú‹|^øTPŒß�AüMicroRedBoot v1.4, (c) 2009 DD-WRT.COM (Dec 26 2012 REVISION Unversioned directory)
CPU Type: Atheros AR2315/6/7/8
CPU Clock: 184Mhz
Found Flash device SIZE=0x00400000 SECTORSIZE=0x00010000 FLASHBASE=0xBFC00000
Reset Button triggered
Booting Recovery RedBoot
reset button 5 seconds pushed, erasing nvram
nvram can and will not erased, since nvram was not detected on this device (maybe dd-wrt isnt installed)!
loading....

þNo board config data found!
+Reset button pressed - switching to rescue mode.
**Warning** FLASH configuration checksum error or invalid key
Use 'fconfig -i' to [re]initialize database
Couldn't find valid MAC address for enet0. Using default!
Ethernet eth0: MAC address 00:03:7f:e0:02:bf
IP: 192.168.1.20, Default server: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version (patched for dump flashing) - built 12:50:19, Dec 26 2012

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2009 NewMedia-NET GmbH

Board: ap51 
RAM: 0x80000000-0x81000000, [0x8002fab0-0x80fed000] available
FLASH: 0xbfc00000 - 0xbfff0000, 64 blocks of 0x00010000 bytes each.
Starting RESCUE script...
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> tftpd
Warning: memory buffer for uploaded file may be on reserved RAM area.
TFTPD is running (using memory ranges: 0x8002fc00 - 0x8092fc00).
TFTPD: Connect from 192.168.1.205 port 1076
TFTPD: Upload completed (got 4194308 bytes).
Checking uploaded file...
Firmware format correct!
DUMP: firmware format detected
Found MAC in flash : 54:E6:FC:CD:96:5A
Prepared for MAC   : XX:XX:XX:CD:96:5A
MAC address is correct!
DUMP_FW: Performing Bootloader upgrade
DUMP_FW: flash base is 0xBFC00000
... Erase from 0xbfc00000-0xc0000000: ................................................................
... Program from 0x8002fc04-0x8042fc04 at 0xbfc00000: ................................................................
DUMP_FW: flashing done
Flash update complete.
... Resetting.ÿÿ€

[edit] External Links

https://forum.openwrt.org/viewtopic.php?id=26261