|
本帖最后由 liangws 于 2017-9-5 14:22 编辑
3 Z. c7 V1 {/ z) Q1 I
: Y4 ^- }& r( m! g' ~你好! Y$ p) Q3 E8 ?! |+ n2 m
我通过
% n' B @1 q6 M! Smake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig
8 `' b, [+ q4 G' W# fmake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
+ e0 u* g3 n6 y& y这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:0 K3 \6 k$ V4 ]$ u0 a# U; H
[ 5.691331] Linux video capture interface: v2.00
/ F: i$ E e6 x) G[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028 u% I6 z. ^& f
[ 5.710992] pgd = c0004000& H" o: g7 h- L7 | g7 }
[ 5.713741] [00000028] *pgd=00000000
8 Q8 H- ^3 O3 m/ z4 y( [- E6 P[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
$ c+ B/ p) V$ U4 x3 H m[ 5.722018] Modules linked in:2 \! T( h# Y/ c& J6 H4 \
[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)
5 e3 h0 c8 f6 P/ @2 e: M& Q W( N[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68% ?( J) l; W" b! Q+ |
[ 5.734365] LR is at i2c_new_device+0x158/0x17c
% g6 t4 a2 G/ _ y[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
$ \8 S" c9 F7 u/ A0 r" [$ q[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
% |, Z/ r& k u; j[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04! A9 A# ]' ^$ O1 W1 h W
这个可能会是什么问题?我用的内核配置文件是否有问题?+ ^/ \' D7 H+ Q J" _1 p
1 `# s6 g6 r( g! ~5 H8 o/ c/ x内核配置如下:
- s- E& O! d1 L- Bi2c:
2 ~; P+ F, Q4 P5 l% ]0 B
! x% Q# [4 l; m! D2 B! S+ U8 ^0 S2 Z ` l7 `* Q
aic31配置:
5 m3 w* {/ P( ` H1 }$ \$ o
: o" G& Y/ Z( ]. s1 O# w* i
! @: c# T7 _7 q6 X |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|