|
本帖最后由 liangws 于 2017-9-5 14:22 编辑
7 _* L, K7 N" C% U {
6 z# r: N, j' U+ g你好!9 o5 x# v d: V( v2 [+ |% N
我通过5 C. R# ~8 D' b; c/ _" _( `
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig. m& a( |3 T; `: I7 [
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig, c [! ?( m, o6 V7 ]
这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:4 z$ z' `* h$ C
[ 5.691331] Linux video capture interface: v2.00/ e; z! m1 [; O R6 w3 y
[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028. L7 y" q' J7 H
[ 5.710992] pgd = c0004000/ O1 I9 l2 r' m' k4 _
[ 5.713741] [00000028] *pgd=00000000
3 D! [& W0 g. j+ y5 e[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT) q+ G2 ^6 B. D) n0 V
[ 5.722018] Modules linked in:6 `. o$ ], m: c! w* V
[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)
+ d$ O; b& A" V$ X& W[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
9 \, e4 U) f; {- Z. x W2 {1 _: l[ 5.734365] LR is at i2c_new_device+0x158/0x17c$ b& I, ]- n# z4 i- [- t1 [% }8 _
[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
8 x& m1 E. `: {4 v/ @/ W[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc: @' [1 V% {0 d9 O8 G8 I+ t
[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04
7 m, Z! \+ J3 h2 ~( ~, d7 Z这个可能会是什么问题?我用的内核配置文件是否有问题?
6 f# h9 Y0 n! @9 F0 t0 _/ H) m+ R. g$ n9 |
内核配置如下:
9 o5 s& V5 V' w7 ?i2c:! y% y. A( ]/ s( _
+ E0 G% Z7 |; f7 [ Z, d
$ |8 `9 B5 ~, s" Maic31配置:
6 L9 [6 Y6 S& Y7 ^7 t
! I2 u4 O$ X% D0 ]4 ]- @/ H/ J1 |& e7 w, e2 _. d! l# P7 h8 j G( N
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|