找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3391|回复: 8

HG255D TTL刷机无法进入命令模式

[复制链接]
本帖最后由 guoyang0 于 2016-12-22 21:19 编辑

半砖的HG255D用TTL刷机走到这步遇到的键盘输入无效的情况,并且系统会快速自动选择第3选项,求大神给解决方法。或者是3和4选项的能换一下,让系统自动选择的是4.





U-Boot 1.1.3 (Jan 18 2013 - 13:45:38)

SoC:Ralink RT3052
DRAM:  Memory Testing.......32768K OK. is 32 MB
relocate_code Pointer at: 81fa8000
config usb..

Flash JEDEC Info:
Manufacturer ID:0x00000001
Device ID:0x0000227E
Mode ID:0x00002221
Part ID:0x00002201

FLASH:S29GL128P/N, SIZE:16 MBytes SECTOR:128
S29GLXXX:set sect_size =0x20000
*** Warning - bad CRC, using default environment

______________________________________________________
|   ____                           ____              |
|  |  _ \ _ __ ___  __ _ _ __ ___ | __ )  _____  __  |
|  | | | | '__/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /  |
|  | |_| | | |  __/ (_| | | | | | | |_) | (_) >  <   |
|  |____/|_|  \___|\__,_|_| |_| |_|____/ \___/_/\_\  |
|                                                    |
|                 DreamBox Team                      |
|           http://www.openwrt.org.cn                |
|              Board:HuaWei HG255D                   |
|                                                    |
|          lintel<lintel.huang@gmail.com>            |
|____________________________________________________|

===============System Info==================
ASIC 3052_MP2 (Port5<->None)
DRAM component: 256 Mbits SDR
DRAM bus: 32 bit
Flash component: NOR Flash
CPU Speed: 320 MHZ
RAM Size:32 Mbytes

Build Date:Jan 18 2013  Time:13:45:38
============================================

GPIO Init:
        UARTF_SHARE_MODE:GPIO
        SPI_GPIO_MODE:GPIO
        I2C_GPIO_MODE:GPIO

GPIO_MODE_REG status:0x29f
ReadyLED Bit:0x100

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.

You choosed 3

0
   
3: System Boot system code via Flash.

Press Reset button enter upgrade mode!
## Booting image at bf080000 ...
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3196612 Bytes =  3 MB
   Load Address: 80000000
   Entry Point:  8023a000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ...

U-Boot 1.1.3 (Jan 18 2013 - 13:45:38)

SoC:Ralink RT3052
DRAM:  Memory Testing.......32768K OK. is 32 MB
relocate_code Pointer at: 81fa8000
config usb..

Flash JEDEC Info:
Manufacturer ID:0x00000001
Device ID:0x0000227E
Mode ID:0x00002221
Part ID:0x00002201

FLASH:S29GL128P/N, SIZE:16 MBytes SECTOR:128
S29GLXXX:set sect_size =0x20000
*** Warning - bad CRC, using default environment

______________________________________________________
|   ____                           ____              |
|  |  _ \ _ __ ___  __ _ _ __ ___ | __ )  _____  __  |
|  | | | | '__/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /  |
|  | |_| | | |  __/ (_| | | | | | | |_) | (_) >  <   |
|  |____/|_|  \___|\__,_|_| |_| |_|____/ \___/_/\_\  |
|                                                    |
|                 DreamBox Team                      |
|           http://www.openwrt.org.cn                |
|              Board:HuaWei HG255D                   |
|                                                    |
|          lintel<lintel.huang@gmail.com>            |
|____________________________________________________|

===============System Info==================
ASIC 3052_MP2 (Port5<->None)
DRAM component: 256 Mbits SDR
DRAM bus: 32 bit
Flash component: NOR Flash
CPU Speed: 320 MHZ
RAM Size:32 Mbytes

Build Date:Jan 18 2013  Time:13:45:38
============================================

GPIO Init:
        UARTF_SHARE_MODE:GPIO
        SPI_GPIO_MODE:GPIO
        I2C_GPIO_MODE:GPIO

GPIO_MODE_REG status:0x29f
ReadyLED Bit:0x100

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.

You choosed 3

0
   
3: System Boot system code via Flash.

Press Reset button enter upgrade mode!
## Booting image at bf080000 ...
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3196612 Bytes =  3 MB
   Load Address: 80000000
   Entry Point:  8023a000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8023a000) ...
## Giving linux memsize in MB, 32

Starting kernel ...


LINUX started...

THIS IS ASIC
Linux version 2.6.21 (lintel@lintel-NoteBook) (gcc version 3.4.2) #18 Thu Apr 26 17:12:18 CST 2012

The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 40808020, status = 11000000
PID hash table entries: 128 (order: 7, 512 bytes)
calculating r4koff... 00138800(1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 27656k/32768k available (2007k kernel code, 5112k reserved, 268k data, 2452k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
detected lzma initramfs
detected lzma initramfs
initramfs: LZMA lc=3,lp=0,pb=2,dictSize=1048576,origSize=10705408
LZMA initramfs by Ming-Ching Tiew <mctiew@yahoo.com>....................................................................................................................................................................<5>ralink flash device: 0x1000000 at 0x1f000000
Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Ralink SoC physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 9 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x01000000 : "ALL"
0x00000000-0x00040000 : "U-boot"
0x00fe0000-0x01000000 : "Config"
0x00060000-0x00080000 : "Factory"
0x00080000-0x00100000 : "firmware"
0x00020000-0x00080000 : "Factory"
0x00000000-0x00020000 : "u-boot-old"
0x00fa0000-0x00fc0000 : "Factory-old"
0x00800000-0x00820000 : "firmware-old"
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.7 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
rdm_major = 254
MAC_ADRH -- : 0x00000000
MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.0  256 rxfile:///C:\Users\ADMINI~1\AppData\Local\Temp\LY6DR3ISJE0)6K)L)]~VIZK.gif descriptors allocated, mtu = 1500!
MAC_ADRH -- : 0x0000000c
MAC_ADRL -- : 0x43305277
PROC INIT OK!
IMQ starting with 2 devices...
IMQ driver loaded successfully.
        Hooking IMQ after NAT on PREROUTING.
        Hooking IMQ before NAT on POSTROUTING.
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.1
block2mtd: version $Revision: 1.1.1.1 $
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 2452k freed
init started: BusyBox v1.12.1 (2012-04-23 08:32Algorithmics/MIPS FPU Emulator v1.5
:28 CST)
starting pid 11, tty '': '/etc_ro/rcS'
mount: mounting devpts: called with bogus options
none on /sys failed: No such device
mount: mounting none on /procfile:///C:\Users\ADMINI~1\AppData\Local\Temp\OOY5$4OW5H`8`9%(9$)T67M.gifs/usb failed: No such file or directory
---------------------------------------------------
           _.-"._
        _-: ()   ":_
     _-"'. '.   _"  :-_
   -"     '.-.'-. .'   "-_
  |"_()   _')..'  ()   -"|
  J  "_ .'  .''. '.    -"  F
   L   "_ .' () '. '_-" o J
   | o ' "-_     _:":     |
    "_ L '  "-.-" | J  _-"
      "| J    F ()J :-"
        "| () J   :-"
          "-_ | _"
             "-"
---Dreambox Ralink Platform 2012--------------------
  * lintel(lintel.huang@gmail.com).
  * yuef zhu(flyzjhz@gmail.com).
----------------------------------------------------
Commit crc = f8a83068
starting pid 22, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2012-04-23 08:32:28 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# internet.sh
Password for 'admin' changed
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found

phy_tx_ring = 0x010bb000, tx_ring = 0xa10bb000

phy_rx_ring0 = 0x010bc000, rx_ring0 = 0xa10bc000
RT305x_ESW: Link Status Changed
CDMA_CSG_CFG = 81000007
GDMA1_FWD_CFG = 710000

##### disable 1st wireless interface #####
rmmod: rt2860v2_ap_net: No such file or directory
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_ap_util: No such file or directory
rmmod: rt2860v2_sta_net: No such file or directory
rmmod: rt2860v2_sta: No such file or directory
rmmod: rt2860v2_sta_util: No such file or directory
Commit crc = f8a83068
insmod: rt2860v2_ap_util.ko: module not found
rt2860v2_ap: module license 'unspecified' taints kernel.
AP Driver version-2.3.0.0
insmod: rt2860v2_ap_net.ko: module not found
rmmod: nf_nat_pptp: No such file or directory
rmmod: nf_conntrack_pptp: No such file or directory
rmmod: nf_nat_proto_gre: No such file or directory
rmmod: nf_conntrack_proto_gre: No such file or directory
RX DESC a10cf000  size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff ff 00 00 01
Main bssid = 72:87:30:d2:c0:30
<==== rt28xx_init, Status=0
0x1300 = 00064380
vconfig: ioctl error for rem: Invalid argument
vconfig: ioctl error for rem: Invalid argument
rmmod: 8021q: No such file or directory
insmod: 8021q.ko: module not found
eth2.2: Setting MAC address to  00 0c 43 30 52 66.
device eth2 entered promiscuous mode
VLAN (eth2.2):  Setting underlying device (eth2) to promiscious mode.
ifconfig: ioctl 0x8913 failed: No such device
brctl: bridge br0: No such device or address
##### config Ralink ESW vlan partition (WLLLL) #####
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1002
switch reg write offset=44, value=1001
switch reg write offset=48, value=1001
switch reg write offset=70, value=ffff417e
done.
device ra0 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
device eth2.1 entered promiscuous mode
br0: port 2(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
killall: udhcpd: no process killed
Set: phy[4].reg[0] = 3900
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
Set: phy[4].reg[0] = 3100
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
ifconfig: ioctl 0x8913 failed: No such device
udhcpc (v1.12.1) started
killall rt2860apd 1>/dev/null 2>&1
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter  1>/dev/null 2>&1
iptables -F web_filter  1>/dev/null 2>&1
iptables -D FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -F malicious_filter  1>/dev/null 2>&1
iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -F malicious_input_filter  1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1
iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filter 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1
iptables -A malicious_input_filter -i eth2.2 -p tcp --dport 80 -j DROP
/bin/super_dmz -f
sh: /bin/super_dmz: not found
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward  1>/dev/null 2>&1; iptables -t nat -X port_forward  1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ  1>/dev/null 2>&1
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1
ntp.sh
ddns.sh
kill -9 `cat [img]file:///C:\Users\ADMINI~1\AppData\Local\Temp\[LC3U)F{0XCAB)[url=mailtoKNIT0K@G.gif]LKNIT0K@G.gif[/url][/img]ar/runfile:///C:\Users\ADMINI~1\AppData\Local\Temp\UG9`@AH2%L{}S0N6}3E~FO2.gifcd.pid.ra0`
cat: can't open '[img]file:///C:\Users\ADMINI~1\AppData\Local\Temp\[LC3U)F{0XCAB)[url=mailtoKNIT0K@G.gif]LKNIT0K@G.gif[/url][/img]ar/runfile:///C:\Users\ADMINI~1\AppData\Local\Temp\UG9`@AH2%L{}S0N6}3E~FO2.gifcd.pid.ra0': No such file or directory
kill: you need to specify whom to kill
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
route delete 239.255.255.250 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
killall -q ripd
/bin/qos_run
webs: Listening for HTTP requests at address 192.168.1.1
br0: topology change detected, propagating
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state



坐等大神

本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
自己顶111111111111111
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你换个终端软件就好了Putty

点评

putty也可以?  详情 回复 发表于 2016-12-29 19:16
换过了不行  详情 回复 发表于 2016-12-28 00:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

线插错了,我之前就是这样

点评

线是正确的  详情 回复 发表于 2016-12-28 00:41
线是正确的  详情 回复 发表于 2016-12-28 00:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
ffend 发表于 2016-12-23 08:50
你换个终端软件就好了Putty

换过了不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
七剑下面条 发表于 2016-12-24 05:47
线插错了,我之前就是这样

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

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
七剑下面条 发表于 2016-12-24 05:47
线插错了,我之前就是这样

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

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
没大神指点下吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
ffend 发表于 2016-12-23 08:50
你换个终端软件就好了Putty

putty也可以?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2024-4-29 14:56

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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