找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 15780|回复: 16

大麦DW33D ,TTL救砖求指导.

[复制链接]
发表于 2016-8-8 19:09 | 显示全部楼层 |阅读模式
本帖最后由 xjw1162 于 2016-8-8 20:31 编辑

碰到的问题是:  无法ping通路由器.

开机引导信息
  1. eth1 up
  2. eth0, eth1
  3. Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd.
  4. Ath Nand ID[8ffee17c]: 2c:f1:80:95:04
  5. ONFI MICRON      MT29F1G08ABAEAWP   
  6. Micron NAND 128MiB 3,3V 8-bit [128MB]
  7. ====== NAND Parameters ======
  8. sc = 0x8ffee158 bbt = 0x8ff9c538 bbt_size = 0x100 nf_ctrl = 0x344
  9. page = 0x800 block = 0x20000 oob = 0x40
  10. size = 128MB
  11. Setting 0x18116290 to 0x58b0214f
  12. last reboot failed.

  13. NAND read: device 0 offset 0x6000000, size 16777216 ...  16777216 bytes read: OK
  14. CRC32 for 80060000 ... 80f9ffff ==> b7190af0
  15. Erasing flash...
  16. First 0x5 last 0xfe sector size 0x10000
  17. 254
  18. Erased 250 sectors
  19. Copy to Flash... write addr: 9f050000
复制代码


不知道为什么一开机就erasing flash.

然后进入命令模式
  1. ath> bdinfo
  2. boot_params = 0x8FF6BFB0
  3. memstart    = 0x80000000
  4. memsize     = 0x10000000
  5. flashstart  = 0x9F000000
  6. flashsize   = 0x01000000
  7. flashoffset = 0x0002E194
  8. ethaddr     = 00:AA:BB:CC:DD:EE
  9. ip_addr     = 192.168.1.1
  10. baudrate    = 115200 bps
复制代码

mac地址有点奇怪.

有个tftpboot命令
ath> tftpboot
  1. Trying eth0
  2. eth0 link down
  3. FAIL
  4. Trying eth1
  5. dup 1 speed 1000
  6. *** Warning: no boot file name; using 's'
  7. Using eth1 device
  8. TFTP from server 192.168.1.10; our IP address is 192.168.1.1
  9. Filename '0101A8C0.img'.
  10. Load address: 0x81000000
复制代码

这个意思就是网线插在eth1中,终端指定IP为192.168.1.10
服务器ip为192.168.1.1
文件名0101A8C0.img

无法ping通路由器,目前不知道怎么操作,求教导
完整的命令行支持
  1. ath> help
  2. ?       - alias for 'help'
  3. autoscr - run script from memory
  4. base    - print or set address offset
  5. bdinfo  - print Board Info structure
  6. boot    - boot default, i.e., run 'bootcmd'
  7. bootd   - boot default, i.e., run 'bootcmd'
  8. bootelf - Boot from an ELF image in memory
  9. bootm   - boot application image from memory
  10. bootp   - boot image via network using BootP/TFTP protocol
  11. bootvx  - Boot vxWorks from an ELF image
  12. cmp     - memory compare
  13. coninfo - print console devices and information
  14. cp      - memory copy
  15. crc32   - checksum calculation
  16. dhcp    - invoke DHCP client to obtain IP/boot params
  17. echo    - echo args to console
  18. erase   - erase FLASH memory
  19. ethreg  - Switch/PHY Reg rd/wr  utility
  20. exit    - exit script
  21. flinfo  - print FLASH memory information
  22. go      - start application at address 'addr'
  23. help    - print online help
  24. iminfo  - print header information for application image
  25. itest   - return true/false on integer compare
  26. loop    - infinite loop on address range
  27. mct   - simple RAM test
  28. md      - memory display
  29. mii     - MII utility commands
  30. mm      - memory modify (auto-incrementing)
  31. mtest   - simple RAM test
  32. mw      - memory write (fill)
  33. nand    - NAND sub-system
  34. nboot   - boot from NAND device
  35. nfs     - boot image via network using NFS protocol
  36. nm      - memory modify (constant address)
  37. pci     - list and access PCI Configuration Space
  38. ping    - send ICMP ECHO_REQUEST to network host
  39. pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
  40. pll erase
  41. pll get
  42. printenv- print environment variables
  43. progmac - Set ethernet MAC addresses
  44. progmac2 - Set ethernet MAC addresses
  45. protect - enable or disable FLASH write protection
  46. rarpboot- boot image via network using RARP/TFTP protocol
  47. reset   - Perform RESET of the CPU
  48. run     - run commands in an environment variable
  49. saveenv - save environment variables to persistent storage
  50. setenv  - set environment variables
  51. sleep   - delay execution for some time
  52. test    - minimal test like /bin/sh
  53. tftpboot- boot image via network using TFTP protocol
  54. version - print monitor version
复制代码



我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2016-8-8 20:30 | 显示全部楼层
他自带uboot版本:U-Boot 1.1.4-gfacc17ef-dirty (Sep  4 2015 - 17:55:33)
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-8 20:43 | 显示全部楼层
setenv bootcmd bootm 0x9fe80000
saveenv
reset

点评

再请教下.怎么在ssh中刷不了breed root@Domy:/tmp# cat /proc/mtd dev: size erasesize name mtd0: 00040000 00010000 "u-boot" mtd1: 00010000 00010000 "u-boot-env" mtd2: 00e30000 00010000 "rootf  详情 回复 发表于 2016-8-8 23:11
非常感谢H大大, 已经自动恢复成原厂固件. ttl中是root身份登录. root@Domy:#之类 已经使用passwd修改了root密码.也成功开启了ssh. 正在研究刷你的breed  详情 回复 发表于 2016-8-8 22:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-8-8 22:54 | 显示全部楼层
hackpascal 发表于 2016-8-8 20:43
setenv bootcmd bootm 0x9fe80000
saveenv
reset

非常感谢H大大,
已经自动恢复成原厂固件.
ttl中是root身份登录.

root@Domy:#之类

已经使用passwd修改了root密码.也成功开启了ssh.
正在研究刷你的breed
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-8-8 23:11 | 显示全部楼层
本帖最后由 xjw1162 于 2016-8-9 01:37 编辑
hackpascal 发表于 2016-8-8 20:43
setenv bootcmd bootm 0x9fe80000
saveenv
reset

再请教下.怎么在ssh中刷不了breed

root@Domy:/tmp# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00e30000 00010000 "rootfs"
mtd3: 00170000 00010000 "kernel"
mtd4: 00010000 00010000 "art"
mtd5: 00f90000 00010000 "firmware"
mtd6: 06000000 00020000 "rootfs_data"
mtd7: 02000000 00020000 "backup"

第一个第二个不知道写入哪个
#mtd -r write ./dw33d.bin Bootloader
报错:
Could not open mtd device: Bootloader
Can't open device for writing!

用u-boot 或者mtd0 或者 u-boot-env 都报错.

最后又回到ttl u-boot模式中
使用tftp成功上传到u-boot.
但是没有任何反应.重启之后还是boot.

点评

你这个是固件没解锁的提示,请刷解锁固件 然后 ssh进去,mtd write breed-qca9558-dw33d.bin u-boot 群里有固件214491970 欢迎你,  详情 回复 发表于 2016-9-28 21:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-9-28 21:17 | 显示全部楼层
xjw1162 发表于 2016-8-8 23:11
再请教下.怎么在ssh中刷不了breed

root@Domy:/tmp# cat /proc/mtd

你这个是固件没解锁的提示,请刷解锁固件 然后 ssh进去,mtd write breed-qca9558-dw33d.bin u-boot  群里有固件214491970 欢迎你,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-9-29 03:13 | 显示全部楼层
谢谢分享!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-5-4 11:33 | 显示全部楼层
我也个大麦DW33D,开机指示灯都正常,连电脑无法自己获取IP地址,固定IP可以连接,但是收不到数据,也PING不通,而且五分钟左右就自动重启,请问各位有没有办法解决呢?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-2 00:51 | 显示全部楼层
天堂鸟ST 发表于 2018-5-4 11:33
我也个大麦DW33D,开机指示灯都正常,连电脑无法自己获取IP地址,固定IP可以连接,但是收不到数据,也PING ...

按住恢复键上电,恢复原厂,刷解锁固件,再升级op固件,不可在breed直接刷
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-25 09:17 | 显示全部楼层
TTL 不能中断启动 不能输入命令 问下你们的ttl是3v还是5v?

点评

不要接VCC啊.  详情 回复 发表于 2018-12-9 20:31
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-12-9 20:31 | 显示全部楼层
mdcy 发表于 2018-11-25 09:17
TTL 不能中断启动 不能输入命令 问下你们的ttl是3v还是5v?

不要接VCC啊.

点评

你是怎么中断的  详情 回复 发表于 2018-12-15 09:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-12-15 09:42 | 显示全部楼层

你是怎么中断的

点评

上次TTL已经很久很久了,我都忘记了.后面我自己不是公布了root方案. 然后别人公布了解锁boot固件. 然后还有H大的breed. 已经随便刷固件了...不需要上TTL了. 直接TX RX GDN 不接VCC 好像会自动中断.如果不会  详情 回复 发表于 2018-12-16 15:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-12-16 15:04 | 显示全部楼层

上次TTL已经很久很久了,我都忘记了.后面我自己不是公布了root方案.
然后别人公布了解锁boot固件.
然后还有H大的breed. 已经随便刷固件了...不需要上TTL了.

直接TX RX GDN 不接VCC


好像会自动中断.如果不会,尝试开机后几秒按 一次 reset 键


点评

谢谢, 我的是砖了  详情 回复 发表于 2018-12-16 22:46
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-12-16 22:46 | 显示全部楼层
xjw1162 发表于 2018-12-16 15:04
上次TTL已经很久很久了,我都忘记了.后面我自己不是公布了root方案.
然后别人公布了解锁boot固件.
然后 ...

谢谢, 我的是砖了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-5 15:23 | 显示全部楼层
感谢分享感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 07:39

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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