TP-Link TL-WA7510N
This is a 5 GHz only outdoor Accesspoint. There is no way to activate 2.4 GHz.
Supported Versions
Hardware Highlights
Installation
Hardware
Info
Architecture | MIPS |
---|---|
Vendor | Qualcomm Atheros |
bootloader | crippled U-Boot |
System-On-Chip | AR7240 |
CPU/Speed | MIPS32 24K / 400 MHz |
Flash-Chip | FL032P |
Flash size | 4 MiB |
RAM | 32 MiB |
Wireless | AR9280 |
Ethernet | 1x 10/100 BASE-TX (Cat. 5, RJ-45) Ethernet Interface with PoE |
USB | n/a |
Serial | Yes |
JTAG | ? |
Wireless
Antenna | 15dBi Dual-Polarized Antenna |
Transmission power | <20dBm (100mW EIRP, For countries using CE Standards) |
Transmission power | <27dBm (500mW Peak Output Power, For countries using FCC Standards) |
Chips
- Flash: FL032P (4 MB)
- CPU: AR7240
- WiFi: AR9280
- DDR-SD-RAM: A3S56 (32 MB)
Serial
+3,3 V | GND | ←PC | →PC
stop Autobooting: type tpl
LEDs
- Power-LED: directly connected to the powersource
- LAN-LED: connected to the AR7240, controlled by the ethernet-switch
- Signal-strength-LEDs: 4 LEDs connected to the gpio-pins of AR9280 wlan-chip
printenv
ar7240> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
bootcmd=bootm 0x9f020000
bootdelay=1
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.1.123
serverip=192.168.1.100
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 359/65532 bytes
Photos
Trunk-Version 12.09
You should try this version. The new version supports more different flashes.
State of work: * System is working now, but the signal strength LEDs are todo.
files to edit
patch
bootlog
coming soon...
Backfire 10.03.1
State of work
I got OpenWrt backfire running on this device. Ethernet works and WLAN works. The “LAN”-LED shows the state of the Ethernet. NOT implemented are the signal-strength-indicator-LEDs now. They are connected to the gpios of the ar9280.
For the LEDs I found something:
http://os1a.cs.columbia.edu/lxr/source/drivers/net/wireless/ath/ath9k/gpio.c?v=2.6.34
revision 33311
files to edit
- backfire/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig
- backfire/target/linux/ar71xx/image/Makefile
- backfire/target/linux/ar71xx/profiles/tp-link.mk
- backfire/tools/firmware-utils/src/mktplinkfw.c
- backfire/target/linux/ar71xx/config-2.6.32
- backfire/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h
- backfire/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile
- backfire/target/linux/ar71xx/base-files/lib/ar71xx.sh
- backfire/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
new files
- backfire/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa7510n.c
very important
make clean after applying the patches!
Because it does not work without. The error message is something like “MIPS: no machine found for id: 'TL-WA7510N', registered machines:”.
tftp based installation
setenv ipaddr 192.168.1.1 setenv serverip 192.168.1.100 tftpboot 0x80000000 openwrt-xxx-generic-xxx-squashfs-factory.bin erase 0x9f020000 +0x3c0000 cp.b 0x80000000 0x9f020000 0x3c0000 bootm 0x9f020000
patch
OEM bootlog
This is the serial (115200 baud) console output booting original TP-Link-FW:
U-Boot 1.1.4 (Nov 30 2011 - 15:23:30) AP91 (ar7240) U-boot DRAM: sri #### TAP VALUE 1 = a, 2 = a 32 MB 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 : cfg1 0xf cfg2 0x7014 eth0: 00:03:7f:09:0b:ad eth0 up No valid address in Flash. Using fixed address : cfg1 0xf cfg2 0x7214 eth1: 00:03:7f:09:0b:ad ATHRS26: resetting s26 ATHRS26: s26 reset done eth1 up eth0, eth1 Autobooting in 1 seconds ## Booting image at 9f020000 ... Uncompressing Kernel Image ... OK Starting kernel ... Booting AR7240(Python)... Linux version 2.6.15--LSDK-7.3.0.300 (root@bogon) (gcc version 3.4.4) #5 Wed Nov 30 15:23:58 CST 2011 flash_size passed from bootloader = 4 CPU revision is: 00019374 Determined physical RAM map: memory: 02000000 @ 00000000 (usable) User-defined physical RAM map: memory: 02000000 @ 00000000 (usable) Built 1 zonelists Kernel command line: console=ttyS0,115200 root=31:2 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art) mem=32M Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, linesize 32 bytes. Synthesized TLB refill handler (20 instructions). Synthesized TLB load handler fastpath (32 instructions). Synthesized TLB store handler fastpath (32 instructions). Synthesized TLB modify handler fastpath (31 instructions). Cache parity protection disabled PID hash table entries: 256 (order: 8, 4096 bytes) Using 175.000 MHz high precision timer. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 30548k/32768k available (1368k kernel code, 2204k reserved, 291k data, 128k init, 0k highmem) Mount-cache hash table entries: 512 Checking for 'wait' instruction... available. NET: Registered protocol family 16 PCI init:ar7240_pcibios_init Reset button pressed. Returning IRQ 48 AR7240 GPIOC major 0 squashfs: version 3.3 (2007/10/31) Phillip Lougher squashfs: LZMA suppport for slax.org by jro Initializing Cryptographic API io scheduler noop registered io scheduler deadline registered Serial: 8250/16550 driver $Revision: #2 $ 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize PPP generic driver version 2.4.2 PPPoX init, max protocols:3 NET: Registered protocol family 24 pppox protocol 0 register. max:3 cmdlinepart partition parsing not available Searching for RedBoot partition table 5 RedBoot partitions found on MTD device ar7240-nor0 Creating 5 MTD partitions on "ar7240-nor0": 0x00000000-0x00020000 : "boot" 0x00020000-0x00120000 : "kernel" 0x00120000-0x003e0000 : "rootfs" 0x003e0000-0x003f0000 : "config" 0x003f0000-0x00400000 : "art" ->Oops: flash id 0x10215 . NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered TCP bic registered NET: Registered protocol family 1 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. Freeing unused kernel memory: 128k freed init started: BusyBox v1.01 (2011.08.04-17:15+0000) multi-call binary Algorithmics/MIPS FPU Emulator v1.5 This board use 2.6.15 ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.4 (256 buckets, 5120 max) - 244 bytes per conntrack ip_conntrack_pptp version 3.1 loaded insmod: cannot open module `/lib/modules/2.6.15/kernel/flashid.ko': No such file or directory pppox protocol 1 register. max:3 PPPoL2TP kernel driver, V0.17. fixed many bug. drop rcv pkts and xmit pkts while no buffer, use pass time HZ/4.only drop ip pkt. no printk. xl2tpd 15 retries xmit. 08.20 PPTP driver version 0.8.3 pppox protocol 2 register. max:3 insmod: cannot open module `/lib/modules/2.6.15/kernel/harmony.ko': No such file or directory insmod: cannot open module `/lib/modules/2.6.15/kernel/cdc-acm.ko': No such file or directory Now flash open! Now flash open! sys_mode=3 mac:8106c000 ag7240_macs[0]:00000000 ag7240_macs[1]:8106c000 2 sys_mode=3 mac:81c90000 ag7240_macs[0]:81c90000 ag7240_macs[1]:8106c000 1 +++ pvid_bitmap initial sys_mode 3 PHY4 auto-negotiation enable Attention: PHY4 Class A setting in debug 5 register which is not described in DS phy_setup ethUnit:0 phyUnit:4 Port 4, Neg Success ATHRS26: resetting s26 ATHRS26: s26 reset done sys_mode 3 PHY0 auto-negotiation enable Attention: PHY 0 Class A setting in debug 5 register which is not described in DS sys_mode 3 PHY1 auto-negotiation enable Attention: PHY 1 Class A setting in debug 5 register which is not described in DS sys_mode 3 PHY2 auto-negotiation enable Attention: PHY 2 Class A setting in debug 5 register which is not described in DS sys_mode 3 PHY3 auto-negotiation enable Attention: PHY 3 Class A setting in debug 5 register which is not described in DS phy_setup ethUnit:1 phyUnit:0 phy_setup ethUnit:1 phyUnit:1 phy_setup ethUnit:1 phyUnit:2 phy_setup ethUnit:1 phyUnit:3 Port 0, Neg Success Port 1, Neg Success Port 2, Neg Success Port 3, Neg Success (none) mips #5 Wed Nov 30 15:23:58 CST 2011 (none) (none) login: device eth0 entered promiscuous mode Now flash open! phy_setup ethUnit:1 phyUnit:0 phy_setup ethUnit:1 phyUnit:1 phy_setup ethUnit:1 phyUnit:2 phy_setup ethUnit:1 phyUnit:3 Port 0, Neg Success Port 1, Neg Success Port 2, Neg Success Port 3, Neg Success ++++ phy_up is 1, fdx is 1, speed is 1 AG7240: enet unit:1 phy:0 is up...Mii 100Mbps full duplex AG7240: enet unit 1 phy 0 mode 0x4c04 br0: port 1(eth0) entering learning state br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state ====>>>>Model: ath_hal.ko, ====>>>>Model: wlan.ko, ====>>>>Model: ath_rate_atheros.ko, ====>>>>Model: ath_dev.ko, ====>>>>Model: ath_pci.ko, ====>>>>Model: wlan_me.ko, ====>>>>Model: ath_pktlog.ko, ====>>>>Model: wlan_xauth.ko, ====>>>>Model: wlan_ccmp.ko, ====>>>>Model: wlan_tkip.ko, ====>>>>Model: wlan_wep.ko, ====>>>>Model: wlan_acl.ko, ====>>>>Model: wlan_scan_sta.ko, ====>>>>Model: wlan_scan_ap.ko, ====>>>>ProductID => 1963982849 ====>>>>sizeof ap81ModelList: 14 ====>>>>Loading ath_hal.ko ath_hal: module license 'Proprietary' taints kernel. ath_hal: 0.9.17.1 (AR5416, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D) ====>>>>Loading wlan.ko wlan: 0.8.4.2 (Atheros/multi-bss) ====>>>>Loading ath_rate_atheros.ko ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ====>>>>Loading ath_dev.ko ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ====>>>>Loading ath_pci.ko ath_pci: 0.9.4.5 (Atheros/multi-bss) wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000 ====>>>>Loading wlan_me.ko wlan_me: Version 0.1 Copyright (c) 2008 Atheros Communications, Inc. All Rights Reserved ====>>>>Loading ath_pktlog.ko ====>>>>Loading wlan_xauth.ko ====>>>>Loading wlan_ccmp.ko ====>>>>Loading wlan_tkip.ko ====>>>>Loading wlan_wep.ko ====>>>>Loading wlan_acl.ko wlan: mac acl policy registered ====>>>>Loading wlan_scan_sta.ko ====>>>>Loading wlan_scan_ap.ko ====>>>>Excute iwpriv wifi0 setCountryID 840 ====>>>>SystemMode : Standard AP ====>>>>Oper_Mode: STARD AP ====>>>>wlanApMode is: 1 ====>>>>Wireless Mode is: 2 ====>>>>Select channel is: 40 ====>>>>Current VAP Name is: ath0 ====>>>>chmodeApMode is: 11NAHT40MINUS ====>>>>cwmmode is: 1 ====>>>>extoffset is: 1 ====>>>>ATH0 Created! Country ie is US maxrate = 150000 Country ie is US br0: port 1(eth0) entering disabled state phy_setup ethUnit:1 phyUnit:0 phy_setup ethUnit:1 phyUnit:1 phy_setup ethUnit:1 phyUnit:2 phy_setup ethUnit:1 phyUnit:3 Port 0, Neg Success Port 1, Neg Success Port 2, Neg Success Port 3, Neg Success device ath0 entered promiscuous mode br0: port 2(ath0) entering learning state br0: topology change detected, propagating br0: port 2(ath0) entering forwarding state br0: port 2(ath0) entering disabled state Country ie is US br0: port 2(ath0) entering learning state br0: topology change detected, propagating br0: port 2(ath0) entering forwarding state ++++ phy_up is 1, fdx is 1, speed is 1 AG7240: enet unit:1 phy:0 is up...Mii 100Mbps full duplex AG7240: enet unit 1 phy 0 mode 0x4c04 br0: port 1(eth0) entering learning state br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state br0: port 2(ath0) entering disabled state Country ie is US br0: port 2(ath0) entering learning state br0: topology change detected, propagating br0: port 2(ath0) entering forwarding state OPERMODE:0**** Ooops, static route igmp error! Ooops, static route igmp error! TL-WA7510N mips #5 Wed Nov 30 15:23:58 CST 2011 (none) TL-WA7510N login:
Interesting solutions
Hardware modding WA7510N to Nanostation M5 (need to rewire the two wires and programming 8MB SPI flash and solder)