主题 : 移植过inux2.20以上内核触摸屏驱动请进 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2596
精华: 0
发帖: 21
金钱: 210 两
威望: 115 点
综合积分: 42 分
注册时间: 2008-11-26
最后登录: 2011-01-17
楼主  发表于: 2008-12-08 16:37

 移植过inux2.20以上内核触摸屏驱动请进

各位大侠,哪位用mini2440,移植过触摸屏驱动?我用的2.6.27,触摸屏驱动移植后,进不了根文件系统了。
mice: PS/2 mouse device common for all mice
Unable to handle kernel NULL pointer dereference at virtual address 00000018
pgd = c0004000
[00000018] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.27 #18)
PC is at driver_register+0x14/0x114
LR is at s3c2410ts_init+0x14/0x1c
pc : [<c01afcc8>]    lr : [<c001f130>]    psr: 60000013
sp : c3819f28  ip : c3819f48  fp : c3819f44
r10: c001f11c  r9 : c03a1984  r8 : 00000000
r7 : c3818000  r6 : 00000000  r5 : c039bbac  r4 : c00251f4
r3 : 00000000  r2 : 00000000  r1 : c039b894  r0 : c039bbac
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: c000717f  Table: 30004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3818260)
Stack: (0xc3819f28 to 0xc381a000)
9f20:                   c00251f4 c002526c 00000000 c3818000 c3819f54 c3819f48
9f40: c001f130 c01afcc4 c3819fd8 c3819f58 c00362b8 c001f12c c00daac4 00000000
9f60: 000000a1 c382f2e0 c038b74c 00000050 c03b5e00 c3819f98 c3819f84 c00dae10
9f80: c00daa9c c3832c60 c3819f9c c3819fc4 c3819f9c c007a9cc c00dad9c 00003038
9fa0: 00000000 c0020000 00000055 c002526c c00251f4 c002526c 00000000 00000000
9fc0: 00000000 00000000 00000000 c3819ff4 c3819fdc c0008c00 c0036270 00000001
9fe0: 00000000 00000000 00000000 c3819ff8 c0058418 c0008b88 00000000 00000000
Backtrace:
[<c01afcb4>] (driver_register+0x0/0x114) from [<c001f130>] (s3c2410ts_init+0x14/0x1c)
r7:c3818000 r6:00000000 r5:c002526c r4:c00251f4
[<c001f11c>] (s3c2410ts_init+0x0/0x1c) from [<c00362b8>] (do_one_initcall+0x58/0x170)
[<c0036260>] (do_one_initcall+0x0/0x170) from [<c0008c00>] (kernel_init+0x88/0xe8)
[<c0008b78>] (kernel_init+0x0/0xe8) from [<c0058418>] (do_exit+0x0/0x6d8)
r5:00000000 r4:00000000
Code: e92dd8f0 e24cb004 e5902004 e1a05000 (e5923018)
---[ end trace e9c8724bdbdaeda1 ]---
Kernel panic - not syncing: Attempted to kill init!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-12-08 21:26
Kernel Oops已经告诉你程序当机的位置了,检查你用的驱动里的s3c2410ts_init()函数
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."