找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4812|回复: 7

MW300R V4 的编程器固件和 ART

[复制链接]
发表于 2017-2-24 18:17 | 显示全部楼层 |阅读模式
水星 MW300R V4 的编程器固件和 ART ,也适用与迅捷,普联等等的 AR9341 CPU 的路由器,




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-24 22:01 | 显示全部楼层
支持撸主啊啊啊啊啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-5-31 19:48 | 显示全部楼层
谢谢楼主无私奉献
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 16:34 | 显示全部楼层
顶帖减少损失咯,字数补丁
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-5-24 11:06 | 显示全部楼层
是原厂固件
可惜不是我要的刷机固件
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-5-28 14:55 | 显示全部楼层
我也来看看··
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-11-8 09:40 | 显示全部楼层
本帖最后由 hello_limin 于 2018-11-8 11:02 编辑


=======


qca9561 + qca9887

  1. /*
  2. * TP-Link TL-WDR5600 v3.0 module and development board support
  3. *
  4. * Copyright (C) 2018 Kerwin Lee <kerwin.lee@yandex.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published
  8. * by the Free Software Foundation.
  9. */

  10. #include <linux/pci.h>
  11. #include <linux/phy.h>
  12. #include <linux/gpio.h>
  13. #include <linux/platform_device.h>

  14. #include <asm/mach-ath79/ath79.h>
  15. #include <asm/mach-ath79/ar71xx_regs.h>

  16. #include "common.h"
  17. #include "dev-eth.h"
  18. #include "dev-gpio-buttons.h"
  19. #include "dev-leds-gpio.h"
  20. #include "dev-m25p80.h"
  21. #include "dev-ap9x-pci.h"
  22. #include "dev-wmac.h"
  23. #include "machtypes.h"
  24. #include "pci.h"

  25. #define TL_WDR5600_V3_DEV_GPIO_BTN_RESET        1
  26. #define TL_WDR5600_V3_DEV_GPIO_LED_SYSTEM        19

  27. #define TL_WDR5600_V3_KEYS_POLL_INTERVAL        20 /* msec */
  28. #define TL_WDR5600_V3_KEYS_DEBOUNCE_INTERVAL        (3 * TL_WDR5600_V3_KEYS_POLL_INTERVAL)

  29. #define TL_WDR5600_V3_WMAC_CALDATA_OFFSET        0x1000
  30. #define TL_WDR5600_V3_PCIE_CALDATA_OFFSET        0x5000

  31. static const char *tl_wdr5600_v3_part_probes[] = {
  32.         "tp-link",
  33.         NULL,
  34. };

  35. static struct flash_platform_data tl_wdr5600_v3_flash_data = {
  36.         .part_probes = tl_wdr5600_v3_part_probes,
  37. };

  38. static struct gpio_led tl_wdr5600_v3_dev_gpio_leds[] __initdata = {
  39.         {
  40.                 .name                = "tl-wdr5600-v3:blue:system",
  41.                 .gpio                = TL_WDR5600_V3_DEV_GPIO_LED_SYSTEM,
  42.                 .active_low        = 1,
  43.         },
  44. };

  45. static struct gpio_keys_button tl_wdr5600_v3_dev_gpio_keys[] __initdata = {
  46.         {
  47.                 .desc                        = "reset",
  48.                 .type                        = EV_KEY,
  49.                 .code                        = KEY_RESTART,
  50.                 .debounce_interval        = TL_WDR5600_V3_KEYS_DEBOUNCE_INTERVAL,
  51.                 .gpio                        = TL_WDR5600_V3_DEV_GPIO_BTN_RESET,
  52.                 .active_low                = 1,
  53.         },
  54. };

  55. static void __init ap152_setup(void)
  56. {
  57.         u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);        
  58.         u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);
  59.         u8 tmpmac[ETH_ALEN];

  60.         ath79_register_m25p80(&tl_wdr5600_v3_flash_data);

  61.         /* Ensure 2.4G */
  62.         ath79_init_mac(tmpmac, mac, 1);
  63.         ath79_register_wmac(art + TL_WDR5600_V3_WMAC_CALDATA_OFFSET, tmpmac);

  64.         /* Ensure 5G */
  65.         ath79_register_pci();
  66.         ath79_init_mac(tmpmac, mac, 2);
  67.         ath79_register_wmac(art + TL_WDR5600_V3_PCIE_CALDATA_OFFSET, tmpmac);

  68.         ath79_setup_qca956x_eth_cfg(QCA956X_ETH_CFG_SW_ONLY_MODE);

  69.         ath79_register_mdio(1, 0x0);

  70.         /* WAN Port*/
  71.         ath79_init_mac(ath79_eth0_data.mac_addr, mac, -1);

  72.         /* GMAC0 is connected to the PHY4 of the internal switch, GE0 */
  73.         ath79_switch_data.phy4_mii_en = 1;
  74.         ath79_switch_data.phy_poll_mask |= BIT(4);
  75.         ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
  76.         ath79_eth0_data.phy_mask = BIT(4);
  77.         ath79_eth0_data.mii_bus_dev = &ath79_mdio1_device.dev;
  78.         ath79_register_eth(0);

  79.         /* LAN Port*/        
  80.         ath79_init_mac(ath79_eth1_data.mac_addr, mac, 0);

  81.         /* GMAC1 is connected to the internal switch, GE1 */
  82.         ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII;
  83.         ath79_register_eth(1);
  84. }

  85. static void __init tl_wdr5600_v3_setup(void)
  86. {
  87.         ap152_setup();

  88.         ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wdr5600_v3_dev_gpio_leds),
  89.                                  tl_wdr5600_v3_dev_gpio_leds);

  90.         ath79_register_gpio_keys_polled(-1, TL_WDR5600_V3_KEYS_POLL_INTERVAL,
  91.                                         ARRAY_SIZE(tl_wdr5600_v3_dev_gpio_keys),
  92.                                         tl_wdr5600_v3_dev_gpio_keys);
  93. }

  94. MIPS_MACHINE(ATH79_MACH_TL_WDR5600_V3, "TL-WDR5600-V3", "TP-Link TL-WDR5600 v3.0", tl_wdr5600_v3_setup);
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-6-26 19:56 | 显示全部楼层
水星 MW300R V4
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-23 18:29

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表