|
|
使用创龙核心板加自制的底板,总线上挂接16C554串口芯片,突然出现从nand启动后u-boot加载linux内核时报 bad datacrc错误,掉电重启后可以正常
; ~- ^* H e- s# R$ P, ~: X! L4 g8 M! R+ g9 O: E4 [% P9 x& D( }$ _) Z
进系统但是SSH应用程序报ubifs读node错误,这种现象会不会是u-boot的bug, 日志文件如下:
* b+ D' x3 ^# v- i
5 m3 W2 ` z: ?4 t: g+ r$ H' r# G3 {* T3 Z. |1 J
U-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15)
) E& m Z( ?- A
3 {: E8 Z3 v( v. r WI2C: ready
3 E! C7 w' F7 {/ DDRAM: 128 MiB0 b- w% T" I1 y# e
WARNING: Caches not enabled; r' N$ w$ x+ G: n" ^
NAND: 512 MiB
4 z% l% H( _+ }/ _2 C; F* z- pMMC: davinci: 0
& i, L6 o3 i, n f2 ^9 SBad block table not found for chip 0( Z9 x7 C$ P4 `- N: c: {' {# d5 b
Bad block table not found for chip 0) b: e+ T2 X9 M0 M) p- s
Bad block table written to 0x00001ffe0000, version 0x01
* u+ j' }# O; g/ ~. c3 EBad block table written to 0x00001ffc0000, version 0x01
8 y. A1 X6 M. z4 XIn: serial
: K1 { y! F' _( ?Out: serial; w9 o% L' M' A
Err: serial/ G3 ^" B4 ]/ @5 J
Default using MAC address from environment6 H5 n( `0 [4 m8 H. e6 X5 ~
Net: DaVinci-EMAC
/ W9 h: K% s$ b8 g. {( vHit any key to stop autoboot: 01 f& F w$ N! }7 M
- Y/ i/ J4 ?! y) N' w
Loading from nand0, offset 0x120000( J' w$ @0 b2 }: o1 B
Image Name: Linux-3.3.0) j" e2 r! O6 N' O9 _
Image Type: ARM Linux Kernel Image (uncompressed); G8 \- r3 j4 o; Q; f& }
Data Size: 2843400 Bytes = 2.7 MiB
6 L) e: d9 P" v Load Address: c0008000
5 ]0 D7 J9 `; }: B& Y Entry Point: c00080006 J8 n$ k; ], k* d& r& V: }7 b/ A
## Booting kernel from Legacy Image at c0700000 ...
; }& l0 C$ Z" E3 z: j. W Image Name: Linux-3.3.0
9 u K ^8 b B Image Type: ARM Linux Kernel Image (uncompressed)
) C+ Y' b7 I0 v* M% D7 i6 B Data Size: 2843400 Bytes = 2.7 MiB/ g: _. _; k9 B2 c6 E1 t
Load Address: c0008000
% E* {1 g4 D- I. H1 F) V2 A0 y Entry Point: c00080003 S9 a# S, z) f
Verifying Checksum ... Bad Data CRC
. v) D: `2 Y3 d; L8 J' UERROR: can't get kernel image!+ a7 n' s- A, m' s
U-Boot > Nand boot...- ~ s5 r$ w8 ]- d0 H6 M' q
: M" J0 @ |& w- G9 S: u
5 B6 i3 ?5 Q6 S- {- `8 N2 XU-Boot 2012.04.01-00054-g9a6dfff (Nov 04 2014 - 22:07:15)# z! ?! [- Q3 q3 ~4 L
0 P3 z2 j" d4 xI2C: ready& h& p% f' U8 X1 R/ [
DRAM: 128 MiB9 D: F; ?- d, r; }0 Y0 t
WARNING: Caches not enabled
) E0 x6 s/ s' ENAND: 512 MiB }2 [! T7 U8 ?) u; P' A
MMC: davinci: 0
/ a9 M& g& @3 zBad block table not found for chip 0
0 Q2 t8 n, @+ O- {) J: [' zBad block table not found for chip 0
/ Y" T( c6 K* E, z$ _1 _Bad block table written to 0x00001ffe0000, version 0x01
4 D: p: e, ~% d F" }' @* pBad block table written to 0x00001ffc0000, version 0x01
# C$ \' g& B+ C6 KIn: serial. U/ b O# p/ _3 i6 \/ F- x2 f" \3 A
Out: serial. G, L+ f4 V$ b; r
Err: serial
$ Y8 W! U2 s/ `Default using MAC address from environment; A7 [3 l1 h1 q9 f" v% ^ `8 S
Net: DaVinci-EMAC- n3 u1 h( {6 @+ k! _
Hit any key to stop autoboot: 03 N1 h6 t5 v7 G0 G4 F7 j
7 B& I: w8 T4 S4 s+ v
Loading from nand0, offset 0x1200003 f1 H2 j6 m0 w* x& ]
Image Name: Linux-3.3.0
# D$ w9 i$ B3 @" _2 B2 O Image Type: ARM Linux Kernel Image (uncompressed)
4 y2 \+ X$ q) o4 J Data Size: 2843400 Bytes = 2.7 MiB8 }1 l' _, t3 m }$ K
Load Address: c0008000
( ^. n: c( u o1 I1 C7 I# X Entry Point: c00080005 n$ d; N( }$ n8 j
## Booting kernel from Legacy Image at c0700000 ...
& v* H3 G& i$ V: v$ `5 W Image Name: Linux-3.3.0
1 [$ U8 w1 P' ~7 U! n4 ^ Image Type: ARM Linux Kernel Image (uncompressed)5 k9 M- S+ u* x
Data Size: 2843400 Bytes = 2.7 MiB) w0 l+ J. }1 H7 s# v9 o- U
Load Address: c0008000
1 B5 Z- }1 L9 z& a8 `* \/ r Entry Point: c0008000# S+ X1 ?6 ^# ^' F
Verifying Checksum ... OK
& U$ T' Q* T# [, |- n( A Loading Kernel Image ... OK
: \/ ]$ K/ n' Z/ g. COK# F* m' ?4 `( N
. ]4 h- N7 F, O* J' V, w( AStarting kernel ...2 k0 a$ m; V% \/ u
p$ ^/ _' j* Z! ~& V0 e1 eUncompressing Linux... done, booting the kernel.
4 |' [ O3 R4 h9 Y/ f2 k% O0 [[ 0.000000] Booting Linux on physical CPU 0/ [; K6 N I& K+ R8 t6 ^) 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& J# P% W6 f( s6 M$ `6 S
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
$ Z' W" R3 I' J& [. l+ Z% @[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
* M+ t* f, E9 M* P5 K[ 0.000000] Machine: DaVinci DA850/OMAP-L138/AM18x EVM+ L' ` X' r% s
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
, S8 s0 L8 Y* C+ h6 T2 _[ 0.000000] =======> da850_evm_map_io!) k( Q$ A0 ?9 Q2 W! {9 h0 f- W0 _
[ 0.000000] BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space) t b( d% B; r
[ 0.000000] DaVinci da850/omap-l138/am18x variant 0x12 W) \ v. x2 P% C
4 Z5 J- P+ V1 s' M
, g0 [% ^$ K' x- c4 y! j. W
4 [: K" z! j7 d9 t1 t" P
......* }, C, l! w v0 v
tarting Dropbear SSH server: [ 17.173901] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570
0 F- o4 J6 W' d2 |( Y" |8 h) a1 V/ X[ 17.182220] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 1+ \" S& q- X6 d" T8 [% W
[ 17.191623] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -22
5 V9 s2 P/ f1 V[ 17.202389] UBIFS error (pid 1063): ubifs_read_node: bad node length 4082, expected 3570' _% C- j7 f0 o5 j
[ 17.210675] UBIFS error (pid 1063): ubifs_read_node: bad node at LEB 486:101360, LEB mapping status 17 C! w' c3 R( C
[ 17.220069] UBIFS error (pid 1063): do_readpage: cannot read page 22 of inode 3091, error -22; P! J/ f2 M3 @% V3 h" M, ~
/etc/rc5.d/S10dropbear: line 70: 1063 Bus error start-stop-daemon -S -x "$DAEMON" -- $KEY_ARGS -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS
& e; f8 h1 T' ~; e) x1 P- e4 LStarting telnet daemon.2 H0 b( y" L2 X1 i2 C# I0 z
1 ]# {8 z$ Q- g2 ]# f
......
" {- X7 q4 J# o$ P" T7 T% XStopping Bootlog daemon: bootlogd.7 @( R' m5 p; C( i
- l. b2 Y4 i' S9 a _____ _____ _ _
1 s0 o9 K$ E: @| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
3 Z0 T% b# ^* N/ f; @2 s, l| | _| .'| . | . | | __| _| . | | | -_| _| _|
3 {/ R: Z3 ^5 v|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
7 T8 ]0 f9 r$ l5 Z J |___| |___|
" s( X4 z$ B) Z9 L. Y: V% Z2 s$ g0 q! \" Q/ `0 Y: G9 X+ v" ?( q
Arago Project http://arago-project.org tl ttyS2
1 P: t$ J! T* {# P! k1 ~6 _2 T
4 I; B. q! X$ o8 [Arago 2013.06 tl ttyS2; Z' X2 l& d9 \* X6 r7 @ D
. P4 C# N& v; U' Xtl login: root (automatic login)
8 `# T7 J( t! q6 K2 N: `
2 w+ Y5 |. a; C4 b8 z- b9 C* oroot@tl:~#
0 R8 q1 j# Y; G9 W+ q5 t# S6 u2 F+ Q, r1 S9 x( H
|
|