|
本帖最后由 liangws 于 2017-9-5 14:22 编辑 6 p. R( z2 a5 Y4 _; M
: ^8 Z6 e% N) h$ B你好!
" ~% l4 t! g8 P8 X: L我通过
) N9 _" }% r$ Z, @/ t \" b, Amake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig
$ q) A `. |5 r- e. gmake ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
/ I- d5 S. ]- y* ?7 L: }这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:
' {; ~' S' \! h( d _6 B[ 5.691331] Linux video capture interface: v2.00
+ X, G" Q- m4 f3 ~1 l, c: X[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028
. G/ j( Q) c6 t* v6 ~[ 5.710992] pgd = c0004000
' A* x4 O# e' c[ 5.713741] [00000028] *pgd=00000000* w. E1 p/ `" q- c, u: u) o
[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT( \/ W/ |: C* @* @
[ 5.722018] Modules linked in:
# a \1 a0 T. V! P/ Q6 ?[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)
) {- E" Y `) ?: k[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
+ m. U/ B$ _& y, t$ u! [[ 5.734365] LR is at i2c_new_device+0x158/0x17c
; c9 V m% b! I9 ~1 E[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
4 i7 W" r8 l$ {% P[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
# G, U" L% ~* d0 X[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04' z! ?) D3 p6 f; t" U
这个可能会是什么问题?我用的内核配置文件是否有问题?
; o$ J$ x; T0 H5 e6 w4 l( \* p8 g P e
内核配置如下:2 u' W; @0 ?8 F1 `+ T. G" l" Z
i2c:$ y: }, R' X: c2 o! M
) w2 a0 _ S+ m# @
% k y3 w0 Z: l) x: W
aic31配置:( T$ ~5 F( M3 m
: ^0 u# Z" d: S# ]
3 P3 H2 x$ n4 l D1 p |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|