嵌入式开发者社区

标题: 内核编译去掉USB驱动出现启动不了的问题 [打印本页]

作者: gaocaimary    时间: 2014-8-14 11:34
标题: 内核编译去掉USB驱动出现启动不了的问题
启动现象如下5 T+ b4 G$ W+ T/ n* Q
[    1.601224] Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff
: _( ~, r, ]1 d$ W& h1 W( g[    1.608128] spi_davinci spi_davinci.1: Controller at 0xfef0e000# C4 r6 j& ^# {' |* @0 s  B
[    1.665922] davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
2 X9 ?2 W5 n- V  Y[    1.765823] davinci_mdio davinci_mdio.0: timed out waiting for user access  D. t+ Y3 E& k  [0 j% ]
[    1.773673] davinci_mdio: probe of davinci_mdio.0 failed with error -5" I6 i! w8 Y5 {. A7 h' {1 s# `5 j
[    1.782316] _regulator_get: spi1.1 supply vcc not found, using dummy regulator
4 k3 I: ]# q. ^5 A+ ]; P8 D[    1.790613] ads7846 spi1.1: touchscreen, irq 145
- L5 q/ y9 g' w[    1.796961] input: ADS7846 Touchscreen as /devices/platform/spi_davinci.1/spi_master/spi1/spi1.1/input/input0
9 d, @& F8 W; T) q; _5 a[    1.811665] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
' L5 i5 ]' X3 Y[    1.818481] omap_rtc: RTC power up reset detected
, i& Z9 r# T0 `4 B' Y8 K1 R[    1.824103] i2c /dev entries driver
+ T. j% T! s2 r; y& h/ h+ K, |  C) G[    1.831084] lirc_dev: IR Remote Control driver registered, major 253" h2 U3 E; j1 U0 k( X
[    1.837971] IR NEC protocol handler initialized- F; R5 U" ~9 V  ]2 \% W1 |
[    1.842583] IR RC5(x) protocol handler initialized0 @1 b& o$ `* w! ~7 v7 \; g
[    1.847554] IR RC6 protocol handler initialized$ t' L( Q) y: p1 y/ e: M
[    1.852136] IR JVC protocol handler initialized* ]. l$ J# T. c- ?" t- {3 N* a
[    1.856796] IR Sony protocol handler initialized
, q5 b1 l  t+ P" Z1 a[    1.861480] IR RC5 (streamzap) protocol handler initialized
" `9 E" z3 I" [% J[    1.867170] IR SANYO protocol handler initialized' {# C$ n" W) a5 f# T9 I  ?- ]
[    1.871935] IR MCE Keyboard/mouse protocol handler initialized5 {6 ]) Q* L# G" T6 _
[    1.877882] IR LIRC bridge handler initialized; O  S- V5 D$ K8 p% B/ r
[    1.882369] Linux video capture interface: v2.003 \9 S7 T, I& n6 z9 k
[    1.888722] watchdog watchdog: heartbeat 60 sec
0 R( O: `2 K7 V7 l% E) e6 V+ w[    1.895285] cpuidle: using governor ladder
' l" l; b) @9 S% c4 n7 i3 Y0 w[    1.900118] cpuidle: using governor menu6 ~  I; `4 \7 ?9 R5 x$ ^* R7 ?
[    1.907499] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
+ _7 m& G/ `* m5 \; f[    1.918396] TCP cubic registered
6 }3 {  q6 S4 |0 K# l7 ?[    1.921694] NET: Registered protocol family 17
. x5 m' \. H' Y, L# W8 g+ Z' Z+ L6 k[    1.927113] _regulator_get: deviceless supply cvdd not found, using dummy regulator: s- [& E) Z, D2 u
[    1.942633] console [netcon0] enabled
  A3 V0 q6 I1 E) H& ~) I2 Y[    1.946844] netconsole: network logging started
' q1 G- @7 \$ V& _' w[    1.951985] davinci_emac davinci_emac.1: using random MAC addr: 72:9d:29:ed:bd:8d9 T' x! v; F9 _. B/ E3 d
[    1.971301] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
: X% X9 u6 d8 _  Y- N3 Y[    1.981557] Root-NFS: no NFS server address
0 }' r, \8 D. {9 y$ u1 V4 ^, o[    1.985997] VFS: Unable to mount root fs via NFS, trying floppy.1 M5 ^1 n: ]8 f8 I, {# m3 ]; P
[    1.993259] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
% g7 U" @6 E/ S  k/ ]3 j2 p$ U[    2.000512] Please append a correct "root=" boot option; here are the available partitions:2 ]2 C/ T# v( v- m- i% n: L# p
[    2.009218] 1f00             128 mtdblock0  (driver?)
5 G; g- B+ P  \/ t8 N' R[    2.014571] 1f01             512 mtdblock1  (driver?)& ^8 j3 I3 D  _- t, C
[    2.020016] 1f02             512 mtdblock2  (driver?)
" H. U; V! y( V5 w[    2.025353] 1f03            4096 mtdblock3  (driver?)- `7 g, _7 ]' L/ l2 k
[    2.030825] 1f04          519040 mtdblock4  (driver?)) Z  {; `3 F5 B3 k2 @( Z
[    2.036225] 1f05              64 mtdblock5  (driver?), a! g" d5 Q5 R1 e, Q: R3 }" |
[    2.041536] 1f06             512 mtdblock6  (driver?)* V% y0 G; K" P2 j3 _0 B; ?+ k
[    2.046904] 1f07              64 mtdblock7
# ]+ f/ J7 a2 v) O: J9 w' m7 Q[    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.
4 y8 P0 X7 ^+ [; C9 x[    2.059503]  (driver?)
& B; f& U% v0 V. B7 |% j[    2.061933] 1f08            2560 mtdblock8  (driver?)
6 F; X1 D/ y# X1 F8 P[    2.067289] 1f09            4096 mtdblock9
3 p6 p5 L+ A8 `6 d8 n4 f9 x[    2.071638] mmc0: new high speed SDHC card at address 1234
) F- S7 }" L+ g' h8 Z[    2.077485]  (driver?)' u. d$ A$ H2 C0 y# |' ?
[    2.079916] 1f0a              64 mtdblock10  (driver?)
) @3 O1 k! f6 q. k  i: v[    2.085120] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0). w) J# y  A8 [* u$ U
                                                                                                                                           ( ^5 S1 x, g$ G) u( I. g
然后串口就没有反应了,紧急求助! J8 m4 p+ t; I- x! \  q- Y5 z. ?
" z1 ^3 ^% S+ p' o0 i

作者: teddy    时间: 2014-8-14 17:20
    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.
" T0 y8 m1 j& X' B7 t2 ?[    2.059503]  (driver?)
# N' g$ X4 N0 A9 I' u您的问题,可能是sd的wp管脚被lock了,请检查一下sd卡,跟usb驱动应该无关的。3 t3 L5 s0 w# q





欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4