I have purchased i.MX27ads board and I am using
imx27_ads_20070210-rel1b-ltib.iso
We have been trying to adapt real-time patch from Xenomai 2.3.1 for the
kernel 2.6.19.
The solution is based on trigger from General Purpose Timer, which lets
periodically check interrupts. Interrupts from processor are handled
without obstacles but interrupts from CPLD cause problems.
Our main modification is in file mx27ads.c (added code is in attachment)
The result was printed as low level debug info via console(also in
attachment). Our remark is that just after initialization of MMC card,
which is handled by CPLD, is invoked our function. Then our code tries
to handle interrupt no 15 port no 2 and from this moment we got
problems. Function tries to handle this interrupt twice and then fail.
Does anybody tried already to add real-time extension to i.MX27
processor (board)? Do you have somebody who could help us to modify
mx27ads.c?
**********************************************************************
*********************************************************************
Our modification in mx27ads.c file:
*****************************************************
#include <asm/arch/mx27.h>
#include <asm/arch/io.h>
//#define IO_ADDRESS(x) ((x) | MXC_GPIO_BASE)
# define __REG(x) (*((volatile u32 *)IO_ADDRESS(x)))
# define __REG2(x,y) \
( __builtin_constant_p(y) ? (__REG((x) + (y))) \
: (*(volatile u32 *)((u32)&__REG(x) + (y))) )
#define IMR(x) __REG2(GPIO_BASE_ADDR + 0x30, ((x) & 7) << 8)
#define ISR(x) __REG2(GPIO_BASE_ADDR + 0x34, ((x) & 7) << 8)
#define IRQ_GPIOA(x) (MXC_MAX_INT_LINES + x)
void __ipipe_mach_demux_irq(unsigned irq_unused, struct pt_regs *regs)
{
static int callCt = 0;
struct irqdesc *desc, *desc_unused = irq_desc + irq_unused;
unsigned int mask;
unsigned int port;
unsigned int irq_base;
unsigned int irq = 0;
// printk("we are in function __ipipe_mach_demux_irq\n");
for (port = 0; port < 6; port++) {
if (ISR(port) & IMR(port)) {
break;
}
}
mask = ISR(port);
irq_base = IRQ_GPIOA(0) + (port * 32);
desc = irq_desc + irq_base;
while (mask) {
if (mask & 1) {
printk("handling irq %d (port %d) %u, %u, %p, \n", irq, port,
callCt++,
irq_unused, regs);
__ipipe_handle_irq(irq + irq_base, regs);
__raw_writew((1 << irq),ISR(port));
//ISR(port) = (1 << irq);
}
irq++;
desc++;
mask >>= 1;
}
desc_unused->chip->unmask(irq_unused);
}
#endif /* CONFIG_IPIPE */
****************************************************
*********************************************************
Low level debug info from console:
<4>mmc0: host does not support reading read-only switch. assuming
write-enable.
mmc0: host does not support reading read-only switch. assuming
write-enable.
<6>mmcblk0: mmc0:cffc SD512 495488KiB
mmcblk0: mmc0:cffc SD512 495488KiB
<6> mmcblk0: mmcblk0: unknown partition table
unknown partition table
handling irq 15 (port 2) 0, 8, c0543e04
handling irq 15 (port 2) 0, 8, c0543e04
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
->handle_irq(): c004564c, ->handle_irq(): c004564c,
mxc_expio_irq_handler+0x0/0x1a0
mxc_expio_irq_handler+0x0/0x1a0
->chip(): c034b754, ->chip(): c034b754, 0xc034b754
0xc034b754
->action(): 00000000
->action(): 00000000
IRQ_NOPROBE set
IRQ_NOPROBE set
IRQ_NOREQUEST set
IRQ_NOREQUEST set
<4>__ipipe_ack_bad_irq: unknown flow handler for IRQ 143
__ipipe_ack_bad_irq: unknown flow handler for IRQ 143
<1>Unable to handle kernel paging request at virtual address 00008000
Unable to handle kernel paging request at virtual address 00008000
<1>pgd = c0004000
pgd = c0004000
<1>[00008000] *pgd=00000000[00008000] *pgd=00000000
Internal error: Oops: 805 [#1]
Internal error: Oops: 805 [#1]
Modules linked in:Modules linked in:
CPU: 0
CPU: 0
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
LR is at __ipipe_handle_irq+0x1d8/0x1ec
LR is at __ipipe_handle_irq+0x1d8/0x1ec
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543dac ip : c0543d74 fp : c0543de0
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543dac ip : c0543d74 fp : c0543de0
r10: 00000002 r9 : c0543e04 r8 : d4015234
r10: 00000002 r9 : c0543e04 r8 : d4015234
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
Flags: nzcvFlags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel
IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 5317F
Control: 5317F
Table: A0004000 DAC: 00000017
Table: A0004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc0542250)
Process swapper (pid: 1, stack limit = 0xc0542250)
Stack: (0xc0543dac to 0xc0544000)
Stack: (0xc0543dac to 0xc0544000)
3da0: 3da0:
00000008 00000008 c0543e04 c0543e04 00000200 00000200 ffffffff ffffffff
0000ffff 0000ffff
3dc0: 3dc0: 00000008 00000008 c0543e04 c0543e04 00000000 00000000
c0542000 c0542000 c073c800 c073c800 c0543e00 c0543e00 c0543de4 c0543de4
c003e230 c003e230
3de0: 3de0: c00459b0 c00459b0 ffffffff ffffffff 0000ffff 0000ffff
00000001 00000001 c077fb40 c077fb40 c0543e5c c0543e5c c0543e04 c0543e04
c00389f0 c00389f0
3e00: 3e00: c003e198 c003e198 eb020000 eb020000 00000100 00000100
00000108 00000108 eb000000 eb000000 c0346200 c0346200 c0346200 c0346200
00000108 00000108
3e20: 3e20: c077fb40 c077fb40 00000000 00000000 c073c800 c073c800
c073c800 c073c800 c0543e5c c0543e5c c0543e4c c0543e4c c0543e4c c0543e4c
c007eb64 c007eb64
3e40: 3e40: c007eb64 c007eb64 80000013 80000013 ffffffff ffffffff
00000000 00000000 c0543e6c c0543e6c c0543e60 c0543e60 c007ebcc c007ebcc
c007eb54 c007eb54
3e60: 3e60: c0543e90 c0543e90 c0543e70 c0543e70 c007e030 c007e030
c007ebbc c007ebbc c077fb40 c077fb40 fffffff4 fffffff4 00000000 00000000
c01cabc0 c01cabc0
3e80: 3e80: 00000000 00000000 c0543ebc c0543ebc c0543e94 c0543e94
c007e1ec c007e1ec c007deec c007deec c073c800 c073c800 00001003 00001003
c073ca60 c073ca60
3ea0: 3ea0: 00001002 00001002 c0037b5c c0037b5c 00000000 00000000
00000000 00000000 c0543edc c0543edc c0543ec0 c0543ec0 c01cb320 c01cb320
c007e16c c007e16c
3ec0: 3ec0: c073c800 c073c800 c073c800 c073c800 00001003 00001003
00001002 00001002 c0543ef0 c0543ef0 c0543ee0 c0543ee0 c0268ec0 c0268ec0
c01cb26c c01cb26c
3ee0: 3ee0: c073c800 c073c800 c0543f10 c0543f10 c0543ef4 c0543ef4
c0266fa4 c0266fa4 c0268e74 c0268e74 c035bed4 c035bed4 c073c800 c073c800
00000001 00000001
3f00: 3f00: 00001002 00001002 c0543fac c0543fac c0543f14 c0543f14
c001ea70 c001ea70 c0266f58 c0266f58 00000000 00000000 00000000 00000000
00000000 00000000
3f20: 3f20: c0543f9c c0543f9c c0543f30 c0543f30 c0039ba4 c0039ba4
c0055794 c0055794 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
3f40: 3f40: c0212590 c0212590 c005a674 c005a674 c0020dc4 c0020dc4
c0020908 c0020908 c0542000 c0542000 00000001 00000001 c0543f80 c0543f80
c0543f68 c0543f68
3f60: 3f60: c02a12e8 c02a12e8 c01740ec c01740ec c031d220 c031d220
c03504a0 c03504a0 c03504a0 c03504a0 c0543f9c c0543f9c c0543f84 c0543f84
c02a143c c02a143c
3f80: 3f80: c02e5d9c c02e5d9c c0020dc4 c0020dc4 c0020910 c0020910
c0542000 c0542000 00000001 00000001 00000000 00000000 00000000 00000000
00000000 00000000
3fa0: 3fa0: c0543ff4 c0543ff4 c0543fb0 c0543fb0 c00380cc c00380cc
c001e920 c001e920 00000000 00000000 00000000 00000000 c003802c c003802c
c005a674 c005a674
3fc0: 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
3fe0: 3fe0: 00000000 00000000 00000000 00000000 00000000 00000000
c0543ff8 c0543ff8 c005a674 c005a674 c003803c c003803c c027d4d8 c027d4d8
c027d644 c027d644
Backtrace: Backtrace:
[<c00459a0>] [<c00459a0>] (__ipipe_mach_demux_irq+0x0/0x10c)
(__ipipe_mach_demux_irq+0x0/0x10c) from [<c003e230>] from [<c003e230>]
(__ipipe_grab_irq+0xa8/0xf8)
(__ipipe_grab_irq+0xa8/0xf8)
[<c003e188>] [<c003e188>] (__ipipe_grab_irq+0x0/0xf8)
(__ipipe_grab_irq+0x0/0xf8) from [<c00389f0>] from [<c00389f0>]
(__irq_svc+0x30/0x88)
(__irq_svc+0x30/0x88)
r7 = C077FB40 r7 = C077FB40 r6 = 00000001 r6 = 00000001 r5 =
0000FFFF r5 = 0000FFFF r4 = FFFFFFFF
r4 = FFFFFFFF
[<c007eb44>] [<c007eb44>] (default_enable+0x0/0x34)
(default_enable+0x0/0x34) from [<c007ebcc>] from [<c007ebcc>]
(default_startup+0x20/0x2c)
(default_startup+0x20/0x2c)
r4 = 00000000 r4 = 00000000
[<c007ebac>] [<c007ebac>] (default_startup+0x0/0x2c)
(default_startup+0x0/0x2c) from [<c007e030>] from [<c007e030>]
(setup_irq+0x154/0x280)
(setup_irq+0x154/0x280)
[<c007dedc>] [<c007dedc>] (setup_irq+0x0/0x280) (setup_irq+0x0/0x280)
from [<c007e1ec>] from [<c007e1ec>] (request_irq+0x90/0xb8)
(request_irq+0x90/0xb8)
r8 = 00000000 r8 = 00000000 r7 = C01CABC0 r7 = C01CABC0 r6 =
00000000 r6 = 00000000 r5 = FFFFFFF4
r5 = FFFFFFF4
r4 = C077FB40 r4 = C077FB40
[<c007e15c>] [<c007e15c>] (request_irq+0x0/0xb8) (request_irq+0x0/0xb8)
from [<c01cb320>] from [<c01cb320>] (net_open+0xc4/0x4e0)
(net_open+0xc4/0x4e0)
[<c01cb25c>] [<c01cb25c>] (net_open+0x0/0x4e0) (net_open+0x0/0x4e0) from
[<c0268ec0>] from [<c0268ec0>] (dev_open+0x5c/0xc0)
(dev_open+0x5c/0xc0)
r6 = 00001002 r6 = 00001002 r5 = 00001003 r5 = 00001003 r4 =
C073C800 r4 = C073C800
[<c0268e64>] [<c0268e64>] (dev_open+0x0/0xc0) (dev_open+0x0/0xc0) from
[<c0266fa4>] from [<c0266fa4>] (dev_change_flags+0x5c/0x130)
(dev_change_flags+0x5c/0x130)
r4 = C073C800 r4 = C073C800
[<c0266f48>] [<c0266f48>] (dev_change_flags+0x0/0x130)
(dev_change_flags+0x0/0x130) from [<c001ea70>] from [<c001ea70>]
(ip_auto_config+0x160/0xe78)
(ip_auto_config+0x160/0xe78)
r7 = 00001002 r7 = 00001002 r6 = 00000001 r6 = 00000001 r5 =
C073C800 r5 = C073C800 r4 = C035BED4
r4 = C035BED4
[<c001e910>] [<c001e910>] (ip_auto_config+0x0/0xe78)
(ip_auto_config+0x0/0xe78) from [<c00380cc>] from [<c00380cc>]
(init+0xa0/0x280)
(init+0xa0/0x280)
[<c003802c>] [<c003802c>] (init+0x0/0x280) (init+0x0/0x280) from
[<c005a674>] from [<c005a674>] (do_exit+0x0/0xb3c)
(do_exit+0x0/0xb3c)
r7 = 00000000 r7 = 00000000 r6 = 00000000 r6 = 00000000 r5 =
00000000 r5 = 00000000 r4 = 00000000
r4 = 00000000
Code: Code: e3a03801 e3a03801 e1a03613 e1a03613 e5982000 e5982000
e1a03823 e1a03823 (e1c230b0) (e1c230b0)
handling irq 15 (port 2) 1, 8, c0543ba4
handling irq 15 (port 2) 1, 8, c0543ba4
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
->handle_irq(): c004564c, ->handle_irq(): c004564c,
mxc_expio_irq_handler+0x0/0x1a0
mxc_expio_irq_handler+0x0/0x1a0
->chip(): c034b754, ->chip(): c034b754, 0xc034b754
0xc034b754
->action(): 00000000
->action(): 00000000
IRQ_NOPROBE set
IRQ_NOPROBE set
IRQ_NOREQUEST set
IRQ_NOREQUEST set
<1>Unable to handle kernel paging request at virtual address 00008000
Unable to handle kernel paging request at virtual address 00008000
<1>pgd = c0004000
pgd = c0004000
<1>[00008000] *pgd=00000000[00008000] *pgd=00000000
Internal error: Oops: 805 [#2]
Internal error: Oops: 805 [#2]
Modules linked in:Modules linked in:
CPU: 0
CPU: 0
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
LR is at __ipipe_handle_irq+0x1d8/0x1ec
LR is at __ipipe_handle_irq+0x1d8/0x1ec
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543b4c ip : c0543b14 fp : c0543b80
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543b4c ip : c0543b14 fp : c0543b80
r10: 00000002 r9 : c0543ba4 r8 : d4015234
r10: 00000002 r9 : c0543ba4 r8 : d4015234
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
Flags: nzcvFlags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel
IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 5317F
Control: 5317F
Table: A0004000 DAC: 00000017
Table: A0004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc0542250)
Process swapper (pid: 1, stack limit = 0xc0542250)
Stack: (0xc0543b4c to 0xc0544000)
Stack: (0xc0543b4c to 0xc0544000)
3b40: 3b40:
00000008 00000008 c0543ba4 c0543ba4 00000200 00000200 ffffffff ffffffff
0000ffff 0000ffff
3b60: 3b60: 00000008 00000008 c0543ba4 c0543ba4 c034d1ec c034d1ec
c0542000 c0542000 ffffffff ffffffff c0543ba0 c0543ba0 c0543b84 c0543b84
c003e230 c003e230
3b80: 3b80: c00459b0 c00459b0 ffffffff ffffffff 0000ffff 0000ffff
00000001 00000001 c034d1f8 c034d1f8 c0543c14 c0543c14 c0543ba4 c0543ba4
c00389f0 c00389f0
3ba0: 3ba0: c003e198 c003e198 0000008f 0000008f 0000000f 0000000f
00000001 00000001 80000013 80000013 c034d1e8 c034d1e8 c034d1e0 c034d1e0
00000004 00000004
3bc0: 3bc0: c034d1f8 c034d1f8 c034d1ec c034d1ec ffffffef ffffffef
ffffffff ffffffff c0543c14 c0543c14 00000000 00000000 c0543bec c0543bec
c034d200 c034d200
3be0: 3be0: c008074c c008074c 80000013 80000013 ffffffff ffffffff
c034d1e0 c034d1e0 c03504a0 c03504a0 c0045a54 c0045a54 00000000 00000000
00000008 00000008
3c00: 3c00: 00000000 00000000 c0543d64 c0543d64 c0543c24 c0543c24
c0543c18 c0543c18 c0080e88 c0080e88 c00805dc c00805dc c0543c38 c0543c38
c0543c28 c0543c28
3c20: 3c20: c003d264 c003d264 c0080e58 c0080e58 00000000 00000000
c0543c58 c0543c58 c0543c3c c0543c3c c003f468 c003f468 c003cf58 c003cf58
ffffffff ffffffff
3c40: 3c40: 00008000 00008000 c0543d64 c0543d64 c0541be0 c0541be0
c0543c90 c0543c90 c0543c5c c0543c5c c003f6e0 c003f6e0 c003f40c c003f40c
00003073 00003073
3c60: 3c60: c034b878 c034b878 00000805 00000805 ffffffff ffffffff
00008000 00008000 c0543d64 c0543d64 00000805 00000805 c03487a8 c03487a8
00008000 00008000
3c80: 3c80: c0543d64 c0543d64 c0543cb0 c0543cb0 c0543c94 c0543c94
c003f7b8 c003f7b8 c003f488 c003f488 ffffffff ffffffff c0543d98 c0543d98
0000000f 0000000f
3ca0: 3ca0: 00000805 00000805 c0543d60 c0543d60 c0543cb4 c0543cb4
c003f8f4 c003f8f4 c003f7a4 c003f7a4 c0057b50 c0057b50 c00510d0 c00510d0
00002f59 00002f59
3cc0: 3cc0: c034b878 c034b878 00002f59 00002f59 c0543cec c0543cec
c0543cd8 c0543cd8 c0543cec c0543cec c03443c0 c03443c0 0000008f 0000008f
00000004 00000004
3ce0: 3ce0: c03d3b80 c03d3b80 00000000 00000000 c0543d18 c0543d18
c0543cf8 c0543cf8 c0057c6c c0057c6c 0000008f 0000008f c03d3afc c03d3afc
00000004 00000004
3d00: 3d00: c03d3b80 c03d3b80 00000000 00000000 c0543d38 c0543d38
c0543d18 c0543d18 c0057c6c c0057c6c c00577c4 c00577c4 c0543d40 c0543d40
0000008f 0000008f
3d20: 3d20: c03d3afc c03d3afc 00000004 00000004 c03d3b80 c03d3b80
c0543d60 c0543d60 c0543d4c c0543d4c c007ed84 c007ed84 ffffffff ffffffff
c0543d98 c0543d98
3d40: 3d40: 0000000f 0000000f 00000008 00000008 d4015234 d4015234
00000093 00000093 00000002 00000002 c0543de0 c0543de0 c0543d64 c0543d64
c00389a0 c00389a0
3d60: 3d60: c003f8c8 c003f8c8 c034d1e0 c034d1e0 00000000 00000000
00008000 00008000 00008000 00008000 00000000 00000000 0000008f 0000008f
0000000f 0000000f
3d80: 3d80: 00000008 00000008 d4015234 d4015234 c0543e04 c0543e04
00000002 00000002 c0543de0 c0543de0 c0543d74 c0543d74 c0543dac c0543dac
c003e174 c003e174
3da0: 3da0: c0045a54 c0045a54 00000093 00000093 ffffffff ffffffff
00000008 00000008 c0543e04 c0543e04 00000200 00000200 ffffffff ffffffff
0000ffff 0000ffff
3dc0: 3dc0: 00000008 00000008 c0543e04 c0543e04 00000000 00000000
c0542000 c0542000 c073c800 c073c800 c0543e00 c0543e00 c0543de4 c0543de4
c003e230 c003e230
3de0: 3de0: c00459b0 c00459b0 ffffffff ffffffff 0000ffff 0000ffff
00000001 00000001 c077fb40 c077fb40 c0543e5c c0543e5c c0543e04 c0543e04
c00389f0 c00389f0
3e00: 3e00: c003e198 c003e198 eb020000 eb020000 00000100 00000100
00000108 00000108 eb000000 eb000000 c0346200 c0346200 c0346200 c0346200
00000108 00000108
3e20: 3e20: c077fb40 c077fb40 00000000 00000000 c073c800 c073c800
c073c800 c073c800 c0543e5c c0543e5c c0543e4c c0543e4c c0543e4c c0543e4c
c007eb64 c007eb64
3e40: 3e40: c007eb64 c007eb64 80000013 80000013 ffffffff ffffffff
00000000 00000000 c0543e6c c0543e6c c0543e60 c0543e60 c007ebcc c007ebcc
c007eb54 c007eb54
3e60: 3e60: c0543e90 c0543e90 c0543e70 c0543e70 c007e030 c007e030
c007ebbc c007ebbc c077fb40 c077fb40 fffffff4 fffffff4 00000000 00000000
c01cabc0 c01cabc0
3e80: 3e80: 00000000 00000000 c0543ebc c0543ebc c0543e94 c0543e94
c007e1ec c007e1ec c007deec c007deec c073c800 c073c800 00001003 00001003
c073ca60 c073ca60
3ea0: 3ea0: 00001002 00001002 c0037b5c c0037b5c 00000000 00000000
00000000 00000000 c0543edc c0543edc c0543ec0 c0543ec0 c01cb320 c01cb320
c007e16c c007e16c
3ec0: 3ec0: c073c800 c073c800 c073c800 c073c800 00001003 00001003
00001002 00001002 c0543ef0 c0543ef0 c0543ee0 c0543ee0 c0268ec0 c0268ec0
c01cb26c c01cb26c
3ee0: 3ee0: c073c800 c073c800 c0543f10 c0543f10 c0543ef4 c0543ef4
c0266fa4 c0266fa4 c0268e74 c0268e74 c035bed4 c035bed4 c073c800 c073c800
00000001 00000001
3f00: 3f00: 00001002 00001002 c0543fac c0543fac c0543f14 c0543f14
c001ea70 c001ea70 c0266f58 c0266f58 00000000 00000000 00000000 00000000
00000000 00000000
3f20: 3f20: c0543f9c c0543f9c c0543f30 c0543f30 c0039ba4 c0039ba4
c0055794 c0055794 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
3f40: 3f40: c0212590 c0212590 c005a674 c005a674 c0020dc4 c0020dc4
c0020908 c0020908 c0542000 c0542000 00000001 00000001 c0543f80 c0543f80
c0543f68 c0543f68
3f60: 3f60: c02a12e8 c02a12e8 c01740ec c01740ec c031d220 c031d220
c03504a0 c03504a0 c03504a0 c03504a0 c0543f9c c0543f9c c0543f84 c0543f84
c02a143c c02a143c
3f80: 3f80: c02e5d9c c02e5d9c c0020dc4 c0020dc4 c0020910 c0020910
c0542000 c0542000 00000001 00000001 00000000 00000000 00000000 00000000
00000000 00000000
3fa0: 3fa0: c0543ff4 c0543ff4 c0543fb0 c0543fb0 c00380cc c00380cc
c001e920 c001e920 00000000 00000000 00000000 00000000 c003802c c003802c
c005a674 c005a674
3fc0: 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
3fe0: 3fe0: 00000000 00000000 00000000 00000000 00000000 00000000
c0543ff8 c0543ff8 c005a674 c005a674 c003803c c003803c c027d4d8 c027d4d8
c027d644 c027d644
Backtrace: Backtrace:
[<c00459a0>] [<c00459a0>] (__ipipe_mach_demux_irq+0x0/0x10c)
(__ipipe_mach_demux_irq+0x0/0x10c) from [<c003e230>] from [<c003e230>]
(__ipipe_grab_irq+0xa8/0xf8)
(__ipipe_grab_irq+0xa8/0xf8)
[<c003e188>] [<c003e188>] (__ipipe_grab_irq+0x0/0xf8)
(__ipipe_grab_irq+0x0/0xf8) from [<c00389f0>] from [<c00389f0>]
(__irq_svc+0x30/0x88)
(__irq_svc+0x30/0x88)
r7 = C034D1F8 r7 = C034D1F8 r6 = 00000001 r6 = 00000001 r5 =
0000FFFF r5 = 0000FFFF r4 = FFFFFFFF
r4 = FFFFFFFF
[<c00805cc>] [<c00805cc>] (__ipipe_sync_stage+0x0/0x240)
(__ipipe_sync_stage+0x0/0x240) from [<c0080e88>] from [<c0080e88>]
(__ipipe_unstall_root+0x40/0x58)
(__ipipe_unstall_root+0x40/0x58)
[<c0080e48>] [<c0080e48>] (__ipipe_unstall_root+0x0/0x58)
(__ipipe_unstall_root+0x0/0x58) from [<c003d264>] from [<c003d264>]
(die+0x31c/0x410)
(die+0x31c/0x410)
[<c003cf48>] [<c003cf48>] (die+0x0/0x410) (die+0x0/0x410) from
[<c003f468>] from [<c003f468>] (__do_kernel_fault+0x6c/0x7c)
(__do_kernel_fault+0x6c/0x7c)
[<c003f3fc>] [<c003f3fc>] (__do_kernel_fault+0x0/0x7c)
(__do_kernel_fault+0x0/0x7c) from [<c003f6e0>] from [<c003f6e0>]
(do_page_fault+0x268/0x2a0)
(do_page_fault+0x268/0x2a0)
r7 = C0541BE0 r7 = C0541BE0 r6 = C0543D64 r6 = C0543D64 r5 =
00008000 r5 = 00008000 r4 = FFFFFFFF
r4 = FFFFFFFF
[<c003f478>] [<c003f478>] (do_page_fault+0x0/0x2a0)
(do_page_fault+0x0/0x2a0) from [<c003f7b8>] from [<c003f7b8>]
(do_translation_fault+0x24/0x108)
(do_translation_fault+0x24/0x108)
[<c003f794>] [<c003f794>] (do_translation_fault+0x0/0x108)
(do_translation_fault+0x0/0x108) from [<c003f8f4>] from [<c003f8f4>]
(do_DataAbort+0x3c/0x11c)
(do_DataAbort+0x3c/0x11c)
r7 = 00000805 r7 = 00000805 r6 = 0000000F r6 = 0000000F r5 =
C0543D98 r5 = C0543D98 r4 = FFFFFFFF
r4 = FFFFFFFF
[<c003f8b8>] [<c003f8b8>] (do_DataAbort+0x0/0x11c)
(do_DataAbort+0x0/0x11c) from [<c00389a0>] from [<c00389a0>]
(__dabt_svc+0x40/0x60)
(__dabt_svc+0x40/0x60)
[<c00459a0>] [<c00459a0>] (__ipipe_mach_demux_irq+0x0/0x10c)
(__ipipe_mach_demux_irq+0x0/0x10c) from [<c003e230>] from [<c003e230>]
(__ipipe_grab_irq+0xa8/0xf8)
(__ipipe_grab_irq+0xa8/0xf8)
[<c003e188>] [<c003e188>] (__ipipe_grab_irq+0x0/0xf8)
(__ipipe_grab_irq+0x0/0xf8) from [<c00389f0>] from [<c00389f0>]
(__irq_svc+0x30/0x88)
(__irq_svc+0x30/0x88)
r7 = C077FB40 r7 = C077FB40 r6 = 00000001 r6 = 00000001 r5 =
0000FFFF r5 = 0000FFFF r4 = FFFFFFFF
r4 = FFFFFFFF
[<c007eb44>] [<c007eb44>] (default_enable+0x0/0x34)
(default_enable+0x0/0x34) from [<c007ebcc>] from [<c007ebcc>]
(default_startup+0x20/0x2c)
(default_startup+0x20/0x2c)
r4 = 00000000 r4 = 00000000
[<c007ebac>] [<c007ebac>] (default_startup+0x0/0x2c)
(default_startup+0x0/0x2c) from [<c007e030>] from [<c007e030>]
(setup_irq+0x154/0x280)
(setup_irq+0x154/0x280)
[<c007dedc>] [<c007dedc>] (setup_irq+0x0/0x280) (setup_irq+0x0/0x280)
from [<c007e1ec>] from [<c007e1ec>] (request_irq+0x90/0xb8)
(request_irq+0x90/0xb8)
r8 = 00000000 r8 = 00000000 r7 = C01CABC0 r7 = C01CABC0 r6 =
00000000 r6 = 00000000 r5 = FFFFFFF4
r5 = FFFFFFF4
r4 = C077FB40 r4 = C077FB40
[<c007e15c>] [<c007e15c>] (request_irq+0x0/0xb8) (request_irq+0x0/0xb8)
from [<c01cb320>] from [<c01cb320>] (net_open+0xc4/0x4e0)
(net_open+0xc4/0x4e0)
[<c01cb25c>] [<c01cb25c>] (net_open+0x0/0x4e0) (net_open+0x0/0x4e0) from
[<c0268ec0>] from [<c0268ec0>] (dev_open+0x5c/0xc0)
(dev_open+0x5c/0xc0)
r6 = 00001002 r6 = 00001002 r5 = 00001003 r5 = 00001003 r4 =
C073C800 r4 = C073C800
[<c0268e64>] [<c0268e64>] (dev_open+0x0/0xc0) (dev_open+0x0/0xc0) from
[<c0266fa4>] from [<c0266fa4>] (dev_change_flags+0x5c/0x130)
(dev_change_flags+0x5c/0x130)
r4 = C073C800 r4 = C073C800
[<c0266f48>] [<c0266f48>] (dev_change_flags+0x0/0x130)
(dev_change_flags+0x0/0x130) from [<c001ea70>] from [<c001ea70>]
(ip_auto_config+0x160/0xe78)
(ip_auto_config+0x160/0xe78)
r7 = 00001002 r7 = 00001002 r6 = 00000001 r6 = 00000001 r5 =
C073C800 r5 = C073C800 r4 = C035BED4
r4 = C035BED4
[<c001e910>] [<c001e910>] (ip_auto_config+0x0/0xe78)
(ip_auto_config+0x0/0xe78) from [<c00380cc>] from [<c00380cc>]
(init+0xa0/0x280)
(init+0xa0/0x280)
[<c003802c>] [<c003802c>] (init+0x0/0x280) (init+0x0/0x280) from
[<c005a674>] from [<c005a674>] (do_exit+0x0/0xb3c)
(do_exit+0x0/0xb3c)
r7 = 00000000 r7 = 00000000 r6 = 00000000 r6 = 00000000 r5 =
00000000 r5 = 00000000 r4 = 00000000
r4 = 00000000
Code: Code: e3a03801 e3a03801 e1a03613 e1a03613 e5982000 e5982000
e1a03823 e1a03823 (e1c230b0) (e1c230b0)
handling irq 15 (port 2) 2, 8, c0543970
handling irq 15 (port 2) 2, 8, c0543970
handling irq 15 (port 2) 3, 8, c0543820
handling irq 15 (port 2) 3, 8, c0543820
handling irq 15 (port 2) 4, 8, c05436d0
handling irq 15 (port 2) 4, 8, c05436d0
handling irq 15 (port 2) 5, 8, c0543580
handling irq 15 (port 2) 5, 8, c0543580
handling irq 15 (port 2) 6, 8, c0543430
handling irq 15 (port 2) 6, 8, c0543430
handling irq 15 (port 2) 7, 8, c05432e0
handling irq 15 (port 2) 7, 8, c05432e0
handling irq 15 (port 2) 8, 8, c0543190
handling irq 15 (port 2) 8, 8, c0543190
handling irq 15 (port 2) 9, 8, c0543040
handling irq 15 (port 2) 9, 8, c0543040
handling irq 15 (port 2) 10, 8, c0542ef0
handling irq 15 (port 2) 10, 8, c0542ef0
handling irq 15 (port 2) 11, 8, c0542da0
handling irq 15 (port 2) 11, 8, c0542da0
handling irq 15 (port 2) 12, 8, c0542c50
handling irq 15 (port 2) 12, 8, c0542c50
handling irq 15 (port 2) 13, 8, c0542b00
handling irq 15 (port 2) 13, 8, c0542b00
handling irq 15 (port 2) 14, 8, c05429b0
handling irq 15 (port 2) 14, 8, c05429b0
handling irq 15 (port 2) 15, 8, c0542860
handling irq 15 (port 2) 15, 8, c0542860
handling irq 15 (port 2) 16, 8, c0542710
handling irq 15 (port 2) 16, 8, c0542710
handling irq 15 (port 2) 17, 8, c05425c0
handling irq 15 (port 2) 17, 8, c05425c0
handling irq 15 (port 2) 18, 8, c0542470
handling irq 15 (port 2) 18, 8, c0542470
handling irq 15 (port 2) 19, 8, c0542320
handling irq 15 (port 2) 19, 8, c0542320
handling irq 15 (port 2) 20, 8, c05421d0
handling irq 15 (port 2) 20, 8, c05421d0
----------------------------------------------------
INFERNAL: "From Paris to Berlin"
Potężna dawka hitów! CD+DVD już w sklepach!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Finfernal.html&sid=1138
Our modification in mx27ads.c file:
*****************************************************
#include <asm/arch/mx27.h>
#include <asm/arch/io.h>
//#define IO_ADDRESS(x) ((x) | MXC_GPIO_BASE)
# define __REG(x) (*((volatile u32 *)IO_ADDRESS(x)))
# define __REG2(x,y) \
( __builtin_constant_p(y) ? (__REG((x) + (y))) \
: (*(volatile u32 *)((u32)&__REG(x) + (y))) )
#define IMR(x) __REG2(GPIO_BASE_ADDR + 0x30, ((x) & 7) << 8)
#define ISR(x) __REG2(GPIO_BASE_ADDR + 0x34, ((x) & 7) << 8)
#define IRQ_GPIOA(x) (MXC_MAX_INT_LINES + x)
void __ipipe_mach_demux_irq(unsigned irq_unused, struct pt_regs *regs)
{
static int callCt = 0;
struct irqdesc *desc, *desc_unused = irq_desc + irq_unused;
unsigned int mask;
unsigned int port;
unsigned int irq_base;
unsigned int irq = 0;
// printk("we are in function __ipipe_mach_demux_irq\n");
for (port = 0; port < 6; port++) {
if (ISR(port) & IMR(port)) {
break;
}
}
mask = ISR(port);
irq_base = IRQ_GPIOA(0) + (port * 32);
desc = irq_desc + irq_base;
while (mask) {
if (mask & 1) {
printk("handling irq %d (port %d) %u, %u, %p, \n", irq, port,
callCt++, irq_unused, regs);
__ipipe_handle_irq(irq + irq_base, regs);
__raw_writew((1 << irq),ISR(port));
//ISR(port) = (1 << irq);
}
irq++;
desc++;
mask >>= 1;
}
desc_unused->chip->unmask(irq_unused);
}
#endif /* CONFIG_IPIPE */
****************************************************
*********************************************************
Low level debug info from console:
<4>mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: host does not support reading read-only switch. assuming write-enable.
<6>mmcblk0: mmc0:cffc SD512 495488KiB
mmcblk0: mmc0:cffc SD512 495488KiB
<6> mmcblk0: mmcblk0: unknown partition table
unknown partition table
handling irq 15 (port 2) 0, 8, c0543e04
handling irq 15 (port 2) 0, 8, c0543e04
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
->handle_irq(): c004564c, ->handle_irq(): c004564c,
mxc_expio_irq_handler+0x0/0x1a0
mxc_expio_irq_handler+0x0/0x1a0
->chip(): c034b754, ->chip(): c034b754, 0xc034b754
0xc034b754
->action(): 00000000
->action(): 00000000
IRQ_NOPROBE set
IRQ_NOPROBE set
IRQ_NOREQUEST set
IRQ_NOREQUEST set
<4>__ipipe_ack_bad_irq: unknown flow handler for IRQ 143
__ipipe_ack_bad_irq: unknown flow handler for IRQ 143
<1>Unable to handle kernel paging request at virtual address 00008000
Unable to handle kernel paging request at virtual address 00008000
<1>pgd = c0004000
pgd = c0004000
<1>[00008000] *pgd=00000000[00008000] *pgd=00000000
Internal error: Oops: 805 [#1]
Internal error: Oops: 805 [#1]
Modules linked in:Modules linked in:
CPU: 0
CPU: 0
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
LR is at __ipipe_handle_irq+0x1d8/0x1ec
LR is at __ipipe_handle_irq+0x1d8/0x1ec
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543dac ip : c0543d74 fp : c0543de0
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543dac ip : c0543d74 fp : c0543de0
r10: 00000002 r9 : c0543e04 r8 : d4015234
r10: 00000002 r9 : c0543e04 r8 : d4015234
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
Flags: nzcvFlags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel
IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 5317F
Control: 5317F
Table: A0004000 DAC: 00000017
Table: A0004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc0542250)
Process swapper (pid: 1, stack limit = 0xc0542250)
Stack: (0xc0543dac to 0xc0544000)
Stack: (0xc0543dac to 0xc0544000)
3da0: 3da0: 00000008
00000008 c0543e04 c0543e04 00000200 00000200 ffffffff ffffffff 0000ffff
0000ffff
3dc0: 3dc0: 00000008 00000008 c0543e04 c0543e04 00000000 00000000 c0542000
c0542000 c073c800 c073c800 c0543e00 c0543e00 c0543de4 c0543de4 c003e230
c003e230
3de0: 3de0: c00459b0 c00459b0 ffffffff ffffffff 0000ffff 0000ffff 00000001
00000001 c077fb40 c077fb40 c0543e5c c0543e5c c0543e04 c0543e04 c00389f0
c00389f0
3e00: 3e00: c003e198 c003e198 eb020000 eb020000 00000100 00000100 00000108
00000108 eb000000 eb000000 c0346200 c0346200 c0346200 c0346200 00000108
00000108
3e20: 3e20: c077fb40 c077fb40 00000000 00000000 c073c800 c073c800 c073c800
c073c800 c0543e5c c0543e5c c0543e4c c0543e4c c0543e4c c0543e4c c007eb64
c007eb64
3e40: 3e40: c007eb64 c007eb64 80000013 80000013 ffffffff ffffffff 00000000
00000000 c0543e6c c0543e6c c0543e60 c0543e60 c007ebcc c007ebcc c007eb54
c007eb54
3e60: 3e60: c0543e90 c0543e90 c0543e70 c0543e70 c007e030 c007e030 c007ebbc
c007ebbc c077fb40 c077fb40 fffffff4 fffffff4 00000000 00000000 c01cabc0
c01cabc0
3e80: 3e80: 00000000 00000000 c0543ebc c0543ebc c0543e94 c0543e94 c007e1ec
c007e1ec c007deec c007deec c073c800 c073c800 00001003 00001003 c073ca60
c073ca60
3ea0: 3ea0: 00001002 00001002 c0037b5c c0037b5c 00000000 00000000 00000000
00000000 c0543edc c0543edc c0543ec0 c0543ec0 c01cb320 c01cb320 c007e16c
c007e16c
3ec0: 3ec0: c073c800 c073c800 c073c800 c073c800 00001003 00001003 00001002
00001002 c0543ef0 c0543ef0 c0543ee0 c0543ee0 c0268ec0 c0268ec0 c01cb26c
c01cb26c
3ee0: 3ee0: c073c800 c073c800 c0543f10 c0543f10 c0543ef4 c0543ef4 c0266fa4
c0266fa4 c0268e74 c0268e74 c035bed4 c035bed4 c073c800 c073c800 00000001
00000001
3f00: 3f00: 00001002 00001002 c0543fac c0543fac c0543f14 c0543f14 c001ea70
c001ea70 c0266f58 c0266f58 00000000 00000000 00000000 00000000 00000000
00000000
3f20: 3f20: c0543f9c c0543f9c c0543f30 c0543f30 c0039ba4 c0039ba4 c0055794
c0055794 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
3f40: 3f40: c0212590 c0212590 c005a674 c005a674 c0020dc4 c0020dc4 c0020908
c0020908 c0542000 c0542000 00000001 00000001 c0543f80 c0543f80 c0543f68
c0543f68
3f60: 3f60: c02a12e8 c02a12e8 c01740ec c01740ec c031d220 c031d220 c03504a0
c03504a0 c03504a0 c03504a0 c0543f9c c0543f9c c0543f84 c0543f84 c02a143c
c02a143c
3f80: 3f80: c02e5d9c c02e5d9c c0020dc4 c0020dc4 c0020910 c0020910 c0542000
c0542000 00000001 00000001 00000000 00000000 00000000 00000000 00000000
00000000
3fa0: 3fa0: c0543ff4 c0543ff4 c0543fb0 c0543fb0 c00380cc c00380cc c001e920
c001e920 00000000 00000000 00000000 00000000 c003802c c003802c c005a674
c005a674
3fc0: 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
3fe0: 3fe0: 00000000 00000000 00000000 00000000 00000000 00000000 c0543ff8
c0543ff8 c005a674 c005a674 c003803c c003803c c027d4d8 c027d4d8 c027d644
c027d644
Backtrace: Backtrace:
[<c00459a0>] [<c00459a0>] (__ipipe_mach_demux_irq+0x0/0x10c)
(__ipipe_mach_demux_irq+0x0/0x10c) from [<c003e230>] from [<c003e230>]
(__ipipe_grab_irq+0xa8/0xf8)
(__ipipe_grab_irq+0xa8/0xf8)
[<c003e188>] [<c003e188>] (__ipipe_grab_irq+0x0/0xf8)
(__ipipe_grab_irq+0x0/0xf8) from [<c00389f0>] from [<c00389f0>]
(__irq_svc+0x30/0x88)
(__irq_svc+0x30/0x88)
r7 = C077FB40 r7 = C077FB40 r6 = 00000001 r6 = 00000001 r5 = 0000FFFF r5
= 0000FFFF r4 = FFFFFFFF
r4 = FFFFFFFF
[<c007eb44>] [<c007eb44>] (default_enable+0x0/0x34) (default_enable+0x0/0x34)
from [<c007ebcc>] from [<c007ebcc>] (default_startup+0x20/0x2c)
(default_startup+0x20/0x2c)
r4 = 00000000 r4 = 00000000
[<c007ebac>] [<c007ebac>] (default_startup+0x0/0x2c) (default_startup+0x0/0x2c)
from [<c007e030>] from [<c007e030>] (setup_irq+0x154/0x280)
(setup_irq+0x154/0x280)
[<c007dedc>] [<c007dedc>] (setup_irq+0x0/0x280) (setup_irq+0x0/0x280) from
[<c007e1ec>] from [<c007e1ec>] (request_irq+0x90/0xb8)
(request_irq+0x90/0xb8)
r8 = 00000000 r8 = 00000000 r7 = C01CABC0 r7 = C01CABC0 r6 = 00000000 r6
= 00000000 r5 = FFFFFFF4
r5 = FFFFFFF4
r4 = C077FB40 r4 = C077FB40
[<c007e15c>] [<c007e15c>] (request_irq+0x0/0xb8) (request_irq+0x0/0xb8) from
[<c01cb320>] from [<c01cb320>] (net_open+0xc4/0x4e0)
(net_open+0xc4/0x4e0)
[<c01cb25c>] [<c01cb25c>] (net_open+0x0/0x4e0) (net_open+0x0/0x4e0) from
[<c0268ec0>] from [<c0268ec0>] (dev_open+0x5c/0xc0)
(dev_open+0x5c/0xc0)
r6 = 00001002 r6 = 00001002 r5 = 00001003 r5 = 00001003 r4 = C073C800 r4
= C073C800
[<c0268e64>] [<c0268e64>] (dev_open+0x0/0xc0) (dev_open+0x0/0xc0) from
[<c0266fa4>] from [<c0266fa4>] (dev_change_flags+0x5c/0x130)
(dev_change_flags+0x5c/0x130)
r4 = C073C800 r4 = C073C800
[<c0266f48>] [<c0266f48>] (dev_change_flags+0x0/0x130)
(dev_change_flags+0x0/0x130) from [<c001ea70>] from [<c001ea70>]
(ip_auto_config+0x160/0xe78)
(ip_auto_config+0x160/0xe78)
r7 = 00001002 r7 = 00001002 r6 = 00000001 r6 = 00000001 r5 = C073C800 r5
= C073C800 r4 = C035BED4
r4 = C035BED4
[<c001e910>] [<c001e910>] (ip_auto_config+0x0/0xe78) (ip_auto_config+0x0/0xe78)
from [<c00380cc>] from [<c00380cc>] (init+0xa0/0x280)
(init+0xa0/0x280)
[<c003802c>] [<c003802c>] (init+0x0/0x280) (init+0x0/0x280) from [<c005a674>]
from [<c005a674>] (do_exit+0x0/0xb3c)
(do_exit+0x0/0xb3c)
r7 = 00000000 r7 = 00000000 r6 = 00000000 r6 = 00000000 r5 = 00000000 r5
= 00000000 r4 = 00000000
r4 = 00000000
Code: Code: e3a03801 e3a03801 e1a03613 e1a03613 e5982000 e5982000 e1a03823
e1a03823 (e1c230b0) (e1c230b0)
handling irq 15 (port 2) 1, 8, c0543ba4
handling irq 15 (port 2) 1, 8, c0543ba4
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
irq 143, desc: c03443c0, depth: 0, count: 0, unhandled: 0
->handle_irq(): c004564c, ->handle_irq(): c004564c,
mxc_expio_irq_handler+0x0/0x1a0
mxc_expio_irq_handler+0x0/0x1a0
->chip(): c034b754, ->chip(): c034b754, 0xc034b754
0xc034b754
->action(): 00000000
->action(): 00000000
IRQ_NOPROBE set
IRQ_NOPROBE set
IRQ_NOREQUEST set
IRQ_NOREQUEST set
<1>Unable to handle kernel paging request at virtual address 00008000
Unable to handle kernel paging request at virtual address 00008000
<1>pgd = c0004000
pgd = c0004000
<1>[00008000] *pgd=00000000[00008000] *pgd=00000000
Internal error: Oops: 805 [#2]
Internal error: Oops: 805 [#2]
Modules linked in:Modules linked in:
CPU: 0
CPU: 0
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
PC is at __ipipe_mach_demux_irq+0xb4/0x10c
LR is at __ipipe_handle_irq+0x1d8/0x1ec
LR is at __ipipe_handle_irq+0x1d8/0x1ec
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543b4c ip : c0543b14 fp : c0543b80
pc : [<c0045a54>] lr : [<c003e174>] Not tainted
sp : c0543b4c ip : c0543b14 fp : c0543b80
r10: 00000002 r9 : c0543ba4 r8 : d4015234
r10: 00000002 r9 : c0543ba4 r8 : d4015234
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r7 : 00000008 r6 : 0000000f r5 : 0000008f r4 : 00000000
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
r3 : 00008000 r2 : 00008000 r1 : 00000000 r0 : c034d1e0
Flags: nzcvFlags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel
IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 5317F
Control: 5317F
Table: A0004000 DAC: 00000017
Table: A0004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc0542250)
Process swapper (pid: 1, stack limit = 0xc0542250)
Stack: (0xc0543b4c to 0xc0544000)
Stack: (0xc0543b4c to 0xc0544000)
3b40: 3b40: 00000008
00000008 c0543ba4 c0543ba4 00000200 00000200 ffffffff ffffffff 0000ffff
0000ffff
3b60: 3b60: 00000008 00000008 c0543ba4 c0543ba4 c034d1ec c034d1ec c0542000
c0542000 ffffffff ffffffff c0543ba0 c0543ba0 c0543b84 c0543b84 c003e230
c003e230
3b80: 3b80: c00459b0 c00459b0 ffffffff ffffffff 0000ffff 0000ffff 00000001
00000001 c034d1f8 c034d1f8 c0543c14 c0543c14 c0543ba4 c0543ba4 c00389f0
c00389f0
3ba0: 3ba0: c003e198 c003e198 0000008f 0000008f 0000000f 0000000f 00000001
00000001 80000013 80000013 c034d1e8 c034d1e8 c034d1e0 c034d1e0 00000004
00000004
3bc0: 3bc0: c034d1f8 c034d1f8 c034d1ec c034d1ec ffffffef ffffffef ffffffff
ffffffff c0543c14 c0543c14 00000000 00000000 c0543bec c0543bec c034d200
c034d200
3be0: 3be0: c008074c c008074c 80000013 80000013 ffffffff ffffffff c034d1e0
c034d1e0 c03504a0 c03504a0 c0045a54 c0045a54 00000000 00000000 00000008
00000008
3c00: 3c00: 00000000 00000000 c0543d64 c0543d64 c0543c24 c0543c24 c0543c18
c0543c18 c0080e88 c0080e88 c00805dc c00805dc c0543c38 c0543c38 c0543c28
c0543c28
3c20: 3c20: c003d264 c003d264 c0080e58 c0080e58 00000000 00000000 c0543c58
c0543c58 c0543c3c c0543c3c c003f468 c003f468 c003cf58 c003cf58 ffffffff
ffffffff
3c40: 3c40: 00008000 00008000 c0543d64 c0543d64 c0541be0 c0541be0 c0543c90
c0543c90 c0543c5c c0543c5c c003f6e0 c003f6e0 c003f40c c003f40c 00003073
00003073
3c60: 3c60: c034b878 c034b878 00000805 00000805 ffffffff ffffffff 00008000
00008000 c0543d64 c0543d64 00000805 00000805 c03487a8 c03487a8 00008000
00008000
3c80: 3c80: c0543d64 c0543d64 c0543cb0 c0543cb0 c0543c94 c0543c94 c003f7b8
c003f7b8 c003f488 c003f488 ffffffff ffffffff c0543d98 c0543d98 0000000f
0000000f
3ca0: 3ca0: 00000805 00000805 c0543d60 c0543d60 c0543cb4 c0543cb4 c003f8f4
c003f8f4 c003f7a4 c003f7a4 c0057b50 c0057b50 c00510d0 c00510d0 00002f59
00002f59
3cc0: 3cc0: c034b878 c034b878 00002f59 00002f59 c0543cec c0543cec c0543cd8
c0543cd8 c0543cec c0543cec c03443c0 c03443c0 0000008f 0000008f 00000004
00000004
3ce0: 3ce0: c03d3b80 c03d3b80 00000000 00000000 c0543d18 c0543d18 c0543cf8
c0543cf8 c0057c6c c0057c6c 0000008f 0000008f c03d3afc c03d3afc 00000004
00000004
3d00: 3d00: c03d3b80 c03d3b80 00000000 00000000 c0543d38 c0543d38 c0543d18
c0543d18 c0057c6c c0057c6c c00577c4 c00577c4 c0543d40 c0543d40 0000008f
0000008f
3d20: 3d20: c03d3afc c03d3afc 00000004 00000004 c03d3b80 c03d3b80 c0543d60
c0543d60 c0543d4c c0543d4c c007ed84 c007ed84 ffffffff ffffffff c0543d98
c0543d98
3d40: 3d40: 0000000f 0000000f 00000008 00000008 d4015234 d4015234 00000093
00000093 00000002 00000002 c0543de0 c0543de0 c0543d64 c0543d64 c00389a0
c00389a0
3d60: 3d60: c003f8c8 c003f8c8 c034d1e0 c034d1e0 00000000 00000000 00008000
00008000 00008000 00008000 00000000 00000000 0000008f 0000008f 0000000f
0000000f
3d80: 3d80: 00000008 00000008 d4015234 d4015234 c0543e04 c0543e04 00000002
00000002 c0543de0 c0543de0 c0543d74 c0543d74 c0543dac c0543dac c003e174
c003e174
3da0: 3da0: c0045a54 c0045a54 00000093 00000093 ffffffff ffffffff 00000008
00000008 c0543e04 c0543e04 00000200 00000200 ffffffff ffffffff 0000ffff
0000ffff
3dc0: 3dc0: 00000008 00000008 c0543e04 c0543e04 00000000 00000000 c0542000
c0542000 c073c800 c073c800 c0543e00 c0543e00 c0543de4 c0543de4 c003e230
c003e230
3de0: 3de0: c00459b0 c00459b0 ffffffff ffffffff 0000ffff 0000ffff 00000001
00000001 c077fb40 c077fb40 c0543e5c c0543e5c c0543e04 c0543e04 c00389f0
c00389f0
3e00: 3e00: c003e198 c003e198 eb020000 eb020000 00000100 00000100 00000108
00000108 eb000000 eb000000 c0346200 c0346200 c0346200 c0346200 00000108
00000108
3e20: 3e20: c077fb40 c077fb40 00000000 00000000 c073c800 c073c800 c073c800
c073c800 c0543e5c c0543e5c c0543e4c c0543e4c c0543e4c c0543e4c c007eb64
c007eb64
3e40: 3e40: c007eb64 c007eb64 80000013 80000013 ffffffff ffffffff 00000000
00000000 c0543e6c c0543e6c c0543e60 c0543e60 c007ebcc c007ebcc c007eb54
c007eb54
3e60: 3e60: c0543e90 c0543e90 c0543e70 c0543e70 c007e030 c007e030 c007ebbc
c007ebbc c077fb40 c077fb40 fffffff4 fffffff4 00000000 00000000 c01cabc0
c01cabc0
3e80: 3e80: 00000000 00000000 c0543ebc c0543ebc c0543e94 c0543e94 c007e1ec
c007e1ec c007deec c007deec c073c800 c073c800 00001003 00001003 c073ca60
c073ca60
3ea0: 3ea0: 00001002 00001002 c0037b5c c0037b5c 00000000 00000000 00000000
00000000 c0543edc c0543edc c0543ec0 c0543ec0 c01cb320 c01cb320 c007e16c
c007e16c
3ec0: 3ec0: c073c800 c073c800 c073c800 c073c800 00001003 00001003 00001002
00001002 c0543ef0 c0543ef0 c0543ee0 c0543ee0 c0268ec0 c0268ec0 c01cb26c
c01cb26c
3ee0: 3ee0: c073c800 c073c800 c0543f10 c0543f10 c0543ef4 c0543ef4 c0266fa4
c0266fa4 c0268e74 c0268e74 c035bed4 c035bed4 c073c800 c073c800 00000001
00000001
3f00: 3f00: 00001002 00001002 c0543fac c0543fac c0543f14 c0543f14 c001ea70
c001ea70 c0266f58 c0266f58 00000000 00000000 00000000 00000000 00000000
00000000
3f20: 3f20: c0543f9c c0543f9c c0543f30 c0543f30 c0039ba4 c0039ba4 c0055794
c0055794 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
3f40: 3f40: c0212590 c0212590 c005a674 c005a674 c0020dc4 c0020dc4 c0020908
c0020908 c0542000 c0542000 00000001 00000001 c0543f80 c0543f80 c0543f68
c0543f68
3f60: 3f60: c02a12e8 c02a12e8 c01740ec c01740ec c031d220 c031d220 c03504a0
c03504a0 c03504a0 c03504a0 c0543f9c c0543f9c c0543f84 c0543f84 c02a143c
c02a143c
3f80: 3f80: c02e5d9c c02e5d9c c0020dc4 c0020dc4 c0020910 c0020910 c0542000
c0542000 00000001 00000001 00000000 00000000 00000000 00000000 00000000
00000000
3fa0: 3fa0: c0543ff4 c0543ff4 c0543fb0 c0543fb0 c00380cc c00380cc c001e920
c001e920 00000000 00000000 00000000 00000000 c003802c c003802c c005a674
c005a674
3fc0: 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
3fe0: 3fe0: 00000000 00000000 00000000 00000000 00000000 00000000 c0543ff8
c0543ff8 c005a674 c005a674 c003803c c003803c c027d4d8 c027d4d8 c027d644
c027d644
Backtrace: Backtrace:
[<c00459a0>] [<c00459a0>] (__ipipe_mach_demux_irq+0x0/0x10c)
(__ipipe_mach_demux_irq+0x0/0x10c) from [<c003e230>] from [<c003e230>]
(__ipipe_grab_irq+0xa8/0xf8)
(__ipipe_grab_irq+0xa8/0xf8)
[<c003e188>] [<c003e188>] (__ipipe_grab_irq+0x0/0xf8)
(__ipipe_grab_irq+0x0/0xf8) from [<c00389f0>] from [<c00389f0>]
(__irq_svc+0x30/0x88)
(__irq_svc+0x30/0x88)
r7 = C034D1F8 r7 = C034D1F8 r6 = 00000001 r6 = 00000001 r5 = 0000FFFF r5
= 0000FFFF r4 = FFFFFFFF
r4 = FFFFFFFF
[<c00805cc>] [<c00805cc>] (__ipipe_sync_stage+0x0/0x240)
(__ipipe_sync_stage+0x0/0x240) from [<c0080e88>] from [<c0080e88>]
(__ipipe_unstall_root+0x40/0x58)
(__ipipe_unstall_root+0x40/0x58)
[<c0080e48>] [<c0080e48>] (__ipipe_unstall_root+0x0/0x58)
(__ipipe_unstall_root+0x0/0x58) from [<c003d264>] from [<c003d264>]
(die+0x31c/0x410)
(die+0x31c/0x410)
[<c003cf48>] [<c003cf48>] (die+0x0/0x410) (die+0x0/0x410) from [<c003f468>]
from [<c003f468>] (__do_kernel_fault+0x6c/0x7c)
(__do_kernel_fault+0x6c/0x7c)
[<c003f3fc>] [<c003f3fc>] (__do_kernel_fault+0x0/0x7c)
(__do_kernel_fault+0x0/0x7c) from [<c003f6e0>] from [<c003f6e0>]
(do_page_fault+0x268/0x2a0)
(do_page_fault+0x268/0x2a0)
r7 = C0541BE0 r7 = C0541BE0 r6 = C0543D64 r6 = C0543D64 r5 = 00008000 r5
= 00008000 r4 = FFFFFFFF
r4 = FFFFFFFF
[<c003f478>] [<c003f478>] (do_page_fault+0x0/0x2a0) (do_page_fault+0x0/0x2a0)
from [<c003f7b8>] from [<c003f7b8>] (do_translation_fault+0x24/0x108)
(do_translation_fault+0x24/0x108)
[<c003f794>] [<c003f794>] (do_translation_fault+0x0/0x108)
(do_translation_fault+0x0/0x108) from [<c003f8f4>] from [<c003f8f4>]
(do_DataAbort+0x3c/0x11c)
(do_DataAbort+0x3c/0x11c)
r7 = 00000805 r7 = 00000805 r6 = 0000000F r6 = 0000000F r5 = C0543D98 r5
= C0543D98 r4 = FFFFFFFF
r4 = FFFFFFFF
[<c003f8b8>] [<c003f8b8>] (do_DataAbort+0x0/0x11c) (do_DataAbort+0x0/0x11c)
from [<c00389a0>] from [<c00389a0>] (__dabt_svc+0x40/0x60)
(__dabt_svc+0x40/0x60)
[<c00459a0>] [<c00459a0>] (__ipipe_mach_demux_irq+0x0/0x10c)
(__ipipe_mach_demux_irq+0x0/0x10c) from [<c003e230>] from [<c003e230>]
(__ipipe_grab_irq+0xa8/0xf8)
(__ipipe_grab_irq+0xa8/0xf8)
[<c003e188>] [<c003e188>] (__ipipe_grab_irq+0x0/0xf8)
(__ipipe_grab_irq+0x0/0xf8) from [<c00389f0>] from [<c00389f0>]
(__irq_svc+0x30/0x88)
(__irq_svc+0x30/0x88)
r7 = C077FB40 r7 = C077FB40 r6 = 00000001 r6 = 00000001 r5 = 0000FFFF r5
= 0000FFFF r4 = FFFFFFFF
r4 = FFFFFFFF
[<c007eb44>] [<c007eb44>] (default_enable+0x0/0x34) (default_enable+0x0/0x34)
from [<c007ebcc>] from [<c007ebcc>] (default_startup+0x20/0x2c)
(default_startup+0x20/0x2c)
r4 = 00000000 r4 = 00000000
[<c007ebac>] [<c007ebac>] (default_startup+0x0/0x2c) (default_startup+0x0/0x2c)
from [<c007e030>] from [<c007e030>] (setup_irq+0x154/0x280)
(setup_irq+0x154/0x280)
[<c007dedc>] [<c007dedc>] (setup_irq+0x0/0x280) (setup_irq+0x0/0x280) from
[<c007e1ec>] from [<c007e1ec>] (request_irq+0x90/0xb8)
(request_irq+0x90/0xb8)
r8 = 00000000 r8 = 00000000 r7 = C01CABC0 r7 = C01CABC0 r6 = 00000000 r6
= 00000000 r5 = FFFFFFF4
r5 = FFFFFFF4
r4 = C077FB40 r4 = C077FB40
[<c007e15c>] [<c007e15c>] (request_irq+0x0/0xb8) (request_irq+0x0/0xb8) from
[<c01cb320>] from [<c01cb320>] (net_open+0xc4/0x4e0)
(net_open+0xc4/0x4e0)
[<c01cb25c>] [<c01cb25c>] (net_open+0x0/0x4e0) (net_open+0x0/0x4e0) from
[<c0268ec0>] from [<c0268ec0>] (dev_open+0x5c/0xc0)
(dev_open+0x5c/0xc0)
r6 = 00001002 r6 = 00001002 r5 = 00001003 r5 = 00001003 r4 = C073C800 r4
= C073C800
[<c0268e64>] [<c0268e64>] (dev_open+0x0/0xc0) (dev_open+0x0/0xc0) from
[<c0266fa4>] from [<c0266fa4>] (dev_change_flags+0x5c/0x130)
(dev_change_flags+0x5c/0x130)
r4 = C073C800 r4 = C073C800
[<c0266f48>] [<c0266f48>] (dev_change_flags+0x0/0x130)
(dev_change_flags+0x0/0x130) from [<c001ea70>] from [<c001ea70>]
(ip_auto_config+0x160/0xe78)
(ip_auto_config+0x160/0xe78)
r7 = 00001002 r7 = 00001002 r6 = 00000001 r6 = 00000001 r5 = C073C800 r5
= C073C800 r4 = C035BED4
r4 = C035BED4
[<c001e910>] [<c001e910>] (ip_auto_config+0x0/0xe78) (ip_auto_config+0x0/0xe78)
from [<c00380cc>] from [<c00380cc>] (init+0xa0/0x280)
(init+0xa0/0x280)
[<c003802c>] [<c003802c>] (init+0x0/0x280) (init+0x0/0x280) from [<c005a674>]
from [<c005a674>] (do_exit+0x0/0xb3c)
(do_exit+0x0/0xb3c)
r7 = 00000000 r7 = 00000000 r6 = 00000000 r6 = 00000000 r5 = 00000000 r5
= 00000000 r4 = 00000000
r4 = 00000000
Code: Code: e3a03801 e3a03801 e1a03613 e1a03613 e5982000 e5982000 e1a03823
e1a03823 (e1c230b0) (e1c230b0)
handling irq 15 (port 2) 2, 8, c0543970
handling irq 15 (port 2) 2, 8, c0543970
handling irq 15 (port 2) 3, 8, c0543820
handling irq 15 (port 2) 3, 8, c0543820
handling irq 15 (port 2) 4, 8, c05436d0
handling irq 15 (port 2) 4, 8, c05436d0
handling irq 15 (port 2) 5, 8, c0543580
handling irq 15 (port 2) 5, 8, c0543580
handling irq 15 (port 2) 6, 8, c0543430
handling irq 15 (port 2) 6, 8, c0543430
handling irq 15 (port 2) 7, 8, c05432e0
handling irq 15 (port 2) 7, 8, c05432e0
handling irq 15 (port 2) 8, 8, c0543190
handling irq 15 (port 2) 8, 8, c0543190
handling irq 15 (port 2) 9, 8, c0543040
handling irq 15 (port 2) 9, 8, c0543040
handling irq 15 (port 2) 10, 8, c0542ef0
handling irq 15 (port 2) 10, 8, c0542ef0
handling irq 15 (port 2) 11, 8, c0542da0
handling irq 15 (port 2) 11, 8, c0542da0
handling irq 15 (port 2) 12, 8, c0542c50
handling irq 15 (port 2) 12, 8, c0542c50
handling irq 15 (port 2) 13, 8, c0542b00
handling irq 15 (port 2) 13, 8, c0542b00
handling irq 15 (port 2) 14, 8, c05429b0
handling irq 15 (port 2) 14, 8, c05429b0
handling irq 15 (port 2) 15, 8, c0542860
handling irq 15 (port 2) 15, 8, c0542860
handling irq 15 (port 2) 16, 8, c0542710
handling irq 15 (port 2) 16, 8, c0542710
handling irq 15 (port 2) 17, 8, c05425c0
handling irq 15 (port 2) 17, 8, c05425c0
handling irq 15 (port 2) 18, 8, c0542470
handling irq 15 (port 2) 18, 8, c0542470
handling irq 15 (port 2) 19, 8, c0542320
handling irq 15 (port 2) 19, 8, c0542320
handling irq 15 (port 2) 20, 8, c05421d0
handling irq 15 (port 2) 20, 8, c05421d0
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help