嵌入式开发者社区
标题:
demo/syslink/tl-mcasp-only-dsp问题
[打印本页]
作者:
liangws
时间:
2017-9-5 14:19
标题:
demo/syslink/tl-mcasp-only-dsp问题
本帖最后由 liangws 于 2017-9-5 14:22 编辑
) c8 @: V; H9 e: g, S& D$ T
5 a9 D2 P$ x$ c
你好!
- q' L- g2 F' j
我通过
: V1 C* Y. m; [3 E, d
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- da850_omapl138_tl_defconfig
0 R* i9 C4 a" l, U, ^, O0 _5 i
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig
- f w! y8 O: H+ [/ e
这个编译内核,把i2c、aci31编译成模块,烧写到flash,启动内核报错,无法正常启动。具体错误如下:
& C; s$ j0 ~1 f( {) r
[ 5.691331] Linux video capture interface: v2.00
_7 w% w# g& a) h% Y2 J
[ 5.702557] Unable to handle kernel NULL pointer dereference at virtual address 00000028
8 @, P* }, G' `: H b8 |; M
[ 5.710992] pgd = c0004000
# }, `4 t# D$ {2 q
[ 5.713741] [00000028] *pgd=00000000
. `0 d2 d# e0 d
[ 5.717366] Internal error: Oops: 5 [#1] PREEMPT
( W2 U; H r) Y
[ 5.722018] Modules linked in:
' X$ G! O9 ?3 Q
[ 5.725113] CPU: 0 Not tainted (3.3.0 #3)
! \# b9 h/ K. y, M- s& ~7 L* S1 O
[ 5.729525] PC is at i2c_check_addr_busy+0x14/0x68
; N1 Z# |; Q" e j, c" c
[ 5.734365] LR is at i2c_new_device+0x158/0x17c
" S1 }7 \+ N' ]& q5 C5 g" g- }
[ 5.738942] pc : [<c02ad6fc>] lr : [<c02adf6c>] psr: 80000013
7 L% J4 [/ U' \5 r
[ 5.738960] sp : c7833de0 ip : c7833e00 fp : c7833dfc
- h* _1 _# ^, r( N6 X$ l. @6 o
[ 5.750506] r10: c05c4018 r9 : c05c4070 r8 : c79e4c04
! j+ S0 p8 |- _, ]
这个可能会是什么问题?我用的内核配置文件是否有问题?
# L) L1 j4 X7 h" R
. _# F- U+ e2 z' s Y v
内核配置如下:
1 k# f, a- y" q( V9 C
i2c:
$ L4 V! N$ B2 O" ~
2 ?+ M* b/ o) _5 S0 `
% O- w* V3 {1 L3 b
aic31配置:
: z2 _1 }# ]4 a9 Q# p1 P6 x5 ^
- S4 l% l# i. I t: E& S- \
$ v6 ^* o1 c( N. p; } l$ y- T3 y
作者:
teddy
时间:
2017-9-6 16:09
可以使用附件的内核试试,这个内核把i2c和mcasp不编进内核。确认你的内核是否,直接使用tronlong的源码直接把i2c和mcasp编译成模块。
' W3 u8 H! R8 K/ K7 J: u# ^1 D. \
欢迎光临 嵌入式开发者社区 (https://www.51ele.net/)
Powered by Discuz! X3.4