|
本帖最后由 liangws 于 2017-9-5 14:22 编辑
5 L' v; B% B3 m8 _0 ^4 j- H: R" e, Z: E
你好!% b9 O( y) ?0 a3 N+ a8 W1 `
我通过/ s h% J1 I4 g0 U7 g( W6 P+ J
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig5 O9 d: `1 S6 ?' t* @6 w( ^
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
$ e) E+ I* P: e& s! ^+ O这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:' o4 e ?" t! g# H; _
[ 5.691331] Linux video capture interface: v2.009 g: V. u$ ^; C" x/ I/ X3 }9 q& n
[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028% n0 i7 v" x1 N! a9 b+ [
[ 5.710992] pgd = c0004000
6 @+ i$ ~' y& W$ o[ 5.713741] [00000028] *pgd=00000000
+ N. J5 X/ o+ H[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
8 V2 ^" [) v* r( y: l( v[ 5.722018] Modules linked in:
3 ^3 M) z3 y3 R7 j[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)
0 m7 w' b1 o) ^3 a3 o[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68/ A5 Z6 i5 {; ?
[ 5.734365] LR is at i2c_new_device+0x158/0x17c9 U0 D* } ~& ^1 F% O
[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013+ M0 Y; _8 s; a% H9 o& I2 {
[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc3 Y* [; e; Q- j& |& k( N0 j
[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04
3 g W% L( t( y# S& A5 |这个可能会是什么问题?我用的内核配置文件是否有问题?0 \! V6 a" [& \9 u% r
" R2 C. c4 z9 U- N- L
内核配置如下:, L: O# X; N# ~+ x5 V
i2c:
9 T4 S5 Z' _+ C
) p+ ~3 I+ M, X& M7 R& Z2 ~9 ^( `. i) U8 o
aic31配置:
: o9 @: \+ [7 E! U
8 `: O; K9 H- m" ]: h5 C, k* [0 T, w: a; |: s; w" T3 C% G% m1 z
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|