|
本帖最后由 liangws 于 2017-9-5 14:22 编辑
2 ?% {" V2 S+ r6 q H
: a& I" E4 V' s5 E) l2 w你好!& U' | y8 h/ b8 ?
我通过6 h3 n- U. u9 s6 \4 d
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig. u/ Y6 c9 i& w& L0 C
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
* r7 I0 }1 V- S' G5 ^$ p这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:" I3 [; Z* j0 v* u# c3 y) u
[ 5.691331] Linux video capture interface: v2.00
# i! F# f3 t4 B1 @$ _( f2 @( ~[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028& l& D% r |; O
[ 5.710992] pgd = c0004000
7 S2 Q1 c1 {' y2 t[ 5.713741] [00000028] *pgd=000000000 R2 E& C1 l% n: J
[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
% H) l8 \0 ]6 w. V) j2 m( U[ 5.722018] Modules linked in:
" L1 y6 t$ d) }1 I5 H0 l* f[ 5.725113] CPU: 0 Not tainted (3.3.0 #3); Y: s9 {" X) o% o. a
[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
& A# p- x; J( D$ b& v1 R. F h: r[ 5.734365] LR is at i2c_new_device+0x158/0x17c% p9 m* x: c9 ?# g
[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
: J* [. L$ ?# U; g[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
' _: S a: [4 @! g& J1 s* _5 f[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04
$ J6 u- \- H4 d0 E4 }7 K' L, L. c, c这个可能会是什么问题?我用的内核配置文件是否有问题?
1 Z, }1 t( \ `: S" J4 T- h8 o8 p" C" R
内核配置如下:5 A$ ~# i/ }5 i
i2c:
, M5 M. `7 H0 ?
' F9 M; \6 G! z& x! s: j* S5 O4 ]
aic31配置:1 u# a! }7 S% e" O+ B+ z
, O" F: J' Y8 z: q# V
9 \2 }) @5 U [! u7 g) X4 f
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|