华为 光猫 改配置 ttl线 救砖 求助!!
可能是因为修改配置文件 hw_boardinfo.xml 改坏了(下图奉上修改后上传的 hw_boardinfo.xml文件),修改了SN和MAC地址telent上传后 。重启就连不上电脑了接ttl线显示如下 反复的在telent 127那个地址无法停止
不知道有没有机会救回来,得怎么救。
配置文件我怎么看也看不出哪里修改错了,但就是启动不起了。
下面是ttl线 启动日志
/*..............
System start ...
.............*/
U-Boot 1.1.4 (Jul 31 2013 - 16:25:21)
U-Boot code: 90500000 -> 9051FC94BSS: -> 9054658C
RAM Configuration:
Bank #0: 90000000 64 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Extend LSW IS AR8316Initialize broadcast table ... ok
CPURTx Driver For Pilot <Board-A>!
### JFFS2 loading 'fsok' to 0x904bfe84
Scanning JFFS2 FS: .| / - \ | done.### JFFS2 load complete: 2 bytes loaded to 0x904bfe84
No board type file!
ui_board_id = 2::Magic1:0x5a5a5a5a, magic2 0xa5a5a5a5, count 4096, flag 0, MainAreaOK 0, slaveAreaOK 0
Start from normal system!
Magic1:0x5a5a5a5a, magic2 0xa5a5a5a5, count 0, flag 0
Addr:0x0,Addr:0x40000,Addr:0x41000,Addr:0x60000,Addr:0x1e0000,Addr:0xae0000,Addr:0xe60000
Start copy data from 0x201e0054 to 0x91000000 with sizeof 0x008f3040 .....................Done!Start system with ram disk and set bootcmd to BootArgs:noalign mem=50M console=ttyAMA0,115200 root=/dev/ram0 rootfstype=squashfs mtdparts=hisilicon:0x40000(boot)ro,0x1000(flashcfg)ro,0x1f000(syspara)ro,0x180000(krnl)ro,0x8fffac@0x1e0054(rootfs)ro,0x248fe0@0xc17020(minisystem)ro,0x180000(jffs2cfg),-(reserved) user_debug=0x1f panic=1
U-boot Start from NORMAL Mode !
## Booting image at 20060054 ...
Image Name: Linux-2.6.21.7-hrt1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1456776 Bytes =1.4 MB
Load Address: 90008000
Entry Point:90008000
Loading Kernel Image ... OK
## Loading Ramdisk Image at 91000000 ...
Image Name: squashfs
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 9383936 Bytes =8.9 MB
Load Address: 00000000
Entry Point:00000000
Starting kernel ...
Uncompressing Linux............................................................................................ done, booting the kernel.
Kernel Early-Debug on Level 0
iotable information:
virtual: 4093640704physical: 262144length: 4096 type: 0
virtual: 4145283072physical: 90432length: 4096 type: 0
virtual: 4145295360physical: 90435length: 4096 type: 0
virtual: 4145340416physical: 90446length: 4096 type: 0
virtual: 4145344512physical: 90447length: 4096 type: 0
virtual: 4093706240physical: 262160length: 4096 type: 0
virtual: 4093771776physical: 262176length: 4096 type: 0
virtual: 4145307648physical: 90438length: 32768 type: 0
virtual: 4145287168physical: 90433length: 4096 type: 0
virtual: 4145348608physical: 90448length: 4096 type: 0
virtual: 4076863488physical: 196608length: 4096 type: 0
virtual: 4145291264physical: 90434length: 4096 type: 0
virtual: 4145299456physical: 90436length: 4096 type: 0
virtual: 4145303552physical: 90437length: 4096 type: 0
hisilicon_map_io 281
hisilicon_init_irq 108
hisilicon_timer_init 228
hi_kernel_wdt_init 216
hisilicon_init_machine 175
hi_kernel_pci_preinit 390
pci clock is on!
hi_kernel_pci_postinit 488
hi_kernel_pci_postinit on!
Linux version 2.6.21.7-hrt1 (root@vsut193167) (gcc version 4.1.2 (Wind River Linux Sourcery G++ 4.1-84)) #2 Wed Jul 31 16:31:00 CST 2013
CPU: ARMv6-compatible processor revision 7 (ARMv6TEJ), cr=00c5387f
Machine: SD5113-V100-PILOT-B01
Memory policy: ECC disabled, Data cache writeback
Get mem size 0x3200000;CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.Total pages: 12700
Kernel command line: noalign mem=50M console=ttyAMA0,115200 root=/dev/ram0 rootfstype=squashfs mtdparts=hisilicon:0x40000(boot)ro,0x1000(flashcfg)ro,0x1f000(syspara)ro,0x180000(krnl)ro,0x8fffac@0x1e0054(rootfs)ro,0x248fe0@0xc17020(minisystem)ro,0x180000(jffs2cfg),-(reserved) user_debug=0x1f panic=1
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 50MB = 50MB total
Memory: 38508KB available (2636K code, 200K data, 108K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Hisilicon clock system V0.01
AHBCLK
ARMCORECLK
UARTCLK
PCI: bus0: Fast back to back transfers enabled
istatus and imask 16777216
istatus and imask 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 9164K
Registering GDB sysrq handler
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: dwuart driver
dev:f2: ttyAMA0 at MMIO map 0x1614f000 mem 0xf714f000 (irq = 17) is a AMBA/DW
dev:f1: ttyAMA1 at MMIO map 0x1614e000 mem 0xf714e000 (irq = 16) is a AMBA/DW
RAMDISK driver initialized: 4 RAM disks of 23000K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
Start to set chip MaxBufWriteSize.!Not find NUMONYX JS28F128M29EWHA chip.hisilicon: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
hisilicon: 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.
Hisilicon flash: registering whole flash at once as master MTD
8 cmdlinepart partitions found on MTD device hisilicon
Creating 8 MTD partitions on "hisilicon":
0x00000000-0x00040000 : "boot"
0x00040000-0x00041000 : "flashcfg"
0x00041000-0x00060000 : "syspara"
0x00060000-0x001e0000 : "krnl"
0x001e0054-0x00ae0000 : "rootfs"
0x00c17020-0x00e60000 : "minisystem"
0x00e60000-0x00fe0000 : "jffs2cfg"
0x00fe0000-0x01000000 : "reserved"
usb clock is on!
h2v100-ehci h2v100-ehci.0: h2v100-ehci
h2v100-ehci h2v100-ehci.0: new USB bus registered, assigned bus number 1
h2v100-ehci h2v100-ehci.0: irq 23, io mem 0x40010000
h2v100-ehci h2v100-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
h2v100-ohci h2v100-ohci.0: h2v100-ohci
h2v100-ohci h2v100-ohci.0: new USB bus registered, assigned bus number 2
h2v100-ohci h2v100-ohci.0: irq 24, io mem 0x40020000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Netfilter messages via NETLINK v0.30.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
RAMDISK: squashfs filesystem found at block 0, block number 9163
RAMDISK: Loading 9163KiB into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 108K
-=#DOPRA LINUX 1.0#=-
-=#EchoLife WAP 0.1#=-
-=#Huawei Technologies Co., Ltd #=-
mount file system
Loading the kernel modules:
/etc/rc.d/rc.sysinit: line 37: sed: not found
Making device instances:
Setting console log message level:
Setting hostname:
Settingup the sysctl configurations:
Setting up interface lo:
Running local startup scripts.
*******************************************
--== Welcome To EchoLife WAP ==--
--== Huawei Technologies Co., Ltd. ==--
*******************************************
WAP Ver:V100R005C00B010
WAP Timestamp:2013/07/31 16:42:59
*******************************************
Mount the JFFS2 file system:
Start init EchoLife WAP process debug module ...... Start lunch kmsgread ...
Pid of kmsgrread is: 146
Set kmsgread process pid to:146;Rootfs time stamp:2013-07-31_16:47:55
fuse init (API version 7.8)
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
User init start......
Loading the SD5113V100 modules:
ETH install success!
g_dp_GLB_reg_s->VERSION = 0x0, ui_version = 0x0, ui_spec_index = 1
SD511XDPV2.0 is installed !
SD511x MDIO ID V1.0 is installed
SD511x GPIO VERSION 1.0 is installed
SD511x GPIO_INT ID 1.0 is installed
SD511x I2C ID V1.0 is installed
SD511x TIMER ID V1.0 is installed
SD511X SPI ID v1.0 is installed
SD511XSYSCTLV1.0 is installed
SD511x UART ID V1.0 is installed
<6>
SD511X HWID v1.0 is installed
SD511x EXT_INT ID 1.0 is installed
ifconfig eth0 hw ether 88:A2:D7:D2:71:D6
Loading the EchoLife WAP modules: LDSP
SSP For LDSP Install Successfully...HLP For LDSP Install Successfully...CHIPADP-PHY For LDSP Install Successfully...Get version through hardware!CHIPADP-SD5113 For LDSP Install Successfully...
GPIO For LDSP Install Successfully...HIGHWAY For LDSP Install Successfully...I2C For LDSP Install Successfully...MDIO For LDSP Install Successfully...LSW For LDSP Install Successfully...
aui_receive = be aui_receive = 20 aui_receive = 0 aui_receive = 0
DEV For LDSP Install Successfully...CHIPADP-AR8316 LSW For LDSP Install Successfully...
TOPO hw_topo_init Successfully...
hw_topo_pdt_sep_eth_port_init...
End hw_topo_wap_init...
TOPO PDT For SSMP Install Successfully...
Read Topo Info Product Des:EchoLife HG8240Read MemInfo Des: 47844
SPI For LDSP Install Successfully...
UART For LDSP Install Successfully...BATTERY For LDSP Install Successfully...
PLOAM For LDSP Install Successfully...GMAC For LDSP Install Successfully...KEY For LDSP Install Successfully...LED For LDSP Install Successfully...OPTIC For LDSP Install Successfully...RF For LDSP Install Successfully...le88226 For LDSP install successfully...
Loading BBSP L2 modules:
Common HLP For BBSP Install Successfully...
ont is not in Equip Mode:g_fw_equip=0 FLOW For BBSP Install Successfully...VETH For LDSP Install Successfully...
hw_pkt_tunnel Install Successfully...
EMAC For LDSP Install Successfully...MPCP For LDSP Install Successfully...Loading DSP temporary modules:
linux kernel dopra is installed!
dsp sdkinsmod success!
DSP For LDSP Install Successfully...
Loading BBSP L2_extended modules:
WIFI For BBSP Install Successfully...ipv6 Install Successfully...
hw_dhcp Install Successfully...
hw_ethoam_kernel Install Successfully...
hw_pppoe Install Successfully...
hw_igmp_kernel Install Successfully...
mfw pkt per second: 80...mfw Install Successfully...
hw_bind_init...
KARP Install Successfully...
Loading BBSP L3_basic modules:
nf_conntrack version 0.5.0 (400 buckets, 3200 max)
netdown replace to nf_ct_iterate_cleanup2
install successPktdump init Install Successfully...
ACl For BBSP Install Successfully...Dosflt For BBSP Install Successfully...
Loading BBSP L3_extended modules:
napt register conntrack_handler
NAPT For BBSP Install Successfully...
_init_session SUCCESS
table_sizhw_ker_ffwd_ipv4install
e =3040 hash_size = 760
ffwd register conntrack_handler
hw_ker_ffwd_coreinstall
Portal For BBSP Install Successfully...
User device for bbsp Install Successfully...NO ipv6!
NO hw_rout!
Configure Word : COMMON
COMMON:not BT mode
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
CODEC For LDSP Install Successfully...Start ldsp_user...0
<LDSP>HW_LdspCfg_XponProc start from gpon, uiUpMode=1.<LDSP cfg>Set uiUpMode=1.<LDSP>Hardware board id is 2 !<LDSP>Hardware pcb id is 2 !SD5113 test self OKLsw test self OKOptic test self OKPHY test self OKPHY test self OKPHY test self OKPHY test self OKPHY test self NoCheckPHY test self NoCheck
FILE = /home/zhengjisheng/r1c01/sdk_optimize/sd511x_sdk/driver/src/./interface/i2c/hi_drv_i2c.c,
LINE = 151, FUNC = hi_kernel_i2c_burst_read_bytes
read data is over time
Optic calMode 0 GPON opened success !
ssmp bbsp igmp amp vspa omci
root.reserved: fe0000 20000Start start pid=366; uiProcNum=6;Start VSPA ...InitFrame amp; PID=370; state=0; 12.170;InitFrame amp; PID=370; in state=0; 12.171;InitFrame amp; PID=370; out state=0; 12.178;InitFrame omci; PID=371; state=0; 12.724;InitFrame omci; PID=371; in state=0; 12.725;InitFrame omci; PID=371; out state=0; 12.727;PID USER VSZ STAT COMMAND
InitFrame ssmp; PID=367; state=0; 12.549;InitFrame ssmp; PID=367; in state=0; 12.923;InitFrame igmp; PID=372; state=0; 12.769;InitFrame igmp; PID=372; in state=0; 13.072;InitFrame igmp; PID=372; out state=0; 13.082; 1 root 2132 S init
2 root 0 SWN
3 root 0 SW
4 root 0 SW<
5 root 0 SW<
6 root 0 SW<
28 root 0 SW<
31 root 0 SW<
45 root 0 SW
46 root 0 SW
47 root 0 SW<
48 root 0 SW<
63 root 0 SW
110 root 2136 S /bin/sh /etc/rc.d/rc.sysinit
140 root 0 SWN
143 root 0 DW<
144 root 0 DW<
146 root 1960 S kmsgread
150 root 2136 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
283 root 0 SW
288 root 0 SW<
335 root 0 SW
VSPA pri from 0 to 10InitFrame vspa_sip; PID=374; state=0; 13.283;InitFrame vspa_sip; PID=374; in state=0; 13.284;InitFrame vspa_sip; PID=374; out state=0; 13.285;364 root 10752 S hw_ldsp_user
366 root 2012 S start ssmp bbsp igmp amp vspa omci
367 root 4036 S ssmp
369 root 4628 R bbsp
370 root 3764 S amp
371 root 5468 S omci
372 root 4028 R igmp
374 root 8736 R Nvspa_sip
376 root 2136 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
377 root 2000 S sleep 1
378 root 2136 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
379 root 2000 S sleep 30
380 root 2136 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
381 root 2000 S sleep 40
382 root 2136 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
383 root 2000 S sleep 30
384 root 2136 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
385 root 2000 S sleep 1
386 root 2308 R ps
389 root 2132 R sh -c rm -f /mnt/jffs2/customize_xml.tar.gz
390 root 0 Z
telnet: can't connect to remote host (127.0.0.1): Connection refused
InitFrame bbsp; PID=369; state=0; 13.801;InitFrame bbsp; PID=369; in state=0; 13.802;InitFrame bbsp; PID=369; out state=0; 13.805;telnet: can't connect to remote host (127.0.0.1): Connection refused
iFileDescryption::0x1
file is encrypt !
Start HW_DM_PDT_Init....HW_DM_GetBoardInfo failed.uiRet = 0xf7205405Init dm data err, uiRet = 0xf7205405Init DM Error! Return=0xf7205405;Deinit SMP Successfully!SSMP init ManageModule .....................
ssmp InitFrame Err,err state = 0
Get signal:0 backtrace .../lib/libhw_ssp_basic.so(HW_OS_SignalTrapUser1+0x2c) SSMP HW_Init_Frame error. uiReturn=-148876283;Start ProcMonitor with sip ...
telnet: can't connect to remote host (127.0.0.1): Connection refused
telnet: can't connect to remote host (127.0.0.1): Connection refused
telnet: can't connect to remote host (127.0.0.1): Connection refused
telnet: can't connect to remote host (127.0.0.1): Connection refused
telnet: can't connect to remote host (127.0.0.1): Connection refused
停在这里反复连接这个地址失败
呵呵,是不是刷的ROM或者配置PROC里面的conf文件配置搞得没启动网络服务。 jblbin2008 发表于 2017-1-14 20:10
呵呵,是不是刷的ROM或者配置PROC里面的conf文件配置搞得没启动网络服务。
不知道改配置着的,反正就是不断这样 重新TTL吧,试试看,不行重新刷系统。 jblbin2008 发表于 2017-1-15 20:21
重新TTL吧,试试看,不行重新刷系统。
哥们,无法中止 之前有没有备份文件?有备份的话参考我的帖子应该可以刷回来
https://www.chinadsl.net/forum.php?mod=viewthread&tid=124949 ....我记得要重新刷存储ROM的,靠开发板
jblbin2008 发表于 2017-1-16 14:17
....我记得要重新刷存储ROM的,靠开发板
无法中止 就没办法输入命令 刷不了机 def_sn=和cur_sn位置弄反了
正确的应该是这样
<sn def_sn="xxxxxxxxxxxxxxx" cur_sn="xxxxxxxxxxxx"/> mayi5147 发表于 2017-1-16 22:28
def_sn=和cur_sn位置弄反了
正确的应该是这样
那有没办法弄,现在停止不了输不了命令