嵌入式开发者社区

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

作者: gaocaimary    时间: 2014-8-14 11:34
标题: 内核编译去掉USB驱动出现启动不了的问题
启动现象如下
( f, B0 a; s. D' j7 P, k[    1.601224] Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff
0 I! s. Q7 b# q3 e1 d2 k% t[    1.608128] spi_davinci spi_davinci.1: Controller at 0xfef0e000
/ \- i+ }& m3 D4 c: e[    1.665922] davinci_mdio davinci_mdio.0: davinci mdio revision 1.5$ u# J; {# S, o5 B: ^  B
[    1.765823] davinci_mdio davinci_mdio.0: timed out waiting for user access1 C0 e6 }( B2 _6 w: F
[    1.773673] davinci_mdio: probe of davinci_mdio.0 failed with error -5( {' T  e8 [8 p3 |% U% \
[    1.782316] _regulator_get: spi1.1 supply vcc not found, using dummy regulator9 l7 N9 v" N6 O$ R) A+ L0 u
[    1.790613] ads7846 spi1.1: touchscreen, irq 145: @( u8 F( V1 T
[    1.796961] input: ADS7846 Touchscreen as /devices/platform/spi_davinci.1/spi_master/spi1/spi1.1/input/input0# Q% U% G& W8 t' B( `- u) b
[    1.811665] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc09 z1 @1 S9 J# H$ x5 t
[    1.818481] omap_rtc: RTC power up reset detected
! A3 Y' w1 y, R4 W% M0 x( t( _[    1.824103] i2c /dev entries driver
3 T9 i4 Y( l% `6 W) o3 s[    1.831084] lirc_dev: IR Remote Control driver registered, major 253) ~5 ^- S% p" Q8 H
[    1.837971] IR NEC protocol handler initialized
( V: y0 Z$ ]# R% f* w; g& F% Y/ B- w5 s[    1.842583] IR RC5(x) protocol handler initialized
, a" i  J: ?2 v4 l6 g[    1.847554] IR RC6 protocol handler initialized
2 \* _1 e% |, U4 j$ ~  v3 D[    1.852136] IR JVC protocol handler initialized% P5 i% Y& D/ ~# K
[    1.856796] IR Sony protocol handler initialized' |4 P* y, O. f" p+ |$ Z2 B
[    1.861480] IR RC5 (streamzap) protocol handler initialized, v  k3 R- o% C' ]3 V) U) |
[    1.867170] IR SANYO protocol handler initialized
$ O' S$ N) p' w# Z) ?  T6 T5 D[    1.871935] IR MCE Keyboard/mouse protocol handler initialized* [" s+ {! U. P* ^5 }
[    1.877882] IR LIRC bridge handler initialized
* J4 i! J) E+ R$ E' W[    1.882369] Linux video capture interface: v2.00
7 [. |3 c! `0 W7 f[    1.888722] watchdog watchdog: heartbeat 60 sec
( x2 d6 A" x8 W# R) f' g) k6 d9 X[    1.895285] cpuidle: using governor ladder7 C; \( y" A3 D6 F' e
[    1.900118] cpuidle: using governor menu
* F( U1 s3 |& z[    1.907499] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode+ W% _/ s5 R0 O, I$ ]
[    1.918396] TCP cubic registered
" z4 }) u2 x- ], ?[    1.921694] NET: Registered protocol family 17( `8 H2 A% h3 `2 Q/ o( h! n' w$ t
[    1.927113] _regulator_get: deviceless supply cvdd not found, using dummy regulator
8 N4 w/ U8 S/ Z. a1 I& Z[    1.942633] console [netcon0] enabled
/ v- b5 v! y+ X& I& H9 O" X[    1.946844] netconsole: network logging started
( ^. Z; \* C5 n[    1.951985] davinci_emac davinci_emac.1: using random MAC addr: 72:9d:29:ed:bd:8d" z3 G& A; D6 p$ k* R, q. @4 n
[    1.971301] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
; {  |6 E: s- S* ~" g5 M  x[    1.981557] Root-NFS: no NFS server address
! @0 D. c' A' l% W/ H[    1.985997] VFS: Unable to mount root fs via NFS, trying floppy.
- r* G) l7 p/ n& M[    1.993259] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)+ F+ c. P2 j. T( q4 ]4 B* R1 @
[    2.000512] Please append a correct "root=" boot option; here are the available partitions:
5 U+ \& w; b- Y4 @% w[    2.009218] 1f00             128 mtdblock0  (driver?)
2 }& a0 A* U3 f9 j1 o4 A- b[    2.014571] 1f01             512 mtdblock1  (driver?)
3 `8 {" O9 C- o: ][    2.020016] 1f02             512 mtdblock2  (driver?)8 _4 a4 j  J  n& w8 u
[    2.025353] 1f03            4096 mtdblock3  (driver?)0 i% S2 T# t+ u) [
[    2.030825] 1f04          519040 mtdblock4  (driver?)
1 ~$ l* f" W- S! N6 W[    2.036225] 1f05              64 mtdblock5  (driver?)2 j: L0 R# k4 Z. `2 y
[    2.041536] 1f06             512 mtdblock6  (driver?)8 e; i' {5 r2 o8 C$ R
[    2.046904] 1f07              64 mtdblock77 @! ?& ~' c4 t5 y! [7 S
[    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.# i- ?( v) R( W: A3 ]$ ]% m2 n4 ?
[    2.059503]  (driver?); Q; k  @3 X+ y6 j+ N: i2 f
[    2.061933] 1f08            2560 mtdblock8  (driver?)9 A; l& G8 |1 Y
[    2.067289] 1f09            4096 mtdblock9
" A! d1 }% ^" U. j" k! ]0 x[    2.071638] mmc0: new high speed SDHC card at address 1234
& J: t6 p7 d% j# C7 s1 X[    2.077485]  (driver?)2 o) ~) ~4 M2 r
[    2.079916] 1f0a              64 mtdblock10  (driver?)
4 a  x$ _+ u: I0 @8 o( a[    2.085120] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
0 d1 q3 v# K: l; G) V1 ?                                                                                                                                           ; W9 R& H2 R4 r) M8 U
然后串口就没有反应了,紧急求助3 m. N7 c8 G# A! G" d/ R9 }

3 U" A( T& o0 l+ u
作者: teddy    时间: 2014-8-14 17:20
    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.
$ h% Z2 \1 Y) \6 i7 e7 f[    2.059503]  (driver?)
  [8 \7 U3 ~0 }9 f3 D" V& d  p8 e您的问题,可能是sd的wp管脚被lock了,请检查一下sd卡,跟usb驱动应该无关的。- f/ d9 v& m6 w! w6 `7 A6 e8 c





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