|
本帖最后由 liangws 于 2017-9-5 14:22 编辑
( c( z* J6 x9 M- I- c
i6 x6 B: f9 t0 {. `$ O" F0 E你好!
8 f; R$ R4 W) R7 h# B4 |我通过& B* `- h( ^$ d& b$ o
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig
( x: L3 @/ s P" s& ymake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
/ p: S! E' K3 j- }- y" T7 i/ ^这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:9 Y% B# U. x O- J# m
[ 5.691331] Linux video capture interface: v2.00
, s2 L6 Y/ L. U* i% E' z[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028
1 j6 F$ G Z% S6 O+ d5 Q[ 5.710992] pgd = c00040003 r3 F0 l' @" N8 I
[ 5.713741] [00000028] *pgd=000000007 V1 w+ M/ J" V9 K$ G- W2 {
[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
% P# M4 \, W ?[ 5.722018] Modules linked in:( P9 b! w" Q e1 Z0 y: F
[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)/ u3 {" w4 f/ j4 P1 r
[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
# }) e7 `! r5 F4 ~3 ^[ 5.734365] LR is at i2c_new_device+0x158/0x17c. x/ c& }2 t! Y# e
[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
6 G+ t( \% |, X+ q o0 u7 ][ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
7 Q |8 b2 G( V; d4 B[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04) d. F: ^( V: [2 O1 F
这个可能会是什么问题?我用的内核配置文件是否有问题?
7 n4 U9 J. Z8 H* J6 j
6 J0 o& K# [( m0 v# ]7 ?内核配置如下:# i7 I \; L2 o& ?
i2c:
5 y( q' r& t7 J' p
- c b6 [! f/ D# l8 {# |7 o2 N* M% e' n9 P" g* w9 D/ g
aic31配置:. t4 V4 F, Y7 K- S
5 d3 a8 l. `5 o4 ?' S1 h
# c @2 T9 H, _4 b J7 Q' x# g |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|