Hi, U-boot, kernel and yaffs file system are in NAND Flash, and all of them are ok , but there are some errors when running demos(encode and decode). The information is as follows(test.264 is ok), [EMAIL PROTECTED]:~/CODEC_server_demo# ./decode -v test.264 Decode Debug: PAL selected Decode demo started. Decode Debug: Codec Engine initialized Decode Debug: Logging initialized Decode Debug: Rendezvous opened for 3 threads Decode Debug: OSD successfully initialized Decode Debug: OSD transparency initialized Decode Debug: Codec Engine opened in control thread Decode Debug: Video file successfully opened Decode Debug: Display buffer 0 mapped to address 0x42cd2000 Decode Debug: Display buffer 1 mapped to address 0x42d9c800 Decode Debug: Display buffer 2 mapped to address 0x42e67000 Decode Debug: Video display device initialized. Decode Debug: Display thread created Decode Debug: Codec Engine opened in video thread Decode Debug: MSP430 library initialized Decode Debug: Video decoder created Decode Debug: Contiguous buffer allocated at physical address 0x872c8000 Decode Debug: Contiguous buffer allocated at physical address 0x87f35000 Decode Debug: Contiguous buffer allocated at physical address 0x87e6a000 Decode Debug: Contiguous buffer allocated at physical address 0x87d9f000 Decode Debug: User interface created Decode Debug: Entering display main loop. Decode Debug: Entering control main loop. AsseUnable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = c5bcc000 [00000000] *pgd=85bf4031, *pte=00000000, *ppte=00000000 Internal error: Oops: 817 [#1] Modules linked in: dsplinkk cmemk CPU: 0 PC is at SHMIPS_Send+0x114/0x13c [dsplinkk] LR is at SHMIPS_Send+0x10c/0x13c [dsplinkk] pc : [<bf00c704>] lr : [<bf00c6fc>] Tainted: PF sp : c5a2beb0 ip : 0f800f7f fp : c5a2bed8 r10: bf015bc0 r9 : c8900180 r8 : 00000000 r7 : bf015bc0 r6 : c8900080 r5 : 412be900 r4 : 00000000 r3 : 00000000 r2 : c781e060 r1 : 00000001 r0 : 00000000 Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment user Control: 5317F Table: 85BCC000 DAC: 00000015 Process decoded (pid: 1086, stack limit = 0xc5a2a1a0) Stack: (0xc5a2beb0 to 0xc5a2c000) bea0: 00000000 00008000 00006f0a 412be900 bec0: c007a154 c5a2a000 00900036 c5a2bee8 c5a2bedc bf00dcb8 bf00c600 c5a2bf0c bee0: c5a2beec bf00a36c bf00dcb4 00000003 befff9c0 00008000 00006f0a befff9c0 bf00: c5a2bf1c c5a2bf10 bf005788 bf00a2ac c5a2bf34 c5a2bf20 bf005344 bf005788 bf20: c0077580 ffffffe7 c5a2bf54 c5a2bf38 c00e0f2c bf0051d4 c0077580 befff9c0 bf40: 00000008 00000000 c5a2bf7c c5a2bf58 c00e1234 c00e0ec0 c61e8d20 fffffff7 bf60: c0077580 fffffff7 00006f0a 00000036 c5a2bfa4 c5a2bf80 c00e1294 c00e0f50 bf80: c00c0284 00000001 0000004a 412ce900 00000000 00033c38 00000000 c5a2bfa8 bfa0: c00799c0 c00e1264 412ce900 00000000 00000008 00006f0a befff9c0 00036720 bfc0: 412ce900 00000000 00033c38 00000000 00000000 00000000 0003327c befff9bc bfe0: 00033330 befff968 0001fd8c 401a0344 60000010 00000008 40000210 02804010 Backtrace: [<bf00c5f0>] (SHMIPS_Send+0x0/0x13c [dsplinkk]) from [<bf00dcb8>] (ZCPYMQT_Put+0 x14/0x18 [dsplinkk]) [<bf00dca4>] (ZCPYMQT_Put+0x0/0x18 [dsplinkk]) from [<bf00a36c>] (LDRV_MSGQ_Put+ 0xd0/0xe8 [dsplinkk]) [<bf00a29c>] (LDRV_MSGQ_Put+0x0/0xe8 [dsplinkk]) from [<bf005788>] (PMGR_MSGQ_Pu t+0x10/0x14 [dsplinkk]) r7 = BEFFF9C0 r6 = 00006F0A r5 = 00008000 r4 = BEFFF9C0 [<bf005778>] (PMGR_MSGQ_Put+0x0/0x14 [dsplinkk]) from [<bf005344>] (DRV_Ioctl+0x 180/0x34c [dsplinkk]) [<bf0051c4>] (DRV_Ioctl+0x0/0x34c [dsplinkk]) from [<c00e0f2c>] (do_ioctl+0x7c/0 x90) r5 = FFFFFFE7 r4 = C0077580 [<c00e0eb0>] (do_ioctl+0x0/0x90) from [<c00e1234>] (vfs_ioctl+0x2f4/0x314) r7 = 00000000 r6 = 00000008 r5 = BEFFF9C0 r4 = C0077580 [<c00e0f40>] (vfs_ioctl+0x0/0x314) from [<c00e1294>] (sys_ioctl+0x40/0x64) r7 = 00000036 r6 = 00006F0A r5 = FFFFFFF7 r4 = C0077580 [<c00e1254>] (sys_ioctl+0x0/0x64) from [<c00799c0>] (ret_fast_syscall+0x0/0x2c) r6 = 00033C38 r5 = 00000000 r4 = 412CE900 Code: e3a03001 ebfff2a4 e5963004 e3a01001 (e5803000) rtion failed (po<6>note: decoded[1086] exited with preempt_count 1 olId < MAX_POOLEBUG: scheduling while atomic: decoded/0x00000001/1086 caller is do_exit+0xd3c/0xda0 NTRIES). File : drv_pool.c Line : 154 Unable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = c0004000 [00000000] *pgd=00000000 Internal error: Oops: 17 [#2] Modules linked in: dsplinkk cmemk CPU: 0 PC is at SHMIPS_GetBuffers+0xe4/0x23c [dsplinkk] LR is at SHMIPS_GetBuffers+0xdc/0x23c [dsplinkk] pc : [<bf00c810>] lr : [<bf00c808>] Tainted: PF sp : c029be78 ip : c97fc87d fp : c029bea8 r10: c8900080 r9 : 00000000 r8 : c029be7c r7 : bf015bc0 r6 : c8900100 r5 : bf015bc0 r4 : bf015294 r3 : 11f10000 r2 : c781e060 r1 : 11f04000 r0 : 00000000 Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment kernel Control: 5317F Table: 85BCC000 DAC: 00000017 Process swapper (pid: 0, stack limit = 0xc029a1a0) Stack: (0xc029be78 to 0xc029c000) be60: c8900300 00000000 be80: bf015294 c001b7a0 00000000 00000000 0000002e c030ce18 c029bf58 c029bec4 bea0: c029beac bf00ca0c bf00c73c c029beb0 00000000 c029a000 c029bed4 c029bec8 bec0: bf0076f0 bf00c9a8 c029befc c029bed8 c007ad70 bf0076d0 c030d8e0 0000002e bee0: c001b7a0 c029bf58 c029a000 c029bf58 c029bf1c c029bf00 c007b09c c007ad04 bf00: c029bf8c c029a000 ffffffff 00000002 c029bf54 c029bf20 c007b250 c007aff8 bf20: c008960c c0089464 00000000 c029bf8c e1048000 ffffffff 00000002 c029a000 bf40: 00000001 8001fdc4 c029bfb4 c029bf58 c00795e0 c007b210 00000000 0005317f bf60: 0005217f 60000013 c029a000 60000093 c029d2a0 c032dd10 8001fdf4 41069265 bf80: 8001fdc4 c029bfb4 c029bfa0 c029bfa0 c007be00 c007be10 60000013 ffffffff bfa0: c029a000 c007bd98 c029bfd4 c029bfb8 c007be7c c007bda8 c029bfd4 c03173f8 bfc0: c030dd94 c029cfc8 c029bffc c029bfd8 c0008790 c007be28 c0008304 00000000 bfe0: 00000000 c030dda8 00000000 00053175 00000000 c029c000 8000809c c0008658 Backtrace: [<bf00c72c>] (SHMIPS_GetBuffers+0x0/0x23c [dsplinkk]) from [<bf00ca0c>] (SHMIPS_ ISR+0x74/0x84 [dsplinkk]) [<bf00c998>] (SHMIPS_ISR+0x0/0x84 [dsplinkk]) from [<bf0076f0>] (ISR_Callback+0x 30/0x3c [dsplinkk]) r4 = C029A000 [<bf0076c0>] (ISR_Callback+0x0/0x3c [dsplinkk]) from [<c007ad70>] (__do_irq+0x7c /0xc8) [<c007acf4>] (__do_irq+0x0/0xc8) from [<c007b09c>] (do_edge_IRQ+0xb4/0x148) [<c007afe8>] (do_edge_IRQ+0x0/0x148) from [<c007b250>] (asm_do_IRQ+0x50/0x138) r7 = 00000002 r6 = FFFFFFFF r5 = C029A000 r4 = C029BF8C [<c007b200>] (asm_do_IRQ+0x0/0x138) from [<c00795e0>] (__irq_svc+0x40/0x74) [<c007bd98>] (default_idle+0x0/0x80) from [<c007be7c>] (cpu_idle+0x64/0xac) r5 = C007BD98 r4 = C029A000 [<c007be18>] (cpu_idle+0x0/0xac) from [<c0008790>] (start_kernel+0x148/0x17c) r6 = C029CFC8 r5 = C030DD94 r4 = C03173F8 [<c0008648>] (start_kernel+0x0/0x17c) from [<8000809c>] (0x8000809c) Code: e5950000 ebfff261 e5880000 e59f7150 (e5903000) <0>Kernel panic - not syncing: Aiee, killing interrupt handler! regards dj
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
