Hi,
I had modified the DSP-BIOS link scale sample application to do some
processing on data on the DSP side.
Problem is that it is running fine upto some iterations and after that
it hangs and giving some kernel panic error at ARM side.
Suggest some methods to resolve this error .Error message is shown
below.
MEMORY MAP USED
prog.module("MEM").STACKSIZE = 0x600000 ;
/*
========================================================================
====
* MEM : DSPLINKMEM
*
========================================================================
====
*/
var DSPLINKMEM = prog.module("MEM").create("DSPLINKMEM");
DSPLINKMEM.base = 0x8FE00000;
DSPLINKMEM.len = 0x100000;
DSPLINKMEM.createHeap = false;
DSPLINKMEM.comment = "DSPLINKMEM";
/*
========================================================================
====
* MEM : RESET_VECTOR
*
========================================================================
====
*/
var RESET_VECTOR = prog.module("MEM").create("RESET_VECTOR");
RESET_VECTOR.base = 0x8FF00000;
RESET_VECTOR.len = 0x00000080;
RESET_VECTOR.space = "code/data";
RESET_VECTOR.createHeap = false;
RESET_VECTOR.comment = "RESET_VECTOR";
/*
========================================================================
====
* MEM : DDR
*
========================================================================
====
*/
var DDR = prog.module("MEM").create("DDR");
DDR.base = 0x8C000000;
DDR.len = 0x00D00000;
DDR.space = "code/data";
DDR.createHeap = true;
DDR.heapSize = 0x400000;
DDR.comment = "DDR";
ERROR MESSAGE IS
Unable to handle kernel paging request at virtual address f345d614
pgd = c6044000
[f345d614] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in: dsplinkk
CPU: 0
PC is at LDRV_CHNL_GetChannelState+0x14/0x2c [dsplinkk]
LR is at ZCPYDATA_DPC+0x58/0x2b0 [dsplinkk]
pc : [<bf005e44>] lr : [<bf00ac20>] Tainted: PF
sp : c02e7e54 ip : c02e7e64 fp : c02e7e60
r10: c03b4a80 r9 : c03ad100 r8 : 00000000
r7 : bf01456c r6 : 00008000 r5 : 8d112464 r4 : a0000013
r3 : bf014484 r2 : c02e6000 r1 : 8d112464 r0 : 00000000
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 5317F Table: 86044000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc02e61a0)
Stack: (0xc02e7e54 to 0xc02e8000)
7e40: c02e7e88 c02e7e64
bf00ac20
7e60: bf005e40 c808e000 00000000 bf013f98 00008000 c03b4ad0 0000000a
c02e7ea4
7e80: c02e7e8c bf002930 bf00abd8 00000000 c03b4aa4 00000001 c02e7ebc
c02e7ea8
7ea0: c0046c30 bf0028e0 c02e6000 00000103 c02e7ee4 c02e7ec0 c00466e8
c0046bc0
7ec0: c02e6000 00000000 ffffffff 00000002 c02e6000 c02e7f50 c02e7efc
c02e7ee8
7ee0: c00467c4 c00466a4 c02e6000 c02e6000 c02e7f14 c02e7f00 c004697c
c004679c
7f00: ffffffff c02e7f84 c02e7f4c c02e7f18 c002e320 c0046940 c003c6b4
c003c50c
7f20: 00000000 c02e7f84 e1048000 ffffffff 00000002 c02e6000 00000001
80025e9c
7f40: c02e7fac c02e7f50 c002c5e0 c002e210 00000000 0005317f 0005217f
60000013
7f60: c02e6000 60000093 c02e92a8 c03d7890 80025ecc 41069265 80025e9c
c02e7fac
7f80: c02e7f98 c02e7f98 c002edfc c002ee0c 60000013 ffffffff c02e6000
c002ed94
7fa0: c02e7fcc c02e7fb0 c002ee78 c002eda4 c02e7fcc 00053175 c03acc3c
c03b76d8
7fc0: c02e7ffc c02e7fd0 c00087d8 c002ee24 c0008304 00000000 00000000
c03ae090
7fe0: 00000000 00053175 c03ae07c c02e8fd0 00000000 c02e8000 8000809c
c0008660
Backtrace:
[<bf005e30>] (LDRV_CHNL_GetChannelState+0x0/0x2c [dsplinkk]) from
[<bf00ac20>]
[<bf00abc8>] (ZCPYDATA_DPC+0x0/0x2b0 [dsplinkk]) from [<bf002930>]
(DPC_Callbac
r8 = 0000000A r7 = C03B4AD0 r6 = 00008000 r5 = BF013F98
r4 = 00000000
[<bf0028d0>] (DPC_Callback+0x0/0xb8 [dsplinkk]) from [<c0046c30>]
(tasklet_acti
r6 = 00000001 r5 = C03B4AA4 r4 = 00000000
[<c0046bb0>] (tasklet_action+0x0/0xcc) from [<c00466e8>]
(___do_softirq+0x54/0x
r5 = 00000103 r4 = C02E6000
[<c0046694>] (___do_softirq+0x0/0xf8) from [<c00467c4>]
(__do_softirq+0x38/0x58
[<c004678c>] (__do_softirq+0x0/0x58) from [<c004697c>]
(irq_exit+0x4c/0x60)
r5 = C02E6000 r4 = C02E6000
[<c0046930>] (irq_exit+0x0/0x60) from [<c002e320>]
(asm_do_IRQ+0x120/0x138)
r4 = C02E7F84
[<c002e200>] (asm_do_IRQ+0x0/0x138) from [<c002c5e0>]
(__irq_svc+0x40/0x74)
[<c002ed94>] (default_idle+0x0/0x80) from [<c002ee78>]
(cpu_idle+0x64/0xac)
r5 = C002ED94 r4 = C02E6000
[<c002ee14>] (cpu_idle+0x0/0xac) from [<c00087d8>]
(start_kernel+0x188/0x1cc)
r6 = C03B76D8 r5 = C03ACC3C r4 = 00053175
[<c0008650>] (start_kernel+0x0/0x1cc) from [<8000809c>] (0x8000809c)
Code: e92dd800 e24cb004 e59f3014 e0811200 (e7933101)
<0>Kernel panic - not syncing: Aiee, killing interrupt handler!
Thanks in advance
Regards,
Siva
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source