|
使用创龙核心板加自制的底板,总线上挂接16C554串口芯片,突然出现从nand启动后u-boot加载linux内核时报 bad datacrc错误,掉电重启后可以正常% A9 {; V4 ?2 @
3 u2 D, f: [! @1 w进系统但是SSH应用程序报ubifs读node错误,这种现象会不会是u-boot的bug, 日志文件如下:
% N2 E6 d" d' N7 B. D( F x4 X6 d" k1 Q9 i: S1 ^
+ J$ p w( R- p. f& r. Z7 q
U-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15)
; @+ H. l1 I5 U1 I; S3 P0 f# A4 w7 \) d- W: D- @
I2C: ready
. n1 a+ [+ c9 ~6 j( j1 o; [DRAM: 128 MiB; {. t: q- Y& \! \
WARNING: Caches not enabled o+ L' ~4 R. ~5 {. F0 v9 h; l
NAND: 512 MiB# R2 @* E1 q# @. _. x) b
MMC: davinci: 08 T$ a; r' F3 g' k. A
Bad block table not found for chip 0
" K( F1 G7 R+ c8 yBad block table not found for chip 0+ K( |3 x/ x3 y$ e9 E0 f% o
Bad block table written to 0x00001ffe0000, version 0x01
7 i* X1 K' {+ p; G3 r9 v& cBad block table written to 0x00001ffc0000, version 0x01
0 ~: v: }7 k+ ~2 }! S+ wIn: serial% j$ A# S ?$ Y! T# S1 T$ U
Out: serial
% J* U+ H8 y/ B7 d. ? [2 kErr: serial! d( U" `' \& m* ]+ t4 ]& q4 I
Default using MAC address from environment5 B2 X( U) ~* S5 ?4 h/ x6 k
Net: DaVinci-EMAC
8 H: l4 B4 X% b# @, \+ W, oHit any key to stop autoboot: 0- `& O) m' X& f; ?# K- ~
1 r } y( u5 H
Loading from nand0, offset 0x120000
, |0 h7 R$ v, s* e Image Name: Linux-3.3.0
: n( J3 j6 W* j: X: ^ Image Type: ARM Linux Kernel Image (uncompressed)
6 ^! B& \0 h' i3 ?: T* l/ h0 d Data Size: 2843400 Bytes = 2.7 MiB
# t/ U. C+ k& r$ d# t- h/ {0 [ Load Address: c00080008 g- ^" g6 J& x* A0 t& U5 K
Entry Point: c00080001 f7 h4 Z, }) @& u, C
## Booting kernel from Legacy Image at c0700000 ...
5 E5 k" i- ?* P+ q& [ d* R/ w5 i Image Name: Linux-3.3.0: j+ I1 P0 L2 {+ E" i( w; U
Image Type: ARM Linux Kernel Image (uncompressed)9 n/ Y6 e- [! P. A3 ]
Data Size: 2843400 Bytes = 2.7 MiB1 w7 O! r4 s X' P
Load Address: c0008000: b" R" R0 y0 v/ W, q4 e
Entry Point: c0008000! S C8 c8 \! }. }
Verifying Checksum ... Bad Data CRC6 x; `; \3 D* u) I
ERROR: can't get kernel image!: y! `2 R+ _7 \
U-Boot > Nand boot...& x! [* ~" u: e' W
; {) t' u% n% V: d, \3 J/ z( O4 U/ ~1 z% e
U-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15): U* k2 ]# c! ?
% @" D& t/ \( mI2C: ready
4 S: Y- o( u4 S; ^DRAM: 128 MiB
' w" h% f7 ?& u' H2 a" V6 k' ]WARNING: Caches not enabled& W/ t) r" ]# i
NAND: 512 MiB* g/ {3 P. V5 x1 G9 w' ~2 G% @
MMC: davinci: 0
% H' o" a& Y7 PBad block table not found for chip 0+ ~. r Q- J/ z
Bad block table not found for chip 0
& ^0 a5 q& O% z8 e5 o* L9 \5 q5 ~ aBad block table written to 0x00001ffe0000, version 0x01; F- _, j J4 N( l* m% C( P) f& X
Bad block table written to 0x00001ffc0000, version 0x01
2 B0 }. t: I. j% qIn: serial
7 |( M; @3 E3 ]3 HOut: serial
2 R) ^4 Z2 u# E6 B4 BErr: serial. Z+ w* h1 T" `5 y( D( o
Default using MAC address from environment' Q* q ]' J, u$ j& }) \
Net: DaVinci-EMAC3 R- n1 C+ W8 X+ Y
Hit any key to stop autoboot: 0
. E9 g* n3 G0 i _- @0 M; `# x/ P+ T' m/ T1 Y; O i
Loading from nand0, offset 0x1200003 B9 G+ V9 E2 _1 j" ~$ b
Image Name: Linux-3.3.0# C7 Q, `7 |8 ]9 h0 M& P. r4 |
Image Type: ARM Linux Kernel Image (uncompressed)& g7 T; C& w7 a2 ?# m/ [( p9 a4 h
Data Size: 2843400 Bytes = 2.7 MiB$ m/ |! N0 r9 x5 s) w5 D' {
Load Address: c0008000
7 X* e( ]3 p( P Entry Point: c0008000! u5 o1 ?1 ^- \ O% C
## Booting kernel from Legacy Image at c0700000 ...
3 E% Z+ A |" o# o/ d2 |1 x( h* j3 p Image Name: Linux-3.3.0
# L$ {5 |/ i* M. `% ?, E8 e* U Image Type: ARM Linux Kernel Image (uncompressed)# e2 w( X" }1 p/ b& k
Data Size: 2843400 Bytes = 2.7 MiB2 P% e) ]7 I/ g
Load Address: c0008000
n0 q) o; N0 R Entry Point: c0008000. l- H6 i1 H) p, Y8 }$ W+ p
Verifying Checksum ... OK8 |" } v# k8 N- I4 \
Loading Kernel Image ... OK
+ t# |8 f' R1 R f* [2 M1 WOK
: h5 {0 T# O- h. v( o; u/ A0 |) [) F( s8 n4 r+ F' g
Starting kernel ...6 Z, P; z: @0 H0 D. b; S9 h
6 Z" P2 B, \% W) X0 t/ k
Uncompressing Linux... done, booting the kernel.
& ?% C: B/ f$ M/ @: |; s[ 0.000000] Booting Linux on physical CPU 0
6 a' p" e( ?* ^' I: V! A( a[ 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' m( C! q0 _( Y3 D& N3 D+ Y
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
, S# g9 }$ I5 f6 T& G! c" ~: X[ 0.000000] CPU: VIVT data cache, VIVT instruction cache# B. r2 E+ S8 A! n9 a" y5 p {
[ 0.000000] Machine: DaVinci DA850/OMAP-L138/AM18x EVM
7 c# y1 N3 h/ `0 |5 y[ 0.000000] Memory policy: ECC disabled, Data cache writeback
$ o( u9 K! n3 P3 M6 I[ 0.000000] =======> da850_evm_map_io!
0 e; p4 R5 N. V# e/ g9 q[ 0.000000] BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space3 j8 e, |* i& Q# M& D# O9 z
[ 0.000000] DaVinci da850/omap-l138/am18x variant 0x1
, H# Y: a* E7 W0 a! K+ i$ M5 m7 b
r6 J+ ]: F6 n3 c! T' _* o( V- N
6 t9 X. e$ n, q: b! x. _! B2 l6 q0 U......9 M& X; b0 E. n+ ~: ^8 J6 [
tarting Dropbear SSH server: [ 17.173901] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570
/ V, u+ T$ R/ d% w3 }2 @& v[ 17.182220] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 1
, M' |0 a# _4 Y1 ^0 a+ B[ 17.191623] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -224 M6 E0 B1 N7 z! B8 p
[ 17.202389] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570
, D0 b( ]0 Y! c[ 17.210675] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 1: g& A6 f6 B! z, W9 F6 V2 [2 t
[ 17.220069] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -22( i7 D3 d/ v. y. W' j
/etc/rc5.d/S10dropbear: line 70: 1063 Bus error start-stop-daemon -S -x "$DAEMON" -- $KEY_ARGS -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS t8 V2 ? j. F8 m2 e' |4 W2 V
Starting telnet daemon.
; |( k i) N' h2 n. E( ?6 m1 a4 i& j: a. P$ N
......2 p! A% {* K( c4 [/ Y
Stopping Bootlog daemon: bootlogd.
4 I- I2 [6 u, T9 ]! ^3 G& r; m& q9 M" s: L+ S1 H: ^5 B% W
_____ _____ _ _3 f- s; x2 z# q1 R$ k6 C/ [/ S
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_- E ~; W5 A3 T9 q$ u5 w
| | _| .'| . | . | | __| _| . | | | -_| _| _|/ ^% M5 n" y* R8 ]$ r& o
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
6 N9 d! J$ R. H4 n R: ^7 ^ |___| |___|
3 b& b, c2 g3 p
+ c' G4 }, K) ~8 A( |( |9 kArago Project http://arago-project.org tl ttyS2
$ G( V0 Y# o8 C" p$ a
1 z6 O4 @6 S& \( z6 oArago 2013.06 tl ttyS2) r- D! w, v* e4 ^$ w4 {
/ }$ a( A8 d5 H9 itl login: root (automatic login)
9 F8 | }1 Y6 d0 @. P. R
" m' o8 ]% S. ~/ j3 vroot@tl:~#
5 \* E% p) F* i/ h$ U
4 Z8 k* |! e2 f/ G" X7 ^$ e- E |
|