|
使用创龙核心板加自制的底板,总线上挂接16C554串口芯片,突然出现从nand启动后u-boot加载linux内核时报 bad datacrc错误,掉电重启后可以正常
7 B, l! n3 B% A+ r0 J0 z
7 s- F; R/ O7 S; @/ G进系统但是SSH应用程序报ubifs读node错误,这种现象会不会是u-boot的bug, 日志文件如下:) F/ p6 u" L, N# r
+ ]3 _6 k: l5 p6 X2 w
' k* [% a! Q( |8 \+ k' W% WU-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15)
0 T5 v7 t" n, r1 W" T; {
9 a0 G* k2 `( l& c$ j9 ZI2C: ready2 v' R) q M& h9 `, [
DRAM: 128 MiB2 I$ ]5 `+ M# r. Y5 e
WARNING: Caches not enabled
+ @, B" X9 ]" f- UNAND: 512 MiB
7 h% {( _* T6 u9 q4 X2 s4 [MMC: davinci: 0 j" Q$ _1 L( f6 }, j" [& p& Y
Bad block table not found for chip 0
3 g% n3 ]5 P' r! v7 J+ lBad block table not found for chip 0
. p4 U3 ?) k# | }4 ^Bad block table written to 0x00001ffe0000, version 0x01
" W6 W1 z5 o: ?, F9 OBad block table written to 0x00001ffc0000, version 0x01
* K3 Z: A" d! w5 xIn: serial
$ U8 G: o& o% W0 h4 IOut: serial
9 H j ~4 Q+ ]' QErr: serial M" P; H* X6 Q. p
Default using MAC address from environment# E8 g; J7 r+ a3 M1 Z
Net: DaVinci-EMAC& U% J' ~% T3 k) e/ x9 q: R
Hit any key to stop autoboot: 0; E7 o3 p& H; ]! P: P
! K3 _0 E: R4 P6 `7 q% k; L. }Loading from nand0, offset 0x1200006 A3 f% I- D0 [) h7 v( m* a$ S. b
Image Name: Linux-3.3.0
2 D' |5 Y: v( X7 }& ? Image Type: ARM Linux Kernel Image (uncompressed)
2 I# i0 f, |) J! c: ]' O" v" k Data Size: 2843400 Bytes = 2.7 MiB( D" C9 g! ^# b0 }$ z; A
Load Address: c0008000% ^; F/ V) X1 Q( y6 _- _2 w
Entry Point: c0008000
; y5 |$ S) P4 A, X4 L## Booting kernel from Legacy Image at c0700000 ...
- M V2 [' Z; _7 i Image Name: Linux-3.3.0
4 f0 K: B6 A8 M Image Type: ARM Linux Kernel Image (uncompressed) Y1 p9 @ F1 I( ^
Data Size: 2843400 Bytes = 2.7 MiB1 h3 O; S K: N0 S
Load Address: c0008000
; ]2 g& }) Q6 @) M% x Entry Point: c0008000
/ Y. l* j0 ~- {& a7 ] Verifying Checksum ... Bad Data CRC
4 j) s/ E8 ^ Q( f# T! c, { @ERROR: can't get kernel image!- D6 n+ v0 ?9 P7 u# p
U-Boot > Nand boot...1 @" L% l/ P1 n
/ s" }4 x& N. g
7 P7 |% X8 W& `5 x7 K# c
U-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15): u) S1 q* e# v5 \% A
" {. h0 e" _+ g( XI2C: ready' i6 T. w7 X# U$ Y
DRAM: 128 MiB
1 K m/ A$ u* R$ w( k3 HWARNING: Caches not enabled6 a5 M8 Y: J9 ~" x) c$ [
NAND: 512 MiB, y# H; l! F4 P9 B: L# E$ ]8 O
MMC: davinci: 0; h; C! M, |9 E1 V4 D8 n4 ~% B
Bad block table not found for chip 0
: k) L {' k7 Y) {8 O! E& U" ZBad block table not found for chip 0
/ X# k# k% ]8 t; f4 ^% z" w9 ?Bad block table written to 0x00001ffe0000, version 0x01
5 ^. _# w8 V/ m. Z/ _/ \2 `Bad block table written to 0x00001ffc0000, version 0x01, l( E. Q6 Z7 ?9 v1 f- {
In: serial' n b9 s+ e3 D, u1 k: t1 \
Out: serial
- x1 s' W5 j& _; o, k# n# K+ N" IErr: serial0 r' @( F1 R& N; a
Default using MAC address from environment( {' L# j% P% M- D8 p U
Net: DaVinci-EMAC
5 M& g3 r3 `9 k( u ~* h* e" C: tHit any key to stop autoboot: 0+ q3 r1 G- @; X
: V; s4 ?7 E0 }! s* ]# v
Loading from nand0, offset 0x120000$ y4 Q# X" M+ d% Z
Image Name: Linux-3.3.08 r* b$ Q9 S# @
Image Type: ARM Linux Kernel Image (uncompressed)0 [% V+ W3 E, `+ Z/ g+ }9 v8 v
Data Size: 2843400 Bytes = 2.7 MiB
8 t# |2 d& D. B3 J1 P5 l7 t Load Address: c0008000; P. v; ?5 T x% ^6 ?) U( t
Entry Point: c0008000
% J3 { k4 Q! N+ N- i## Booting kernel from Legacy Image at c0700000 ...
& m9 P2 X# l R Z- \% V/ @ Image Name: Linux-3.3.01 Z: y9 ]; z m" v$ v
Image Type: ARM Linux Kernel Image (uncompressed)
7 |6 V* F4 i" @/ }, i" G, X1 x Data Size: 2843400 Bytes = 2.7 MiB Z, R/ a# Z( f
Load Address: c0008000- q/ }2 z a$ Q, C/ h2 H5 t
Entry Point: c0008000
- Y' A% D; Q& @: t( V* B Verifying Checksum ... OK
2 p% g$ S. a5 n. j Loading Kernel Image ... OK8 S7 K P3 F" v: _' ?! b
OK" D1 k+ C' t: c8 E3 z
5 z% O- `+ u( t$ T" m
Starting kernel ...
4 k( t) C0 w0 b
! N; F( ]1 B) f" F4 @2 }8 ?0 aUncompressing Linux... done, booting the kernel.
t9 b( O q( d6 h[ 0.000000] Booting Linux on physical CPU 0# E' ? ]9 O0 a4 k6 m8 r
[ 0.000000] Linux version 3.3.0 (root@custar-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #8 g PREEMPT Tue Apr 28 08:29:38 CST 2015& q* d" ?2 m9 Y! Q' J! W# J1 n. k) d
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177# j4 {# m: J. A
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache+ e0 [! [: U1 b& F
[ 0.000000] Machine: DaVinci DA850/OMAP-L138/AM18x EVM# n! h$ a6 E& T* y) s
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
0 g% W; H: _6 I0 W6 [[ 0.000000] =======> da850_evm_map_io!2 `( w: _* Z% e
[ 0.000000] BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space
8 L4 }1 j" L% q. E[ 0.000000] DaVinci da850/omap-l138/am18x variant 0x1
* Q* H3 J1 ~6 ~* J6 m
1 Z. A6 a1 z! ]' v6 p3 F
( ?) B, _# E: W% } ]! r+ C/ R- ~
8 I2 U- e) L! L* ~....... Z+ a1 J/ n: J7 l6 D
tarting Dropbear SSH server: [ 17.173901] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570- [) l) O$ B1 i" t2 g2 P
[ 17.182220] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 1
1 B" p5 [. T: q8 p3 f$ R( T7 d' x& Y, t9 P[ 17.191623] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -22
5 O$ v# h/ g) H5 i% L7 G4 v6 u; O& p[ 17.202389] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570
% E4 S) P/ b6 L W. f[ 17.210675] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 1# d, E* ~1 [* C0 `$ G& b
[ 17.220069] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -22
! `7 o8 ]- W; D# N4 ]/etc/rc5.d/S10dropbear: line 70: 1063 Bus error start-stop-daemon -S -x "$DAEMON" -- $KEY_ARGS -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS
1 o, e) J! n) e5 O3 ZStarting telnet daemon.- H' v1 f' C B2 N& W) V
0 l7 p7 H. B3 `0 L% B# ?5 L8 `
......
% `; N7 B- [& x* G7 P- F( UStopping Bootlog daemon: bootlogd.
. u# f6 W/ `1 B$ d" {( c
; v9 p* {' _( c% r/ E) i# H _____ _____ _ _
7 W, i0 |; `0 U0 l5 ] ?' T8 C8 v| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_' T5 D- v/ X: b' o; s* i
| | _| .'| . | . | | __| _| . | | | -_| _| _|
' K0 D& O( C0 e|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|% h3 |+ z3 T6 H8 M, j" Z |
|___| |___|
8 n; Y0 P/ M1 Q2 G: k2 z; d$ ?( M' ?/ i$ }1 S
Arago Project http://arago-project.org tl ttyS2: T1 K3 q( C* H3 k2 X% |
* L( J. B8 M3 }& ?+ r6 LArago 2013.06 tl ttyS2& g8 S+ H+ h- [, E1 }8 Q& I
; |' i/ w* m. R
tl login: root (automatic login)
5 O2 g m1 G. }/ T0 h
1 m3 w0 F, o8 k* z1 oroot@tl:~#
" g$ i L# F5 ]& X* F( o" ?
* p9 ?' O# y2 Y3 P |
|