|
本帖最后由 liangws 于 2017-9-5 14:22 编辑 5 N& b6 y4 w: E4 q1 R# Z6 _. l9 \
: E" P1 U6 _/ r1 U
你好!) T/ M5 i6 r+ d1 p: q; }- l& U
我通过$ U) ~- C/ e2 H
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig6 p, i5 V2 T* M1 L0 c ?
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
8 r( _0 @, t4 @这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:! S& |& s0 j R* f. n! E+ y
[ 5.691331] Linux video capture interface: v2.003 R0 S8 `8 v U* k1 S5 g, F
[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028) e% C+ Q2 K1 o6 Z
[ 5.710992] pgd = c0004000* i6 X/ W X7 [. ]* Z$ Y6 }. i1 Z \
[ 5.713741] [00000028] *pgd=00000000, }$ y' `& ^4 f
[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
9 h3 I$ _: e- }; E! Y[ 5.722018] Modules linked in:
2 T% q0 V8 g' N7 Q[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)
7 ?5 k. ?/ s3 i! M% b. x[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
3 K0 i6 U7 f. j( J+ c7 u- i, m[ 5.734365] LR is at i2c_new_device+0x158/0x17c6 F9 x3 M% y9 \( {8 B0 a1 z
[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013' n8 _- d* C( r9 P8 a
[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
' D: l+ C; E2 a[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04
6 _; S% T! @1 Q9 S这个可能会是什么问题?我用的内核配置文件是否有问题?
& ], c4 j) ^9 Y: U; v; a/ z0 L3 L( U( H- c# t
内核配置如下: [4 V) V, n2 Z6 S) z8 F
i2c:
2 Y* P2 S& L. P/ q; k/ ^: a# C2 E" }0 `$ w+ Z! P. }
+ f3 y0 [$ `& m# D4 iaic31配置:
f' D9 l5 e- D3 Z
- ]9 H: \; C9 ?- p
. Z" ?- @2 ^7 f* N& _2 @ |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|