|
本帖最后由 liangws 于 2017-9-5 14:22 编辑 , P$ N3 B5 A% V. T2 W
% s/ H8 v1 E# {* X你好!4 a3 n9 t O: d
我通过
* |' P5 o9 W0 E8 g2 S; `make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig: g+ p+ A2 O' X# c+ l
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
' F1 e( `1 M& i# i6 `, A这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:
; Q( d( f. r/ J0 y9 r4 h[ 5.691331] Linux video capture interface: v2.00
) m1 j, q+ w6 I9 P/ _[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028
# X% o( R$ s9 \. L1 A# Q$ D[ 5.710992] pgd = c0004000
5 \% o# P4 m( b4 R' N8 S# r- [[ 5.713741] [00000028] *pgd=00000000
' {7 W3 A+ `1 ^. m$ a- o[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
- W2 _, j9 j; w$ l$ \[ 5.722018] Modules linked in:
% }4 \3 W; x4 S: n$ F: H[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)5 y# W# |1 f- B2 o3 B
[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
. e" i, n6 }: Y; x[ 5.734365] LR is at i2c_new_device+0x158/0x17c
1 ^3 ?% x" h1 i" A4 ^/ k8 e M: ~[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013( r( p0 w5 k8 C- o6 C- y3 i
[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc5 ~ G. ^) b9 g1 \4 Y V
[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04
( ?/ O/ [, \& L! W8 P6 i" u这个可能会是什么问题?我用的内核配置文件是否有问题?
# z! y- m$ F3 i5 _0 c7 {5 E$ W' x7 {. u
内核配置如下:0 g) ~' E7 Q3 U8 c
i2c:
# Y/ y. w i% z! i8 r; @( [& \' |" f% C( e
+ \, O/ v* R5 W( C$ H* H0 }
aic31配置:
: }1 m+ W( g9 |% v5 w4 t# e; |8 b- a" M
6 ]9 ?8 i5 b7 p' i. R |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|