[ELDK] Why cpu is hang to access cpld?

shixm.zh shixm.zh at 163.com
Tue Nov 22 07:43:28 CET 2011


Hi,
I designed a application board of PPC460EX processor. It's have a cpld to connect CS2.
I designed driver for cpld, and want to access. but thd cpu is hang. Linux kernal is 2.6.33.
The message is:


Machine check in kernel mode.
Data Read PLB Error
Oops: Machine check, sig: 7 [#1]
PowerPC 44x Platform
Modules linked in:
NIP: c018a2d0 LR: c018a2b4 CTR: c01934bc
REGS: dfff7f10 TRAP: 0214   Not tainted  (2.6.33)
MSR: 00029000 <EE,ME,CE>  CR: 22002022  XER: 20000000
TASK = de4335a0[956] 'jm' THREAD: d9ea8000
GPR00: c018a2b4 d9ea9dd0 de4335a0 00000019 0000c03c ffffffff c0190a08 0000345b
GPR08: 00000034 e4fd2000 0000345b 00000000 22002022 10048d28 100f0000 100f0000
GPR16: bfbf44d8 ffffff9c bfa4e1ac bfbf3d3c dce50000 00000000 d9ea9e50 101dca84
GPR24: 00000026 fffff000 dce1ee80 de147800 dcce8d80 c03c0000 c0343f94 00000000
NIP [c018a2d0] hongsi_ssx30_open+0x9c/0xe0
LR [c018a2b4] hongsi_ssx30_open+0x80/0xe0
Call Trace:
[d9ea9dd0] [c018a2b4] hongsi_ssx30_open+0x80/0xe0 (unreliable)
[d9ea9df0] [c008905c] chrdev_open+0xb0/0x194
[d9ea9e20] [c00838d4] __dentry_open+0xd0/0x280
[d9ea9e40] [c00924b0] do_filp_open+0x62c/0x9a0
[d9ea9f10] [c0083710] do_sys_open+0x64/0x130
[d9ea9f40] [c000dfa0] ret_from_syscall+0x0/0x3c
Instruction dump:
38633f80 7c040378 3fa0c03c 901d52f4 4be9a5f5 3d20c034 3bc93f94 3be00000
57eb083c 813d52f4 7c0004ac 7c8b4a2e <0c040000> 4c00012c 5484043e 7fc3f378
---[ end trace cc2c954757c0069b ]---


I use "ioremap" to translate physical address, but same way is correct for PPC405EX.


Who can help me?


thanks!


shixm.zh


More information about the eldk mailing list