找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4641|回复: 5

求救 !WZR-HP-G302H通过TTL无法刷机

[复制链接]
发表于 2015-1-8 19:13 | 显示全部楼层 |阅读模式
郁闷啊 以前一直用的DD  这段时间没事就想换OPENWRT玩玩  从DD里无法直接升级到OPENWRT 所以就想用TTL 刷机下
问题来了!  连接好小板后 连接开机没有BOOT的引导信息只有系统启动的信息 谁知道怎么回事

本帖子中包含更多资源

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

×
发表于 2015-1-8 19:40 来自手机 | 显示全部楼层
参见openwrt wiki   ,需要改参数

点评

老大 请详细指导下 搞了一天了 都没搞定  详情 回复 发表于 2015-1-8 20:08
 楼主| 发表于 2015-1-8 20:08 | 显示全部楼层
麦门冬 发表于 2015-1-8 19:40
参见openwrt wiki   ,需要改参数

老大 请详细指导下 搞了一天了 都没搞定
发表于 2015-1-8 20:27 | 显示全部楼层
我记得这货不用TTL,直接TFTP刷回原厂,然后从原厂刷到OP即可。

点评

关键是这货识别地区啊 直接刷显示"不支持区域"  详情 回复 发表于 2015-1-8 20:36
 楼主| 发表于 2015-1-8 20:36 | 显示全部楼层
J梦视觉 发表于 2015-1-8 20:27
我记得这货不用TTL,直接TFTP刷回原厂,然后从原厂刷到OP即可。

关键是这货识别地区啊 直接刷显示"不支持区域"
发表于 2015-1-8 22:09 | 显示全部楼层
本帖最后由 麦门冬 于 2015-1-8 22:46 编辑

根据openwrt wiki,可确定日版的uboot锁了,不但不接受tftp固件,而且还不提供ttl(serial console)。http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300nh2#revision_a1a0_and_wzr-hp-g302h_a1a0_japanese_variant

Similarly to Japanese variant of WZR-HP-G300NH, A1A0 comes with locked buffalo u-boot v1.08 (based on U-Boot 1.1.4 for BUFFALO AIRSTATION, PB93), see http://wiki.openwrt.org/toh/buff ... rt.time.tftp.window for details. Furthermore, this newest buffalo u-boot BS does not even provide serial console at boot time! But TFTP "blind" flash to OpenWRT was possible when accept_open_rt_fmt=1 was set (tested and confirmed ok with r31678 squashfs, try it at your own risk). Also, it is possible to circumvent serial console lock by setting force_uart variable in a similar manner to accept_open_rt_fmt.

使uboot可接受固件,可以参照 http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h
Also, there is a way to set u-boot variables without serial access. Japanesse and other languages OAM "user frendly" firmware have special hidden maintenance page, accessible at http://your.router.ip.address/cg ... =py-db/55debug.html, with special username (bufpy) and password (otdpopy+<root password if any>) log-in required. Make sure you don't have the usual root athenticated WEB session active (clear the browser cache), otherwise you would receive an empty page saying "—- UNDER CONSTRUCTION — ". Now, one can activate telnetd by clicking the link, and access the OAM OS by telnet. Once there, one can use a command "ubootenv" to set above mentioned variables without trouble (tested & confirmed OK on Japanese WZR-HP-G300NH A0 A1, u-boot 1.02).



大意是   
1.先刷成官方固件("user frendly" firmware)
2.清空浏览器缓存
3.打开http://你的路由ip/cgi-bin/cgi?req=frm&frm=py-db/55debug.html   用户名 bufpy 密码 otdpopy+<root账户的密码>
4.如果看到显示—- UNDER CONSTRUCTION —   那么你就可以 telnet到路由上
5.使uboot接受固件

  1. ar7100> setenv accept_open_rt_fmt 1
  2. ar7100> saveenv
  3. ar7100> reset
复制代码


6.使TFTP窗口时间延长为4秒
  1. ar7100> setenv tftp_wait 4
  2. ar7100> saveenv
  3. ar7100> reset
复制代码

以上内容仅为翻译,手头没有机器,无法保证其可行性。
建议仔细看看openwrt官方wiki
Try it at your own risk.





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

本版积分规则

关闭

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

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

GMT+8, 2024-5-29 03:42

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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