Differences

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

toh:tp-link:tl-wa7510n [2012/09/12 18:14]
tesla
toh:tp-link:tl-wa7510n [2014/04/22 20:54] (current)
unicorp99
Line 1: Line 1:
====== TP-Link TL-WA7510N ====== ====== TP-Link TL-WA7510N ======
 +
 +===== You should know! =====
 +
 +This is a 5 GHz only outdoor Accesspoint. There is no way to activate 2.4 GHz. You may only use the few first channels. Regulatory restrictions are saying that these channels are for indoor use only. To use the outdoor channels you need DFS, which is not supported by openwrt yet.
 +
 +===== Hardware Highlights =====
 +^ CPU ^ Ram ^ Flash ^ Network ^ Gigabit ^ USB ^ Serial ^ JTag ^
 +| Atheros AR7240  | 32MB | 4MB | 1 (PoE) | No| No| Yes | ? |
 +
 +
 +===== Hardware =====
 +
 +==== Info ====
 +| **[[wp>Instruction set|Architecture]]:**    | [[wp>MIPS architecture|MIPS]] |
 +| **Vendor:**          | [[wp>Qualcomm Atheros]]  |
 +| **[[doc:techref:Bootloader]]:**    | crippled [[doc:techref:bootloader:uboot|U-Boot]] |
 +| **[[doc:hardware:soc|System-On-Chip]]:**  | AR7240 |
 +| **[[doc:hardware:cpu|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:**          | [[#Serial|Yes]]  |
 +| **JTAG:**            | [[#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== ==Chips==
Line 42: Line 73:
Environment size: 359/65532 bytes Environment size: 359/65532 bytes
'' ''
 +
 +==== 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 ===
 +
 +
 +https://www.dropbox.com/s/zhy512i8jvoz261/wa7510nsupport.patch
 +
 +=== bootlog ===
 +
 +coming soon...
 +
 +==== Backfire 10.03.1 ====
== State of work == == State of work ==
Line 82: Line 135:
setenv serverip 192.168.1.100 setenv serverip 192.168.1.100
tftpboot 0x80000000 openwrt-xxx-generic-xxx-squashfs-factory.bin tftpboot 0x80000000 openwrt-xxx-generic-xxx-squashfs-factory.bin
-erase 0x9f020000 +0x332004 +erase 0x9f020000 +0x3c0000 
-cp.b 0x80000000 0x9f020000 0x332004+cp.b 0x80000000 0x9f020000 0x3c0000
bootm 0x9f020000 bootm 0x9f020000
</code> </code>
-Here are the changes:+=== patch ===
-<code> +https://www.dropbox.com/s/2cvlcy4lkebaio1/wa7510n_support.patch
-Index: target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig +
-=================================================================== +
---- target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig (revision 33311) +
-+++ target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig (working copy) +
-@@ -202,6 +202,15 @@ +
- select AR71XX_DEV_USB +
- default n +
-  +
-+config AR71XX_MACH_TL_WA7510N +
-+ bool "TP-LINK TL-WA7510N support" +
-+ select AR71XX_DEV_M25P80 +
-+ select AR71XX_DEV_AR913X_WMAC +
-+ select AR71XX_DEV_GPIO_BUTTONS +
-+ select AR71XX_DEV_LEDS_GPIO +
-+ default n +
-+
-+
- config AR71XX_MACH_TEW_632BRP +
- bool "TRENDnet TEW-632BRP support" +
- select AR71XX_DEV_M25P80 +
-Index: target/linux/ar71xx/files/arch/mips/ar71xx/Makefile +
-=================================================================== +
---- target/linux/ar71xx/files/arch/mips/ar71xx/Makefile (revision 33311) +
-+++ target/linux/ar71xx/files/arch/mips/ar71xx/Makefile (working copy) +
-@@ -45,6 +45,7 @@ +
- obj-$(CONFIG_AR71XX_MACH_TL_WR841N_V1) += mach-tl-wr841n.+
- obj-$(CONFIG_AR71XX_MACH_TL_WR941ND) += mach-tl-wr941nd.+
- obj-$(CONFIG_AR71XX_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o +
-+obj-$(CONFIG_AR71XX_MACH_TL_WA7510N) += mach-tl-wa7510n.o +
- obj-$(CONFIG_AR71XX_MACH_UBNT) += mach-ubnt.o +
- obj-$(CONFIG_AR71XX_MACH_WNDR3700) += mach-wndr3700.o +
- obj-$(CONFIG_AR71XX_MACH_WNR2000) += mach-wnr2000.o +
-Index: target/linux/ar71xx/files/arch/mips/ar71xx/machtype.+
-=================================================================== +
---- target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h (revision 33311) +
-+++ target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h (working copy) +
-@@ -41,6 +41,7 @@ +
- AR71XX_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */ +
- AR71XX_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */ +
- AR71XX_MACH_TL_WR1043ND, /* TP-LINK TL-WR1041ND */ +
-+ AR71XX_MACH_TL_WA7510N, /* TP-LINK TL-WA7510N */ +
- AR71XX_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */ +
- AR71XX_MACH_UBNT_LSX, /* Ubiquiti LSX */ +
- AR71XX_MACH_UBNT_RS, /* Ubiquiti RouterStation */ +
-Index: target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa7510n.c +
-=================================================================== +
---- target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa7510n.c (revision 0) +
-+++ target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa7510n.c (revision 0) +
-@@ -0,0 +1,87 @@ +
-+/* +
-+ *  TP-LINK TL-WA7510N board support +
-+ * +
-+ *  Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org> +
-+ * +
-+ *  This program is free software; you can redistribute it and/or modify it +
-+ *  under the terms of the GNU General Public License version 2 as published +
-+ *  by the Free Software Foundation. +
-+ */ +
-+
-+#include <linux/mtd/mtd.h> +
-+#include <linux/mtd/partitions.h> +
-+
-+#include <asm/mach-ar71xx/ar71xx.h> +
-+
-+#include "machtype.h" +
-+#include "devices.h" +
-+#include "dev-m25p80.h" +
-+#include "dev-pb42-pci.h" +
-+
-+
-+#ifdef CONFIG_MTD_PARTITIONS +
-+static struct mtd_partition tl_wa7510n_partitions[] = { +
-+ { +
-+ .name = "u-boot", +
-+ .offset = 0, +
-+ .size = 0x020000, +
-+ .mask_flags = MTD_WRITEABLE, +
-+ } , { +
-+ .name = "kernel", +
-+ .offset = 0x020000, +
-+ .size = 0x140000, +
-+ } , { +
-+ .name = "rootfs", +
-+ .offset = 0x160000, +
-+ .size = 0x290000, +
-+ } , { +
-+ .name = "art", +
-+ .offset = 0x3f0000, +
-+ .size = 0x010000, +
-+ .mask_flags = MTD_WRITEABLE, +
-+ } , { +
-+ .name = "firmware", +
-+ .offset = 0x020000, +
-+ .size = 0x3d0000, +
-+ } +
-+}; +
-+#endif /* CONFIG_MTD_PARTITIONS */ +
-+
-+static struct flash_platform_data tl_wa7510n_flash_data = { +
-+#ifdef CONFIG_MTD_PARTITIONS +
-+        .parts          = tl_wa7510n_partitions, +
-+        .nr_parts      = ARRAY_SIZE(tl_wa7510n_partitions), +
-+#endif +
-+}; +
-+
-+static void __init tl_wa7510n_setup(void) +
-+{ +
-+ u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); +
-+
-+ ar71xx_add_device_m25p80(&tl_wa7510n_flash_data); +
-+
-+ ar71xx_set_mac_base(mac); +
-+
-+ /* WAN port - not connected */ +
-+ ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; +
-+ ar71xx_eth0_data.speed = SPEED_100; +
-+ ar71xx_eth0_data.duplex = DUPLEX_FULL; +
-+ ar71xx_eth0_data.phy_mask = BIT(4); +
-+
-+ /* LAN ports - the only wired port */ +
-+ ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; +
-+ ar71xx_eth1_data.speed = SPEED_1000; +
-+ ar71xx_eth1_data.duplex = DUPLEX_FULL; +
-+ ar71xx_eth1_data.has_ar7240_switch = 1; //yes, the wired port has a switch +
-+
-+ ar71xx_add_device_mdio(0x0); +
-+ ar71xx_add_device_eth(1); +
-+ ar71xx_add_device_eth(0); +
-+
-+        pb42_pci_init(); +
-+
-+} +
-+MIPS_MACHINE(AR71XX_MACH_TL_WA7510N, "TL-WA7510N", "TP-LINK TL-WA7510N", +
-+     tl_wa7510n_setup); +
-+
-+
-Index: target/linux/ar71xx/image/Makefile +
-=================================================================== +
---- target/linux/ar71xx/image/Makefile (revision 33311) +
-+++ target/linux/ar71xx/image/Makefile (working copy) +
-@@ -496,6 +496,10 @@ +
- $(call Image/Build/Template/$(fs_4k)/$(1),TPLINK,tl-mr3420-v1,board=TL-MR3420,TL-MR3420v1) +
- endef +
-  +
-+define Image/Build/Profile/TLWA7510NV1 +
-+ $(call Image/Build/Template/$(fs_squash)/$(1),TPLINK,tl-wa7510n,board=TL-WA7510N,TL-WA7510Nv1) +
-+endef +
-+
- define Image/Build/Profile/TLWR741NDV1 +
- $(call Image/Build/Template/$(fs_4k)/$(1),TPLINK,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1) +
- endef +
-@@ -571,6 +575,7 @@ +
- $(call Image/Build/Profile/TEW632BRP,$(1)) +
- $(call Image/Build/Profile/TEW652BRP,$(1)) +
- $(call Image/Build/Profile/TLMR3420V1,$(1)) +
-+ $(call Image/Build/Profile/TLWA7510NV1,$(1)) +
- $(call Image/Build/Profile/TLWR741NDV1,$(1)) +
- $(call Image/Build/Profile/TLWR740NV1,$(1)) +
- $(call Image/Build/Profile/TLWR841NV15,$(1)) +
-Index: target/linux/ar71xx/profiles/tp-link.mk +
-=================================================================== +
---- target/linux/ar71xx/profiles/tp-link.mk (revision 33311) +
-+++ target/linux/ar71xx/profiles/tp-link.mk (working copy) +
-@@ -115,3 +115,18 @@ +
- endef +
-  +
- $(eval $(call Profile,TLWR1043NDV1)) +
-+
-+
-+
-+define Profile/TLWA7510NV1 +
-+ NAME:=TP-LINK TL-WA7510N v1 +
-+ PACKAGES:= +
-+endef +
-+
-+define Profile/TLWA7510NV1/Description +
-+ Package set optimized for the TP-LINK TL-WA7510N v1. +
-+endef +
-+
-+$(eval $(call Profile,TLWA7510NV1)) +
-+
-+
-Index: target/linux/ar71xx/base-files/lib/ar71xx.sh +
-=================================================================== +
---- target/linux/ar71xx/base-files/lib/ar71xx.sh (revision 33311) +
-+++ target/linux/ar71xx/base-files/lib/ar71xx.sh (working copy) +
-@@ -88,6 +88,9 @@ +
- *TL-WR1043ND) +
- name="tl-wr1043nd" +
- ;; +
-+ *TL-WA7510N) +
-+ name="tl-wa7510n" +
-+ ;; +
- *"DIR-615 rev. C1") +
- name="dir-615-c1" +
- ;; +
-Index: target/linux/ar71xx/base-files/lib/upgrade/platform.sh +
-=================================================================== +
---- target/linux/ar71xx/base-files/lib/upgrade/platform.sh (revision 33311) +
-+++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh (working copy) +
-@@ -76,7 +76,7 @@ +
-+
- return 0 +
- ;; +
-- tl-mr3420 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) +
-+ tl-mr3420 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd | tl-wa7510n) +
- [ "$magic" != "0100" ] && { +
- echo "Invalid image type." +
- return 1 +
-Index: target/linux/ar71xx/config-2.6.32 +
-=================================================================== +
---- target/linux/ar71xx/config-2.6.32 (revision 33311) +
-+++ target/linux/ar71xx/config-2.6.32 (working copy) +
-@@ -31,6 +31,7 @@ +
- CONFIG_AR71XX_MACH_RB750=y +
- CONFIG_AR71XX_MACH_TEW_632BRP=y +
- CONFIG_AR71XX_MACH_TL_MR3420=y +
-+CONFIG_AR71XX_MACH_TL_WA7510N=y +
- CONFIG_AR71XX_MACH_TL_WR1043ND=y +
- CONFIG_AR71XX_MACH_TL_WR741ND=y +
- CONFIG_AR71XX_MACH_TL_WR841N_V1=y +
-@@ -102,7 +103,6 @@ +
- CONFIG_DMA_NEED_PCI_MAP_STATE=y +
- CONFIG_DMA_NONCOHERENT=y +
- CONFIG_EARLY_PRINTK=y +
--# CONFIG_FSNOTIFY is not set +
- CONFIG_GENERIC_CLOCKEVENTS=y +
- CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +
- CONFIG_GENERIC_CMOS_UPDATE=y +
-@@ -128,12 +128,12 @@ +
- CONFIG_I2C_ALGOBIT=y +
- CONFIG_I2C_BOARDINFO=y +
- CONFIG_I2C_GPIO=y +
--CONFIG_IP17XX_PHY=y +
- CONFIG_IMAGE_CMDLINE_HACK=y +
- # CONFIG_INITRAMFS_COMPRESSION_LZO is not set +
- CONFIG_INITRAMFS_ROOT_GID=0 +
- CONFIG_INITRAMFS_ROOT_UID=0 +
- CONFIG_INITRAMFS_SOURCE="../../root" +
-+CONFIG_IP17XX_PHY=y +
- CONFIG_IRQ_CPU=y +
- # CONFIG_LEDS_GPIO is not set +
- # CONFIG_LEDS_RB750 is not set +
-@@ -194,7 +194,6 @@ +
- # CONFIG_PMC_YOSEMITE is not set +
- # CONFIG_PNX8550_JBS is not set +
- # CONFIG_PNX8550_STB810 is not set +
--# CONFIG_PROBE_INITRD_HEADER is not set +
- CONFIG_RTL8306_PHY=y +
- CONFIG_RTL8366RB_PHY=y +
- CONFIG_RTL8366S_PHY=y +
-@@ -238,7 +237,6 @@ +
- CONFIG_TRAD_SIGNALS=y +
- # CONFIG_TREE_PREEMPT_RCU is not set +
- CONFIG_TREE_RCU=y +
--CONFIG_USB_SUPPORT=y +
- CONFIG_YAFFS_9BYTE_TAGS=y +
- CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y +
- CONFIG_YAFFS_AUTO_YAFFS2=y +
-Index: tools/firmware-utils/src/mktplinkfw.c +
-=================================================================== +
---- tools/firmware-utils/src/mktplinkfw.c (revision 33311) +
-+++ tools/firmware-utils/src/mktplinkfw.c (working copy) +
-@@ -43,6 +43,8 @@ +
- #define HWID_TL_WR941ND_V4 0x09410004 +
- #define HWID_TL_WR1043ND_V1 0x10430001 +
-  +
-+#define HWID_TL_WA7510N_V1 0x75100001 //new +
-+
- #define MD5SUM_LEN 16 +
-  +
- struct file_info { +
-@@ -183,6 +185,14 @@ +
- .kernel_ep = 0x80060000, +
- .rootfs_ofs = 0x140000, +
- }, { +
-+ .id = "TL-WA7510Nv1", +
-+ .hw_id = HWID_TL_WA7510N_V1, +
-+ .hw_rev = 1, +
-+ .fw_max_len = 0x3c0000, +
-+ .kernel_la = 0x80060000, +
-+ .kernel_ep = 0x80060000, +
-+ .rootfs_ofs = 0x140000, +
-+ }, { +
- /* terminating entry */ +
-+
- };+
-</code> 
 +==== OEM bootlog ====
This is the serial (115200 baud) console output booting original TP-Link-FW: This is the serial (115200 baud) console output booting original TP-Link-FW:
-'' +<HTML> 
-U-Boot 1.1.4 (Nov 30 2011 - 15:23:30)+<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF"> 
 +<code>U-Boot 1.1.4 (Nov 30 2011 - 15:23:30)
AP91 (ar7240) U-boot AP91 (ar7240) U-boot
Line 649: Line 416:
TL-WA7510N mips #5 Wed Nov 30 15:23:58 CST 2011 (none) TL-WA7510N mips #5 Wed Nov 30 15:23:58 CST 2011 (none)
TL-WA7510N login: TL-WA7510N login:
-''+</code> 
 +</p> 
 +</HTML> 
 + 
 + 
 +===== Interesting solutions ===== 
 + 
 +Hardware modding WA7510N to Air Grid M5 (need to rewire the two wires and programming 8MB SPI flash and solder) 
 + 
 +[[http://wa7510n.blogspot.com]] 
 + 
 +===== Tags ===== 
 +---- 
 +{{tag>FastEthernet 1NIC 1WNIC no_switch serial integrated 802.11a AR7240 ath9k 1Ant 32RAM 4Flash MIPS MIPS32 24k POE outdoor DetachableAntenna InternalAntenna}}

Back to top

toh/tp-link/tl-wa7510n.1347466471.txt.bz2 · Last modified: 2012/09/12 18:14 by tesla