嵌入式爱好者

查看: 4563|回复: 0

[Android] OKV210 编译内核问题

[复制链接]

2

主题

6

帖子

9

积分

扫一扫,手机访问本帖
发表于 2015-8-8 15:31:33 | 显示全部楼层 |阅读模式
之前发了一篇OK210 板子编译失败的问题。然尔版主太忙没有照顾我这等新人。只好自己想法强制在 sched.c 最前方定义 CONIFG_DEBUG_SPIN_SLEEP 宏以打开 might_sleep 函数。 倒是成功地编译了,只可是该镜像无法使用!

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDKV210
Memory policy: ECC disabled, Data cache writeback
<8>On node 0 totalpages: 131072
CPU S5PV210/S5PC110 (id 0x43110220)
<8>s5pv210_setup_clocks: xtal is 24000000
Mount-cache hash table entries: 512
et2_pud=4000
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT
last sysfs file:
Modules linked in:
CPU: 0    Not tainted  (2.6.35.7 #1)
PC is at s5pv210_nand_probe+0x74/0x6e4
LR is at clk_enable+0x8c/0x9c
pc : [<c028dbbc>]    lr : [<c0046528>]    psr: 20000013
sp : efc2fe68  ip : efc2fe50  fp : efc2fea4
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : c0881fac  r6 : 00000000  r5 : c07e6028  r4 : c07e6030
r3 : c07323d9  r2 : 00000001  r1 : c07df3a4  r0 : c07e9f40
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 20004019  DAC: 00000017
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-5-2 18:07

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表