找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2415|回复: 1

磊科NR256P TTL如何刷固件?

[复制链接]
发表于 2015-9-14 18:22:59 | 显示全部楼层 |阅读模式
本来用的好好的NR256P,突然之间连不上,重启后发现LAN连IP地址都发布出来,就参照网上大神TTL刷机方法,连接好TTL线,在终端里却没找到刷入命令什么的,
- B8 o0 O8 y* g, f0 x5 D8 b贴出TTL信息,希望有高手指点下我该如何操作!感激不尽!
) V6 \7 k8 z+ ^* g6 M7 ?: z
' @; n: h1 {3 {) `  F7 BU-Boot 1.1.3 (Feb 26 2013 - 16:18:16)$ ~. K5 ^) o' b9 l+ y/ @
6 C! ?$ {0 i1 j  T+ R% v% W! B
Board: Ralink APSoC DRAM:  64 MB
% J/ v% ~0 ~4 Q0 b% r7 q# I4 lrelocate_code Pointer at: 83fac000* A" Y6 R, e) O# j+ j

% a! ^$ E' u: M Default FLASH_CS0_CFG = 0511FFA1
' e1 C% g$ E! X6 `% iflash_protect ON: from 0xBF000000 to 0xBF02077B/ Y& U. d6 M! L8 U- D- l6 P
flash_protect ON: from 0xBF030000 to 0xBF030FFF: M+ a. e# W% x2 U5 Z- w
*** Warning - bad CRC, using default environment3 o7 v& Z% ]0 ~7 m! T6 }. ~
) [( ?. p3 V" c* @# e" v
============================================
; B% C8 n' x& t5 I0 g0 o6 g! d; e0 r2 [Ralink UBoot Version: 3.4.0.0
$ _8 w% d& g1 ?--------------------------------------------/ M  ~4 }" r0 |7 f1 e
ASIC 3052_MP2 (Port5<->MII)
1 d% S1 k2 q) J2 ~DRAM component: 256 Mbits SDR
: _, m! m4 a8 K$ \1 G6 E  ^DRAM bus: 32 bit& ?/ d" N4 I, ?$ f, @. T
Total memory: 64 MBytes0 T: P6 p/ g) c; y
Flash component: NOR Flash& x; o( |' C. P' @8 R" W. c3 O
Date:Feb 26 2013  Time:16:18:16
' p6 J: y% k" @; ~8 @% Y  W# L============================================
, q$ \( _% \% e: @icache: sets:256, ways:4, linesz:32 ,total:327688 d! Y5 I% `( `2 \5 g
dcache: sets:128, ways:4, linesz:32 ,total:16384: f" L6 y1 O0 @1 K
4 ~) H) _0 B* o8 ]
##### The CPU freq = 384 MHZ ####
3 I" T  O. V" `- O" P/ B2 F
0 W! g; n/ b8 Z0 e+ ^1 G- k5 Q) Y SDRAM bus set to 32 bit
, }- Y  I& J) Z# G' } SDRAM size =64 Mbytes2 @! m& y/ n$ Y
welcome!8 y; G0 S, R0 z

; H0 q4 u6 j+ \3: System Boot system code via Flash.
' u( {, K# r( T/ D7 G0 m## Booting image at bf1c0000 ...3 l( g, Z' _  f. b! p
   Image Name:   NR256P;;netcore; D0 z# b* U2 e7 Z( X) V
   Created:      2013-07-03   7:11:49 UTC
- s' N5 f( U) b: \   Image Type:   MIPS Linux Kernel Image (lzma compressed)3 v; ^2 Q  X0 _8 m
   Data Size:    5560791 Bytes =  5.3 MB
7 w" b& A2 A; F& k2 U) a   Load Address: 800000001 t. H; Y' p0 j
   Entry Point:  80366000
# w* d  z6 \6 F7 j( M8 Z2 \2 h) B   Verifying Checksum ... OK: H3 S5 \- O+ L
   Uncompressing Kernel Image ... OK
' G6 h+ T' a& k4 n& E$ {No initrd. [& m2 f' ]. @0 Q
## Transferring control to Linux (at address 80366000) ...  h+ k$ m0 }( _; V3 z) V8 f. Z
## Giving linux memsize in MB, 64
5 m3 P5 [% w5 ^& x8 U) r, R6 E* ~( N. }0 V: ~0 t; s2 T0 T
Starting kernel ...0 Z/ ?; L& ?: g3 m* \: X/ _7 o5 i

: L& x. u+ i) }8 C) p3 M
# a  h5 B3 X0 K, R# X5 k! FLINUX started...; F" O+ C# f' ~* }' Q

: m& u# {/ E/ Y6 G THIS IS ASIC
1 ^& r: r7 c' |* g4 B, dLinux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #100 Wed Jul 3 15:06:44 CST 2013
/ Q+ U9 ]0 N) \# w! q  D% D# i% n1 Q! a2 {* j: r0 \7 @
The CPU feqenuce set to 384 MHz. s* ?* V/ f! L+ q9 W
CPU revision is: 0001964c
' V4 G" B: h  O# b* t: J. t* T; qDetermined physical RAM map:
; U4 M" d& {9 T9 V: D memory: 04000000 @ 00000000 (usable)
( {* ?/ B9 \% WBuilt 1 zonelists.  Total pages: 16256* W- u- a/ o  i  ?% w6 i
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5
4 G2 v7 w4 t, B, [8 L, {* ~4 ^( QPrimary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
0 ~$ k8 v. F9 q9 n4 [9 FPrimary data cache 16kB, 4-way, linesize 32 bytes.
! ^* o7 S, J9 X8 g4 sSynthesized TLB refill handler (20 instructions).
- ?: L4 U% ^! w" i0 G% H% HSynthesized TLB load handler fastpath (32 instructions).
! }4 ^& v; H# K( Z  K+ G' iSynthesized TLB store handler fastpath (32 instructions).% W& l$ k; m) C; V
Synthesized TLB modify handler fastpath (31 instructions).
" [* ^4 |1 U: K- P0 y5 @9 }Cache parity protection disabled6 l0 Q2 X: z! K' [' j
cause = d0808050, status = 11000000
, p+ Q. g* l: x6 YPID hash table entries: 256 (order: 8, 1024 bytes)9 g7 O0 @) ^+ a/ M0 S9 J2 d
calculating r4koff... 003a9800(3840000)
% _! L. J% {0 [7 s' p- lCPU frequency 384.00 MHz1 h1 d' T% o* ]; `8 h
Using 192.000 MHz high precision timer.
. b1 N+ g1 ?% j' S' TDentry cache hash table entries: 8192 (order: 3, 32768 bytes): w* K1 e: E- b4 q$ F9 h! {. m' s
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)6 ]" O5 i3 ]: G( M/ _
Memory: 60536k/65536k available (2942k kernel code, 4944k reserved, 533k data, 140k init, 0k highmem), \- E( e, P2 D8 l2 @* ]; ~$ d" ~
Mount-cache hash table entries: 512
( {& F2 A/ Y1 D0 m* @, I% O2 PNET: Registered protocol family 16! j% h, ^8 x& w3 J! B
NET: Registered protocol family 2
# V2 g6 _: j9 m* y% h4 Y- cTime: MIPS clocksource has been installed.0 t+ X' S; b6 ]5 F1 k8 a3 {
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  T; E7 ?; [, w1 K9 d/ l( t3 ?4 mTCP established hash table entries: 2048 (order: 2, 16384 bytes)% Q( `6 J& o# Q( @7 [' |! D
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
5 t  t9 Y$ F! I* LTCP: Hash tables configured (established 2048 bind 2048)
" A2 \! [7 d8 q, ]& S1 Q3 g  |: @& yTCP reno registered- r) u5 Q$ ]8 ?$ \9 W0 ~
kernel : 0x11ba27) C: Q4 T+ I% Y3 |
ralink flash device: 0x800000 at 0x1f000000
; x* G8 E! R. N7 `  ORalink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
1 ?" |+ p1 s+ M2 i/ x- j Amd/Fujitsu Extended Query Table at 0x0040; P% {- T. Y  |
number of CFI chips: 17 ^0 Y3 R8 u. G8 \
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
2 l; G2 N4 ~5 }4 _( A. j: k3 D& {$ sCreating 7 MTD partitions on "Ralink SoC physically mapped flash":; U& o5 R1 C5 [: v8 [; C
0x00000000-0x00800000 : "ALL"8 s, T6 p: ~/ U* l7 d' }
0x00000000-0x00030000 : "Bootloader"
7 O' R- ?, Z( j6 L# I0x00030000-0x00040000 : "Config"$ U; W% s  y4 u% v5 h% {; g
0x00040000-0x001c0000 : "Factory"& S- z7 \+ ~; ~& N8 `
0x001c0000-0x002dba27 : "Kernel"
- J/ f  F8 N/ u, W4 D! t1 umtd: partition "Kernel" doesn't end on an erase block -- force read-only
( p& I! u: Y8 I/ u# F2 _, j/ Y4 T. z0x002dba27-0x00800000 : "RootFS"
; y( z6 e3 A3 }; E# v" }mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only
' U& l8 L: k) L& j" N0x001c0000-0x00800000 : "Kernel_RootFS"
. Z* V. u' K" y0 E% uDLM (built Oct 24 2012 15:30:58) installed
. X4 B9 O' W4 M1 M- p6 q* e7 @6 fsquashfs: version 3.2-r2 (2007/01/15) Phillip Lougher8 u# N0 A( ~& W
squashfs: LZMA suppport for slax.org by jro
9 }6 w9 G7 O0 N8 K1 \JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.: z  e) J8 T0 W$ \9 q9 x
io scheduler noop registered (default)
" p% s  s' ?' iRalink gpio driver initialized
# L9 {3 r( {  X; V7 ]HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
1 E+ T7 H$ l( d( RN_HDLC line discipline registered.  q/ a* B& ^! G2 _
Serial: 8250/16550 driver $Revision: 1.6 $ 2 ports, IRQ sharing disabled) ]- t9 b' r' f" d1 l
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
. d3 E, v2 B6 d9 N) R) mserial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
; Z9 X5 w5 b/ \, W% y1 bloop: loaded (max 8 devices)
# v. q* A, Y6 J2 d) s* C3 a% Irdm_major = 254
- Q- a3 O; B  w" _GDMA1_MAC_ADRH -- : 0x00000000
( K  L* P! [/ ^! E0 ?GDMA1_MAC_ADRL -- : 0x00000000
5 H8 L4 Z; n6 ~- \/ uRalink APSoC Ethernet Driver Initilization. v2.0  256 rx/tx descriptors allocated, mtu = 1500!# M5 u" \  y: f/ o5 v
GDMA1_MAC_ADRH -- : 0x0000000c1 B$ |+ J% F( ~) x- |
GDMA1_MAC_ADRL -- : 0x432880c5; q- x6 `6 y' Z+ A1 t+ N- L$ {0 r
PROC INIT OK!0 Q% G2 |% I* w7 E" }$ [
PPP generic driver version 2.4.2- @! M/ F# W1 ], X$ g; s
PPP Deflate Compression module registered
3 [' o( l, S: _5 j& {( g, XPPP BSD Compression module registered- T% r1 l% [# i( v/ E# c) u# H
PPP MPPE Compression module registered
# a: H# r/ {8 w# n# Q) ZNET: Registered protocol family 24
% `9 N9 w$ [7 C0 \: O7 P  k) h) |PPPoL2TP kernel driver, V1.0+ b: O* i) P' D: P; x
physmap platform flash device: 00800000 at bf000000: r8 M" o7 k1 K. q
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank4 k9 b1 Z; K0 W
Amd/Fujitsu Extended Query Table at 0x00404 Q# a* }  ]% B$ k& l7 H' q8 H
number of CFI chips: 1
4 e  ?3 m6 _+ x- A# R! J! mcfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.- {$ T. j. Z! j5 F6 J9 q
RedBoot partition parsing not available
1 ^# [* Z# a- o0 E6 a0 oblock2mtd: version $Revision: 1.1.1.1 $
* D5 l- w( g9 E0 W7 q! ^* u3 Nhbwrr_reg:09 J- `% r: C: b( _( t" ~$ p
u32 classifier
. P, Y0 W( {. N& u4 JNetfilter messages via NETLINK v0.30.- ~% X9 c1 o( ^; h- R
nf_conntrack version 0.5.0 (2048 buckets, 16384 max)
  M1 \! x1 p8 Fctnetlink v0.93: registering with nfnetlink.
  t( t9 A9 R+ d$ x$ aip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone2 ~/ k: m, x5 D. R& d6 Y2 r
ipt_time loading+ j. S# v/ z: ?- V$ Z
arp_tables: (C) 2002 David S. Miller
$ r0 M6 |- t4 v! n; kmid :0, nr = 4) r8 t& m, ?' h8 C# b3 g
mid :1, nr = 12
* z  g( R- @$ I/ S; t: Jmid :2, nr = 2
( o: I* g, H2 F' I4 o4 Z; c$ ~mid :3, nr = 10
9 t8 o' Y8 X& i( X& M# |mid :4, nr = 34- a+ G$ `( a+ _* ?  }, ^3 q6 j+ X
mid :5, nr = 15$ j) P+ S. l  {0 B7 J0 C6 C9 j
mid :6, nr = 253 Q7 o4 D. \2 h) }$ r
mid :7, nr = 12+ Q3 z' s/ Q+ I/ n9 W, C
mid :8, nr = 3
, K' V+ U0 q$ X5 P6 pnet sniffer init ok.2 J! k  U( v, f, m- ?
TCP cubic registered
+ p: X/ `- O0 w8 B( bNET: Registered protocol family 1
9 i: c0 `- ?0 \/ c. hNET: Registered protocol family 17/ o% `, J) L' F- v3 W
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
2 T* K6 W% Q: QAll bugs added by David S. Miller <davem@redhat.com>
2 R. Y# U& @7 M: q: sNETCORE fastpath V0.03# e9 l; j( _8 p- ]' i
VFS: Mounted root (squashfs filesystem) readonly.
. [" J/ w+ X  M2 ?Freeing unused kernel memory: 140k freed+ Q% w0 h1 _6 q, @
init started:  BusyBox v1.1.2 (2012.10.24-07:53+0000) multi-call binary
1 `5 |) O. W+ F& Q& o, @$ v9 dStarting pid 12, console /dev/ttyS1: '/etc/rcS'. ^0 t5 G- `5 o2 Y6 ~6 k
Algorithmics/MIPS FPU Emulator v1.59 }0 l5 g9 s8 A) Q! \  g( X6 u
/etc/rcS: /etc/rcS: 2: /var/run: not found
; s8 A, A& @0 g0 fcheck  0
2 i5 r; b: m" H2 g' w: l( u* Mmonut ok!+ N& Z4 T$ G6 }9 c" j
mkdir: Cannot create directory `/var/parame/brk': File exists1 i% y# [4 J: H9 m- q  j
mkdir: Cannot create directory `/var/parame/parame': File exists3 W2 F6 \9 ^! K* ?6 N$ q2 O7 l, \
) E9 p0 P1 }1 d/ ~2 Y
phy_tx_ring = 0x03ed9000, tx_ring = 0xa3ed90009 u' G% _7 d: h8 ~4 S
" ^: y) w) ]7 V
phy_rx_ring = 0x03eda000, rx_ring = 0xa3eda000
  m* i" `  I* p: |3 SCDMA_CSG_CFG = 81000007  x* Y# S* {6 C8 v) }+ c+ ]# k
GDMA1_FWD_CFG = 710000
6 \; _9 k/ x; o3 C" neth2.5: Setting MAC address to  00 00 00 00 51 82.. h  T" y  d& o2 [% X) X
device eth2 entered promiscuous mode8 Q3 L8 J8 M% H  }- L+ Y3 y( X3 i
VLAN (eth2.5):  Setting underlying device (eth2) to promiscious mode.9 x8 a1 g) R6 L* H1 F6 a1 V
eth2.1: Setting MAC address to  00 00 00 00 51 83.# `7 Q- S" W  }0 x" t
eth2.2: Setting MAC address to  00 00 00 00 51 84.
& K: R2 s5 b) ~+ T) T; `/ Z. BPPTP driver version 0.8.49 }9 N/ K. y) ^  S% n
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPsec stack version: 2.6.38. M" M6 a7 V9 \; c- \$ B: @
NET: Registered protocol family 15, F' o( C( i2 ?$ M/ q* D7 H
registered KLIPS /proc/sys/net<6>klips_info:ipsec_alg_init: KLIPS alg v=0.8.1-0 (EALG_MAX=255, AALG_MAX=255)& J2 n! f# @7 c$ u; ^
klips_info:ipsec_alg_init: calling ipsec_alg_static_init()& D: Y! d; l& m" J9 b- V9 |
ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0* x7 K3 J3 C/ K$ _  K
ipsec_aes_init(alg_type=14 alg_id=9 name=aes_mac): ret=0
6 m8 n* Y  ]! J$ t/ Y: v) m! @ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0. Q7 k/ F% h% V+ Q
KLIPS cryptoapi interface: alg_type=15 alg_id=12 name=cbc(aes) keyminbits=128 keymaxbits=256, found(0)& B" S6 B6 D8 r
KLIPS cryptoapi interface: alg_type=15 alg_id=253 name=cbc(twofish) keyminbits=128 keymaxbits=256, found(0)1 F+ A8 v$ r) A2 N* h
KLIPS cryptoapi interface: alg_type=15 alg_id=252 name=cbc(serpent) keyminbits=128 keymaxbits=256, found(0)
5 V$ i6 o# z# o' Z+ AKLIPS cryptoapi interface: alg_type=15 alg_id=6 name=cbc(cast5) keyminbits=128 keymaxbits=128, found(0)# X4 x( ]4 x3 {, P* I
KLIPS cryptoapi interface: alg_type=15 alg_id=7 name=cbc(blowfish) keyminbits=96 keymaxbits=448, found(0)
$ E) u5 H- A, IKLIPS cryptoapi interface: alg_type=15 alg_id=3 name=cbc(des3_ede) keyminbits=192 keymaxbits=192, found(0)
7 J0 z- _( q$ F4 L+ Zcp: /tmp/log: No such file or directory
: C% S3 S& o& |0 @" r8 X$ j3 u) n9 x
Please press Enter to activate this console. [tar_flag : 732] : tar OK !, p! i" [9 u4 ~+ ]+ h
: y% e" d! M, J5 R: j% @: L
igd_filter_ddos_enable_set[line=10700] ddos disabled
- g" `4 W; Z2 I4 \check this:igd_ip_pool_proc[277]msg 5 doesn't support! k* }2 _9 v( m- k2 W) G  N

3 Z4 f% L3 P: R9 ?6 Z8 S& C, ~5 Z( i2 pcheck this:igd_ip_pool_proc[277]msg 5 doesn't support
( Z1 z4 W/ o6 Y, ^* x( N, i' s0 r0 D! O7 r* F. p
sucessed set index = 1, ns_mode = 0 sub mode = 0
6 s' V  n& J- t  b/ Nsucessed set index = 2, ns_mode = 0 sub mode = 0
+ U8 }$ r( [- p/ Z3 t3 f. zsucessed set index = 3, ns_mode = 0 sub mode = 0
/ E; _# R: e& p# e2 o: P" h5 Nsucessed set index = 4, ns_mode = 0 sub mode = 03 Q! S7 B7 H/ b+ L1 r& E) r! s" R' ?5 P
if_set_ispmap_by_if_id:isp = 0, currently ifmap = 0x1.
5 D* S5 f8 K8 n3 x# O4 T
' Q" b8 |$ |6 z$ W; t3 Uif_set_ispmap_by_if_id:isp = 0, currently ifmap = 0x3.  l/ A) c! a" ^3 }$ z1 h- K4 W
" b0 z; y. ]$ j; Z& u; h
if_set_ispmap_by_if_id:isp = 0, currently ifmap = 0x7.
- A: k3 {+ s. Z
7 u; o7 f! i0 O7 [! w" `; qif_set_ispmap_by_if_id:isp = 0, currently ifmap = 0xf.$ v+ }- X7 O7 t# |5 _' U
+ _  v5 F$ H; @; M0 ~
eth2.5: Setting MAC address to  08 10 77 df a0 47.
% h4 h9 S5 z5 @9 f. r& _ralink switch vlan operate:init
6 X% e3 `8 U% N8 {/ k$ m7 y0 zralink switch vlan operate:port
6 [5 o5 F0 y: ^8 [" Y' ?5 |  @ralink switch vlan operate:port
& s8 A4 |& P# U0 ]/ O! M( Gralink switch vlan operate:port
: O. E: Z  f1 w- M  L7 G* _ralink switch vlan operate:entry( o& R2 }: z/ u- N: L8 y+ }
ralink switch vlan operate:entry
3 z4 x/ X* ?1 Q2 v. Wralink switch vlan operate:entry5 K& {; Z! V- X
ralink switch vlan operate:init
( g' q0 d9 j8 s, v0 Z) `5 p) C% O, _/ ^7 Wralink switch vlan operate:port
0 m/ }' D* W- u1 B$ @# r- D& bralink switch vlan operate:port
2 m4 A  U1 q+ y( gralink switch vlan operate:port9 b) X, \3 y! Y8 P8 ?2 E' ~1 v2 S# b
ralink switch vlan operate:entry
: X8 r7 J& ^2 Tralink switch vlan operate:entry
( x) \5 y2 E: v9 Y4 q- |ralink switch vlan operate:entry
, M% t+ C. C( I9 f- zeth2.5: dev_set_promiscuity(master, 1)
0 ~; J1 o+ V% y% Fdevice eth2.5 entered promiscuous mode
/ \) X2 F1 \# B! \/ ~% ^4 mralink_gpio_ioctl:194 pid:152,req:0x00000011,arg:0x00000001
) J, b4 G! Q- C- c8 Tralink_gpio_ioctl:194 pid:152,req:0x00000008,arg:0x000000016 w' B" A, H3 Z5 C( \+ B+ z
ralink_gpio_ioctl:194 pid:152,req:0x0000000a,arg:0x7ff9fdb8+ A# n) t+ U4 W9 _' b) b, L
) o/ }  K. Z& M+ {! i
: F$ M( N0 f; C  v5 |$ n" S& w

) z6 e4 A& K* M0 h0 d; V4 _0 J, N) D3 C" N/ }9 X; q
 楼主| 发表于 2015-9-15 08:41:36 | 显示全部楼层
求高手指点呀!!~~~
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2025-5-3 11:03 , Processed in 0.030060 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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