tew-632brp)
status_led="tew-632brp:green:status"
;;
+ tl-wr1043nd)
+ status_led="tl-wr1043nd:green:system"
+ ;;
tl-wr741nd)
status_led="tl-wr741nd:green:system"
;;
*TEW-632BRP)
name="tew-632brp"
;;
+ *TL-WR1043ND)
+ name="tl-wr1043nd"
+ ;;
*TL-WR741ND)
name="tl-wr741nd"
;;
}
return 0
;;
- tl-wr741nd | tl-wr941nd)
+ tl-wr741nd | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1
CONFIG_AR71XX_MACH_PB44=y
CONFIG_AR71XX_MACH_RB_4XX=y
CONFIG_AR71XX_MACH_TEW_632BRP=y
+CONFIG_AR71XX_MACH_TL_WR1043ND=y
CONFIG_AR71XX_MACH_TL_WR741ND=y
CONFIG_AR71XX_MACH_TL_WR941ND=y
CONFIG_AR71XX_MACH_UBNT=y
CONFIG_AR71XX_MACH_PB44=y
CONFIG_AR71XX_MACH_RB_4XX=y
CONFIG_AR71XX_MACH_TEW_632BRP=y
+CONFIG_AR71XX_MACH_TL_WR1043ND=y
CONFIG_AR71XX_MACH_TL_WR741ND=y
CONFIG_AR71XX_MACH_TL_WR941ND=y
CONFIG_AR71XX_MACH_UBNT=y
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
} , {
- .name = "firmware",
+ .name = "firmware",
.offset = 0x020000,
.size = 0x7d0000,
}
static struct flash_platform_data tl_wr1043nd_flash_data = {
#ifdef CONFIG_MTD_PARTITIONS
- .parts = tl_wr1043nd_partitions,
- .nr_parts = ARRAY_SIZE(tl_wr1043nd_partitions),
+ .parts = tl_wr1043nd_partitions,
+ .nr_parts = ARRAY_SIZE(tl_wr1043nd_partitions),
#endif
};
ar71xx_eth0_data.phy_mask = 0x0;
ar71xx_eth0_data.speed = SPEED_1000;
ar71xx_eth0_data.duplex = DUPLEX_FULL;
-
+
ar71xx_add_device_eth(0);
-
+
ar71xx_add_device_usb();
-
+
ar71xx_add_device_spi(NULL, tl_wr1043nd_spi_info,
ARRAY_SIZE(tl_wr1043nd_spi_info));
AR71XX_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
AR71XX_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
AR71XX_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
- AR71XX_MACH_TL_WR1043ND,/* TP-LINK TL-WR1041ND */
+ AR71XX_MACH_TL_WR1043ND, /* TP-LINK TL-WR1041ND */
AR71XX_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */
AR71XX_MACH_UBNT_LSX, /* Ubiquiti LSX */
AR71XX_MACH_UBNT_RS, /* Ubiquiti RouterStation */
define Profile/TLWR1043NDV1
NAME:=TP-LINK TL-WR1043ND v1
- PACKAGES:=kmod-ath9k hostapd-mini
+ PACKAGES:=kmod-ath9k hostapd-mini kmod-usb-core kmod-usb2
endef
define Profile/TLWR1043NDV1/Description
#define HWID_TL_WR841ND_V3 0x08410003
#define HWID_TL_WR841ND_V5 0x08410005
#define HWID_TL_WR941ND_V2 0x09410002
-#define HWID_TL_WR1043ND_V1 0x10430001
+#define HWID_TL_WR1043ND_V1 0x10430001
#define MD5SUM_LEN 16