|
使用创龙核心板加自制的底板,总线上挂接16C554串口芯片,突然出现从nand启动后u-boot加载linux内核时报 bad datacrc错误,掉电重启后可以正常
& x3 W# {1 @: m6 p& K! F
: Y Y' j6 w$ F进系统但是SSH应用程序报ubifs读node错误,这种现象会不会是u-boot的bug, 日志文件如下:2 q; N8 N- A, q# x* m$ E
( p7 r3 E4 d2 z% ~ S# @3 e, G4 d( x( m H
U-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15)
# ~! n4 U9 O8 G5 y; ?! }
9 I+ H- y h; h9 E7 N8 f6 CI2C: ready
$ o7 g X4 S% I2 b4 N7 TDRAM: 128 MiB* Q- ]4 O5 x1 e4 P- [, T
WARNING: Caches not enabled
- u+ J$ p5 X; G+ p: DNAND: 512 MiB
- z' P5 F- A" P% QMMC: davinci: 0. A. b y5 a% Z# ^5 a6 ~' S
Bad block table not found for chip 0
9 n3 S, c9 d1 }$ t" \Bad block table not found for chip 0
3 p7 C1 b! J0 R8 N j$ Z) CBad block table written to 0x00001ffe0000, version 0x017 e( m |8 K; {5 J
Bad block table written to 0x00001ffc0000, version 0x01* j( K$ i3 W* W! {* t
In: serial
* A4 ~) c- {8 O; b+ f- V+ SOut: serial P y O/ e2 C& H' Z
Err: serial; b" ^; Y6 r7 M. n2 Y3 z
Default using MAC address from environment
6 }: z; |2 W- V0 b$ I- oNet: DaVinci-EMAC
7 a& N! h: F: D f* V2 wHit any key to stop autoboot: 0
( O- i3 |1 M" Y/ U2 E i% G" i' V7 I- q
Loading from nand0, offset 0x120000/ q4 J2 | X# b8 O; w4 N% H
Image Name: Linux-3.3.0
. p4 s* n6 k2 o6 _6 M) o Image Type: ARM Linux Kernel Image (uncompressed)9 I# ?" D. Y6 q
Data Size: 2843400 Bytes = 2.7 MiB
. P! r6 C+ s) Y" e; F; `& K; k Load Address: c0008000
/ u1 x$ n( x) x3 ~1 ]- a5 ~ Entry Point: c0008000% P6 H. X* V, U- E# O4 {2 [4 U0 j
## Booting kernel from Legacy Image at c0700000 ...3 \" S4 _* X* U' c; |' [& v+ f( T
Image Name: Linux-3.3.0
; Q6 H3 B* k' C q Image Type: ARM Linux Kernel Image (uncompressed)
, G6 S o, v/ x( ] ^$ @& ^; G Data Size: 2843400 Bytes = 2.7 MiB' G E# Z/ a* B8 r( g; b6 z
Load Address: c0008000
+ E: Z; l- V/ Y2 l Entry Point: c00080005 D8 c; i& F9 z, @
Verifying Checksum ... Bad Data CRC( t8 }9 |" i; E
ERROR: can't get kernel image!( y; d- x2 N9 b. {3 k" W' B
U-Boot > Nand boot..., n0 }* G: c% K' _* o- O
( q0 O6 j1 c% u, c2 J" B
) F' |/ c! ?5 O5 E
U-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15)( |) D5 C: j+ S; {
+ h1 l3 u& A4 b. Q$ H, X
I2C: ready7 A0 w x# g5 b3 F3 k
DRAM: 128 MiB
6 b, V2 E# I& ?/ q" U! U! i7 uWARNING: Caches not enabled! N @2 Y+ s5 h( U6 a
NAND: 512 MiB
0 }9 H* X) v: m) y$ h0 O# nMMC: davinci: 0! S* x4 A+ j4 ?/ K. G$ r9 s
Bad block table not found for chip 0
+ w- s# c0 Y# cBad block table not found for chip 0
# w# j! _% z* h, a2 XBad block table written to 0x00001ffe0000, version 0x01
* _$ T8 {+ f' }# s! Z. wBad block table written to 0x00001ffc0000, version 0x01
# w, T. o. i' vIn: serial8 b4 |( Y4 [4 m; v5 P* U
Out: serial" Q5 _! t |: L* t
Err: serial# u- x1 C) A3 N8 ]
Default using MAC address from environment
+ R$ X; x8 P/ K0 U, ]Net: DaVinci-EMAC% n# L+ ]; Q$ M
Hit any key to stop autoboot: 0: t% _) T' Y5 F' K5 i. e; O. M
, h' N' a) y! P; G& b9 ^2 `: H
Loading from nand0, offset 0x120000$ C5 t3 Q. E& q
Image Name: Linux-3.3.0- ?/ J# w, g" R; v# K% v( o1 y
Image Type: ARM Linux Kernel Image (uncompressed)6 Z+ G6 T/ V- K0 X; b
Data Size: 2843400 Bytes = 2.7 MiB
. n% L9 s/ o5 `# L0 W" e9 N Load Address: c00080000 T' K' a, L$ X: W( W
Entry Point: c0008000
6 |& M' T* O$ x9 I% W## Booting kernel from Legacy Image at c0700000 ...- F+ O1 o- _: J E* F
Image Name: Linux-3.3.0, O4 i5 |5 ^' u! V4 ~
Image Type: ARM Linux Kernel Image (uncompressed)- W% t# W( I) I. P$ ?9 a
Data Size: 2843400 Bytes = 2.7 MiB3 X3 q% N" u( T. `$ u& f$ L
Load Address: c0008000
: g8 n \1 m8 B7 j" D5 u& | Entry Point: c0008000
8 K. `' T7 T) { Verifying Checksum ... OK4 A: y5 d, A2 Q9 j6 A* e4 N
Loading Kernel Image ... OK
" B9 p; V [8 z; M8 C/ C6 rOK$ I6 M/ G. E% E
6 s3 I3 m% A- a# g, O% y; j3 pStarting kernel ...
5 _$ J( h( b/ g2 a' [
0 T( m4 h- [$ H6 X0 KUncompressing Linux... done, booting the kernel.+ `- [1 a9 G) h6 L4 ?* V
[ 0.000000] Booting Linux on physical CPU 04 L# K" i+ Z; @
[ 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
4 q8 y6 @* H. Q9 j1 x5 P e% |[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
* N( |% S3 e& G! F9 b' q8 D% P[ 0.000000] CPU: VIVT data cache, VIVT instruction cache, e; E' o3 O0 }1 U8 I5 _! O
[ 0.000000] Machine: DaVinci DA850/OMAP-L138/AM18x EVM
4 b7 T# J! r9 f* r! m2 i[ 0.000000] Memory policy: ECC disabled, Data cache writeback/ C% S" ]: a$ I" V0 f
[ 0.000000] =======> da850_evm_map_io!; e& T; p% X) N6 q0 G6 k
[ 0.000000] BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space
( _- S4 K9 z* x. a, x1 S[ 0.000000] DaVinci da850/omap-l138/am18x variant 0x1
/ ^& Y9 H e& u A8 n j+ ?8 v
c) @, S8 P$ F1 h' x, N+ j$ k4 ]( u3 l0 W: {. r0 D
% h* O' W% c: D2 N& z9 v$ g# K% a......
( D6 C% Y! x, mtarting Dropbear SSH server: [ 17.173901] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570: |: X7 q% [3 V! r- z2 J5 v9 A
[ 17.182220] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 1- ]7 @, a& [# U Y. F# k& D: `4 T
[ 17.191623] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -22) }' _8 R4 A3 N( d' h3 o
[ 17.202389] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570
# Q0 g( C' ~6 l* ^( e[ 17.210675] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 1
/ A$ S7 S! I* f% {3 l# ]2 h[ 17.220069] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -220 h4 A- M; ^. t# ^) @- _; {
/etc/rc5.d/S10dropbear: line 70: 1063 Bus error start-stop-daemon -S -x "$DAEMON" -- $KEY_ARGS -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS& R5 ~! n; n8 O% U
Starting telnet daemon.; k+ k' ?+ H4 ?/ T2 r1 t
' [0 C: c3 `% N% \' B
......
, a# R' m0 l' Y' DStopping Bootlog daemon: bootlogd.
# I% ?. x) k* t6 s% a; Y
+ {" r/ {8 {& F/ y o% E# o _____ _____ _ _
3 M6 Z( R3 l1 u" F& q| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_2 K8 i# e5 j0 f J/ `
| | _| .'| . | . | | __| _| . | | | -_| _| _|
, |! M; @- `5 J `* y9 d|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|- ?8 A# B& O h/ o
|___| |___|3 k# t9 N+ N! ]6 t& y: p: l& c
* z- `, ?4 s9 O4 }: W
Arago Project http://arago-project.org tl ttyS2
4 j( T; J0 @/ D' X+ s0 T6 `% I% W( U, S- Z$ I7 u- u: r+ ?
Arago 2013.06 tl ttyS2
. x/ n D7 M5 ~5 ]3 Y/ q
# [ I0 b: }# @5 {# Ttl login: root (automatic login)
) x& {. r7 e& Y, l
; N" g6 i4 }" E! Lroot@tl:~#. [( f' V6 a% d& S) H. s
+ y0 y* ?0 C' k1 m* x% X
|
|