嵌入式开发者社区

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

作者: gaocaimary    时间: 2014-8-14 11:34
标题: 内核编译去掉USB驱动出现启动不了的问题
启动现象如下
; s6 x# w1 ~* r[    1.601224] Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff/ Z4 E+ q, F0 _$ V( x3 S: [
[    1.608128] spi_davinci spi_davinci.1: Controller at 0xfef0e0006 t8 [- \- H; w- _- n9 D5 Q7 G
[    1.665922] davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
" }' U  k( |. x& M4 L0 K[    1.765823] davinci_mdio davinci_mdio.0: timed out waiting for user access0 ]2 V6 O( _* N
[    1.773673] davinci_mdio: probe of davinci_mdio.0 failed with error -5
  W0 b! P7 V' l, Y* t: `[    1.782316] _regulator_get: spi1.1 supply vcc not found, using dummy regulator
+ e$ H# E; v: T. E[    1.790613] ads7846 spi1.1: touchscreen, irq 1457 d6 Q1 o1 z4 ^/ I
[    1.796961] input: ADS7846 Touchscreen as /devices/platform/spi_davinci.1/spi_master/spi1/spi1.1/input/input0
9 Q  N* d3 X4 u) J5 {[    1.811665] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
( {& z& J! v2 G7 S[    1.818481] omap_rtc: RTC power up reset detected0 M5 @" k  f, l
[    1.824103] i2c /dev entries driver
% Y; h3 T& n. c/ B% Y  @, b) Z[    1.831084] lirc_dev: IR Remote Control driver registered, major 2533 e! ?. i! R; m/ t  x& r
[    1.837971] IR NEC protocol handler initialized: [. i+ x0 x; o3 d' \
[    1.842583] IR RC5(x) protocol handler initialized$ U; k0 U$ i" o1 [- z- x
[    1.847554] IR RC6 protocol handler initialized" h) S3 k6 b# x1 Z6 J% W9 r
[    1.852136] IR JVC protocol handler initialized& g, x; a* G( v4 o7 ^' l
[    1.856796] IR Sony protocol handler initialized: s1 N0 n3 ?1 y9 A8 P
[    1.861480] IR RC5 (streamzap) protocol handler initialized
; l. ?, Q. ~4 @$ ]# b' T" o[    1.867170] IR SANYO protocol handler initialized
1 [- b% c/ _! Z% G0 h, y[    1.871935] IR MCE Keyboard/mouse protocol handler initialized9 ^" \+ a6 `- p! P5 D
[    1.877882] IR LIRC bridge handler initialized
$ N" j. y% v: ~4 K1 O% C[    1.882369] Linux video capture interface: v2.00
& J9 B2 }/ R2 e2 Q2 m2 a7 I[    1.888722] watchdog watchdog: heartbeat 60 sec
6 i& E% {3 T) @1 k/ \3 z[    1.895285] cpuidle: using governor ladder
" [. N, |: V) p' D$ l& q9 p! B[    1.900118] cpuidle: using governor menu5 Z' W  M' R2 c& M
[    1.907499] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode* R* u/ u) `) b8 Z; j8 ^- i, P
[    1.918396] TCP cubic registered
* X& }; H7 ^$ C  e* ^[    1.921694] NET: Registered protocol family 17
7 ~* l) ]" I; ]+ Y2 [. p[    1.927113] _regulator_get: deviceless supply cvdd not found, using dummy regulator
) ~' f" l. w4 R+ E4 x" E[    1.942633] console [netcon0] enabled7 W0 O8 m; F. |" ~! J
[    1.946844] netconsole: network logging started
( X; D/ A' l/ @4 X( f8 O. c  E, c1 c[    1.951985] davinci_emac davinci_emac.1: using random MAC addr: 72:9d:29:ed:bd:8d
' y$ a& `2 I# L. R[    1.971301] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)# u& U7 o% Y# E* X# t; q- Y8 T
[    1.981557] Root-NFS: no NFS server address6 k" z3 N% v& ?$ C' J+ O1 h
[    1.985997] VFS: Unable to mount root fs via NFS, trying floppy./ B8 ?! b8 L0 s) E* m
[    1.993259] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)7 c8 l- C0 H, e( ~6 H+ n1 Q
[    2.000512] Please append a correct "root=" boot option; here are the available partitions:
/ F0 [+ V: ~) ]8 l[    2.009218] 1f00             128 mtdblock0  (driver?)& j; t7 n; w7 F  @) `& p
[    2.014571] 1f01             512 mtdblock1  (driver?)' Y9 I, h) K2 Z" N
[    2.020016] 1f02             512 mtdblock2  (driver?)
% B  p8 f5 a3 S. P/ a. x* c[    2.025353] 1f03            4096 mtdblock3  (driver?)% {. Q4 j$ q; \2 L9 M5 M
[    2.030825] 1f04          519040 mtdblock4  (driver?)
5 h. I8 H6 p: g6 }; S/ v% H7 @[    2.036225] 1f05              64 mtdblock5  (driver?)! p/ C. L% V$ O
[    2.041536] 1f06             512 mtdblock6  (driver?)
7 P2 B) O4 z1 x[    2.046904] 1f07              64 mtdblock7
9 ^& x, ~$ C$ i! O. \- ?; z[    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.3 W* g6 R7 _8 }
[    2.059503]  (driver?)
% U7 Z: o" t7 M/ I/ x1 f# d. d+ E+ v[    2.061933] 1f08            2560 mtdblock8  (driver?)
+ t0 i. V, u; A; c[    2.067289] 1f09            4096 mtdblock9) n3 C9 |' w# e  u, u7 {
[    2.071638] mmc0: new high speed SDHC card at address 1234: ?7 i' C& w& f* f, [
[    2.077485]  (driver?)
" W: p+ R5 o* O) j# t[    2.079916] 1f0a              64 mtdblock10  (driver?)
: N1 _6 u7 q; N/ T. ~[    2.085120] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
1 |% W, D/ M5 @& L                                                                                                                                           6 x# n& I6 M3 s3 q
然后串口就没有反应了,紧急求助
! y  V2 s5 c# v  {( ~( J$ s& B; m! b3 ~" V7 K- D  t& y0 L/ j

作者: teddy    时间: 2014-8-14 17:20
    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.$ k2 |8 u  n8 E" E1 L: W. a9 d* U8 m4 I
[    2.059503]  (driver?)
2 l  `$ X% Y1 |! ^; x$ g. t您的问题,可能是sd的wp管脚被lock了,请检查一下sd卡,跟usb驱动应该无关的。+ Q/ {$ B+ b: J1 o- S2 m





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