|
|
本帖最后由 liangws 于 2017-9-5 14:22 编辑 4 k' ~3 C* j. p# @+ o# y5 N
" y! _# W, {% \9 S/ e你好!
7 q, K u. e) ]8 [/ Q我通过
" M7 a, K. X* U7 v& `. nmake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig
% a& n n0 g# j- i6 gmake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig# T9 k5 T4 Q8 J# V: U# g( c
这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:) n, S% U1 r% j' ]6 p
[ 5.691331] Linux video capture interface: v2.00
; K, b: o1 \5 W/ x: t[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028
4 F2 b7 d0 M# ~6 u* `% g2 P[ 5.710992] pgd = c00040000 g9 o. D- Y% D7 x* a
[ 5.713741] [00000028] *pgd=00000000
& ^& e$ F* w* h; }[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
. ~$ Z+ O" O# A0 D9 j" H[ 5.722018] Modules linked in:6 f9 D7 \# m1 o" L1 z- b) r- t
[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)8 d3 P: d5 l. G! B
[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68- D# x8 i$ M8 \9 w* O3 Z$ X Z
[ 5.734365] LR is at i2c_new_device+0x158/0x17c
3 I4 ?! U% {2 r' Y5 s: |4 N L' k[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013* @) M9 u$ {- o, B u/ t' W3 Q$ `
[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
1 [. ?: h2 Z- P0 k. L; s1 i! m[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04) @/ o6 c0 h( S% N9 v
这个可能会是什么问题?我用的内核配置文件是否有问题?5 D' L' j+ n- V% A6 q
) b: T/ Y' l. r0 }# v9 f; U# F. e内核配置如下:
7 h2 b0 I1 c% T* Ci2c:5 f. P1 h' H$ [% P" ]1 \- S
+ U# u) y9 w* S1 k; j# B2 Z& X" n
/ X x5 { C7 B i4 R2 k/ Baic31配置:9 s4 K3 u" ]5 P# x
~- K1 j* I2 M9 u! L- Z
+ a- D0 h" H! m9 T2 R1 X0 P% U& a
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|