找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 10746|回复: 26

740N/150R 720N 等 9331 Soc 可用的 的编程器固件

[复制链接]
发表于 2013-4-26 07:38 | 显示全部楼层 |阅读模式
本帖最后由 Zinc 于 2014-2-22 20:03 编辑

发布一个我的AR9331的8M/16M编程器固件,功能全部完美,包括指示灯
提供的sysupgrade版本也可用于8M以上Flash

PS: 均需要硬改路由为64M的内存

16M编程器固件
http://www.kuaipan.cn/file/id_4697053544430506.htm

8M编程器固件
http://www.kuaipan.cn/file/id_4697053544430500.htm

升级固件(仅能用于8M以上原来为openwrt的固件)
http://www.kuaipan.cn/file/id_4697053544394318.htm 访问密码:2hoPmM


8M 720N 改机64M内存的
http://www.kuaipan.cn/file/id_4697053544430491.htm 升级包
http://www.kuaipan.cn/file/id_4697053544430497.htm  编程器固件

固件支持USB,摄像头,PPTP服务器,解锁uboot,增加fullflash,  但是未集成虚拟多播,可以实现物理多播(4WAN, 1LAN),需要改配置。

16M的UBOOT使用的703的uboot,测试完美运行。

按着WPS会恢复出厂设置,如果有密码的话,我也不记得啥密码了,恢复出厂就没有了

本帖子中包含更多资源

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

×
发表于 2013-4-26 07:57 | 显示全部楼层
群友啊沙发
发表于 2013-4-26 08:02 | 显示全部楼层
支持楼主
发表于 2013-4-26 08:28 来自手机 | 显示全部楼层
谢谢楼主
顺便问下16m的flash用什么型号的
 楼主| 发表于 2013-4-26 09:28 | 显示全部楼层
W25Q128FVSSIG 全新原装正品 SOP8 5.2MM 25Q128FVSG 最新版
       
发表于 2013-4-26 09:34 | 显示全部楼层
嗯  支持下 ~这个可以有   我还是用我的743ND吧  不折腾了
发表于 2013-4-26 20:29 | 显示全部楼层
zhouweigsh 发表于 2013-4-26 07:57
群友啊沙发

支持楼主
 楼主| 发表于 2013-4-30 08:21 | 显示全部楼层
新增8M编程器固件,用的朋友帮忙测试下哦:)
发表于 2013-4-30 09:30 来自手机 | 显示全部楼层
谢谢楼主,试试看。
发表于 2013-5-1 00:54 | 显示全部楼层
本帖最后由 风铃夜思雨 于 2013-5-1 01:34 编辑

快盘无法下载,传个到百度网盘吧...

我这样改了, 编译出来不能用, 启动一半,  TTL就开始乱码, 前面部份都正常
LED的GPIO可能也不对...
能公开你的的mach-*.c  属于这机型的内容看看么
  1. /*
  2. *  TP-LINK TL-WR740NV6 board support
  3. *
  4. *  Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
  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/gpio.h>

  11. #include <asm/mach-ath79/ath79.h>
  12. #include <asm/mach-ath79/ar71xx_regs.h>

  13. #include "dev-eth.h"
  14. #include "dev-gpio-buttons.h"
  15. #include "dev-leds-gpio.h"
  16. #include "dev-m25p80.h"
  17. #include "dev-usb.h"
  18. #include "dev-wmac.h"
  19. #include "machtypes.h"

  20. #define TL_WR740NV6_GPIO_BTN_RESET        11
  21. #define TL_WR740NV6_GPIO_BTN_WPS        26

  22. #define TL_WR740NV6_GPIO_LED_WLAN        0
  23. #define TL_WR740NV6_GPIO_LED_QSS        1
  24. #define TL_WR740NV6_GPIO_LED_WAN        13
  25. #define TL_WR740NV6_GPIO_LED_LAN1        14
  26. #define TL_WR740NV6_GPIO_LED_LAN2        15
  27. #define TL_WR740NV6_GPIO_LED_LAN3        16
  28. #define TL_WR740NV6_GPIO_LED_LAN4        17
  29. #define TL_WR740NV6_GPIO_LED_SYSTEM        27

  30. #define TL_WR740NV6_GPIO_USB_POWER        8

  31. #define TL_WR740NV6_KEYS_POLL_INTERVAL        20        /* msecs */
  32. #define TL_WR740NV6_KEYS_DEBOUNCE_INTERVAL        (3 * TL_WR740NV6_KEYS_POLL_INTERVAL)

  33. static const char *tl_wr740nv6_part_probes[] = {
  34.         "tp-link",
  35.         NULL,
  36. };

  37. static struct flash_platform_data tl_wr740nv6_flash_data = {
  38.         .part_probes        = tl_wr740nv6_part_probes,
  39. };

  40. static struct gpio_led tl_wr740nv6_leds_gpio[] __initdata = {
  41.         {
  42.                 .name                = "tp-link:green:lan1",
  43.                 .gpio                = TL_WR740NV6_GPIO_LED_LAN1,
  44.                 .active_low        = 1,
  45.         }, {
  46.                 .name                = "tp-link:green:lan2",
  47.                 .gpio                = TL_WR740NV6_GPIO_LED_LAN2,
  48.                 .active_low        = 1,
  49.         }, {
  50.                 .name                = "tp-link:green:lan3",
  51.                 .gpio                = TL_WR740NV6_GPIO_LED_LAN3,
  52.                 .active_low        = 1,
  53.         }, {
  54.                 .name                = "tp-link:green:lan4",
  55.                 .gpio                = TL_WR740NV6_GPIO_LED_LAN4,
  56.                 .active_low        = 1,
  57.         }, {
  58.                 .name                = "tp-link:green:qss",
  59.                 .gpio                = TL_WR740NV6_GPIO_LED_QSS,
  60.                 .active_low        = 1,
  61.         }, {
  62.                 .name                = "tp-link:green:system",
  63.                 .gpio                = TL_WR740NV6_GPIO_LED_SYSTEM,
  64.                 .active_low        = 1,
  65.         }, {
  66.                 .name                = "tp-link:green:wan",
  67.                 .gpio                = TL_WR740NV6_GPIO_LED_WAN,
  68.                 .active_low        = 1,
  69.         }, {
  70.                 .name                = "tp-link:green:wlan",
  71.                 .gpio                = TL_WR740NV6_GPIO_LED_WLAN,
  72.                 .active_low        = 1,
  73.         },
  74. };

  75. static struct gpio_keys_button tl_wr740nv6_gpio_keys[] __initdata = {
  76.         {
  77.                 .desc                = "reset",
  78.                 .type                = EV_KEY,
  79.                 .code                = KEY_RESTART,
  80.                 .debounce_interval = TL_WR740NV6_KEYS_DEBOUNCE_INTERVAL,
  81.                 .gpio                = TL_WR740NV6_GPIO_BTN_RESET,
  82.                 .active_low        = 0,
  83.         }, {
  84.                 /* the WPS button is only present on the WR740N v6 */
  85.                 .desc                = "WPS",
  86.                 .type                = EV_KEY,
  87.                 .code                = KEY_WPS_BUTTON,
  88.                 .debounce_interval = TL_WR740NV6_KEYS_DEBOUNCE_INTERVAL,
  89.                 .gpio                = TL_WR740NV6_GPIO_BTN_WPS,
  90.                 .active_low        = 0,
  91.         }
  92. };

  93. static void __init tl_wr740nv6_setup(void)
  94. {
  95.         u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
  96.         u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);

  97.         /* disable PHY_SWAP and PHY_ADDR_SWAP bits */
  98.         ath79_setup_ar933x_phy4_switch(true, true);

  99.         ath79_gpio_function_disable(AR933X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
  100.                                     AR933X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
  101.                                     AR933X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
  102.                                     AR933X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
  103.                                     AR933X_GPIO_FUNC_ETH_SWITCH_LED4_EN);

  104.         ath79_register_m25p80(&tl_wr740nv6_flash_data);

  105.         ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wr740nv6_leds_gpio) - 1,
  106.                                  tl_wr740nv6_leds_gpio);
  107.         ath79_register_gpio_keys_polled(1, TL_WR740NV6_KEYS_POLL_INTERVAL,
  108.                                         ARRAY_SIZE(tl_wr740nv6_gpio_keys),
  109.                                         tl_wr740nv6_gpio_keys);

  110.         gpio_request_one(TL_WR740NV6_GPIO_USB_POWER,
  111.                          GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED,
  112.                          "USB power");
  113.         ath79_register_usb();

  114.         ath79_init_mac(ath79_eth0_data.mac_addr, mac, 1);
  115.         ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1);

  116.         ath79_register_mdio(0, 0x0);
  117.         ath79_register_eth(0);

  118.         ath79_register_wmac(ee, mac);
  119. }

  120. MIPS_MACHINE(ATH79_MACH_TL_WR740N_V6, "TL-WR740N", "TP-LINK TL-WR740N v6",
  121.              tl_wr740nv6_setup);
复制代码
 楼主| 发表于 2013-5-1 10:21 | 显示全部楼层
本帖最后由 Zinc 于 2013-5-1 12:32 编辑

本人看不起baidu, 快盘用密码登录就可以了,而且不需要登录你的账户
相关代码参考741的就可以了
发表于 2013-5-5 19:02 | 显示全部楼层
感谢楼主 我也下个来看看 我的机器是MW150R V8.2版本
发表于 2013-5-8 10:42 | 显示全部楼层
感谢LZ 你人真是太好了
发表于 2013-5-8 17:37 | 显示全部楼层
支持楼主,谢谢楼主。
发表于 2013-6-5 17:48 | 显示全部楼层
用户名和
密码多少
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-5-29 18:07

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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