|
|
本帖最后由 liangws 于 2017-9-5 14:22 编辑 - o4 d+ z# l) k+ x! Y
; {% x' l% D7 s9 B @: v
你好!
( N; z3 I9 J0 A1 Y8 S, Z+ ~& d我通过
6 P. J, L4 V: r q% p, W% ]9 K' imake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig9 p" R# g: G/ G7 f, x2 m* u
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
/ ?& j* X, ^8 h' ^+ @2 Z这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:0 U, _6 P: a. A" T$ w1 i/ V
[ 5.691331] Linux video capture interface: v2.00
$ z# J5 U" ?' S& C. S) }[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028
! a+ @0 o4 U% @$ N8 c[ 5.710992] pgd = c0004000) ^) L: I, p0 s4 Z* O, C
[ 5.713741] [00000028] *pgd=00000000
$ M# Z" c( }! Y' n[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
, w& x. V6 W( C0 ][ 5.722018] Modules linked in:6 w% I# d, D& s( l8 _
[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)
' T0 ^! k3 k: w, U: h, I[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x689 p5 E% r' ?) u8 c; U! G# [" o( w
[ 5.734365] LR is at i2c_new_device+0x158/0x17c
5 F3 `8 L3 t0 P8 C[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
+ v, Q/ \0 m j0 ^1 ^& q[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
5 X Z a, ~! G o[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04" q) I# F% P7 M
这个可能会是什么问题?我用的内核配置文件是否有问题?
- j* b, q+ n5 S+ X. }" s; u: U) v* [9 u* s% z2 D# l
内核配置如下:! d" t; U1 M; ]( Q
i2c:8 I/ `& a/ _3 @0 u; Z+ A* R
' k" E! j" ]6 J7 I+ f* z
8 y1 l5 W0 H& _0 m% l/ ~% Raic31配置:% i( z" J; L' C8 K
) ]0 t9 I3 M( ~
0 U, U8 ?: c K5 t |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|