nightwing 发表于 2015-8-8 15:31:33

OKV210 编译内核问题

之前发了一篇OK210 板子编译失败的问题。然尔版主太忙没有照顾我这等新人。只好自己想法强制在 sched.c 最前方定义 CONIFG_DEBUG_SPIN_SLEEP 宏以打开 might_sleep 函数。 倒是成功地编译了,只可是该镜像无法使用!

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
CPU: ARMv7 Processor 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
*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 : efc2fe68ip : efc2fe50fp : efc2fea4
r10: 00000000r9 : 00000000r8 : 00000000
r7 : c0881facr6 : 00000000r5 : c07e6028r4 : c07e6030
r3 : c07323d9r2 : 00000001r1 : c07df3a4r0 : c07e9f40
Flags: nzCvIRQs onFIQs onMode SVC_32ISA ARMSegment kernel
Control: 10c5387dTable: 20004019DAC: 00000017
页: [1]
查看完整版本: OKV210 编译内核问题