|
本帖最后由 liangws 于 2017-9-5 14:22 编辑 % Q) j5 H3 h( r e! M
' W7 u/ B8 H+ P9 a- b9 Y你好!
U! M9 @: I. I我通过4 y$ M2 g- v" A6 O! E
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig
$ r2 W4 c# k" _5 w) G W3 _make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
5 n+ X" x: w( J) x4 g0 x U这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:# S' K* L4 O* s9 ~) f( Y: b
[ 5.691331] Linux video capture interface: v2.00
6 C- S- }& v$ J9 S# I[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 000000285 r, P( v0 @( q/ p2 F
[ 5.710992] pgd = c0004000
4 C: C) B1 U# y7 @$ w7 \9 |[ 5.713741] [00000028] *pgd=00000000
4 G. @* E5 [0 @+ S[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT- x% @8 o! d$ S x% ]& @9 o8 D
[ 5.722018] Modules linked in:3 z8 A9 p+ Q& H
[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)# p; m" s* V. [
[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
/ k) s: P7 C+ B# ~[ 5.734365] LR is at i2c_new_device+0x158/0x17c
$ {' [ r! o' ?* \: z9 W! V; g& M[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013& D0 `' r+ Y' N- V3 n
[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
4 O% C* n3 f& c5 b4 p+ R[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04" q$ c& S+ D+ W8 [1 H2 _& t' \
这个可能会是什么问题?我用的内核配置文件是否有问题?
+ x' A ~; r# y& ^9 K0 A
% P1 B( }# k/ Y$ k$ `内核配置如下:2 S/ ^/ ^( B4 @: S, z
i2c:
8 |! y; T. X- k- K0 g1 t# {9 _" [7 ^
' o! U' ]; @" Z* c4 gaic31配置:
$ H1 h9 K# N& \2 K- n; N
/ P( [2 Z# P' m, g! _
0 j5 G* o6 e( ~% d; j+ m+ C: C1 }4 z |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|