|
本帖最后由 liangws 于 2017-9-5 14:22 编辑 4 [+ [3 I; n h- F2 V8 r& A* t
* L9 d* j5 z2 `3 H @. S0 U
你好!
3 X S, Y/ R" Q我通过
! |* p% q. M6 A5 J* y2 h4 {make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig
" y& n" G2 Q5 ^* M; k/ Imake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
) l2 i" X" y7 J+ |9 F这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:, f; U1 k7 h% S% x
[ 5.691331] Linux video capture interface: v2.00. Z* @) ]1 c- {; @9 H; a
[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028' P" v4 \) f) I* j4 Z: ]
[ 5.710992] pgd = c0004000
1 E8 H; H1 X k- s( G[ 5.713741] [00000028] *pgd=000000001 x1 ~2 p d' v* _3 U& ^' F
[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT. K+ K; ?7 @6 w' Q9 h. l3 V
[ 5.722018] Modules linked in:
" D5 R5 i2 y2 X; \' {" ^3 H2 z[ 5.725113] CPU: 0 Not tainted (3.3.0 #3), D0 _+ F0 B! @" _
[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x689 r9 u V3 m+ y5 L2 i8 r4 N
[ 5.734365] LR is at i2c_new_device+0x158/0x17c
6 B0 Y) V$ P& K4 Q) |[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
' _8 Z9 e+ ]3 v5 D& d[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
: S+ n" P8 z/ I3 M! ^' w[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04
, L, D( w( Q/ ^这个可能会是什么问题?我用的内核配置文件是否有问题?
+ O: \/ G( D) I$ s: C# A& j, `" `9 c0 @" H! c' U4 M5 `: C
内核配置如下:
. j6 Y6 q' v3 H' V- yi2c:
; {9 ~1 O- n( R* w2 p# t2 o$ n% v& x5 O) {5 q% k1 l
/ r" a1 M4 j% j- q- s
aic31配置:* D% g9 t9 }# A) a7 f* `
: }8 _, m4 W8 ^0 }; }( c2 s$ Q v/ v7 R9 w% t
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|