Hi All,
I am working on DM6446 Davinci. For that I have installed
"dvsdk_1_30_00_40".
I have taken following fresh installation files (i.e. without
recompiling anything)* *and tried to run the the deocode demo, but cmem
insertion failed.
* *uImage:* dvsdk_1_30_00_40/PSP_01_20_00_014/bin/dm6446/ uImage-dm6446
* *cmemk.ko: *
dvsdk_1_30_00_40/cmem_2_00_01/packages/ti/sdo/linuxutils/cmem/src/module/
cmemk.ko
* *dsplinkk.ko:*
dvsdk_1_30_00_40/dsplink_140-05p1/packages/dsplink/gpp/export/BIN/Linux/Davinci/DEBUG/dsplink.ko
* *loadmodules.sh:* dvsdk_1_30_00_40/demos/dm6446/loadmodules.sh
Later on recompiling CMEM, i was able to insert it, but decode demo
gave following error.
*Unable to handle kernel paging request at virtual address 43016132
pgd = c0004000
[43016132] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in: dsplinkk cmemk
CPU: 0
PC is at IPS_unregister+0x20c/0x318 [dsplinkk]*
Complete error log is attached.
Thanks in advance. Any help will be appreciated.
Regards,
Deepika
[EMAIL PROTECTED]:/home/WGV/decode# ./decoded -v davincieffect_pal.264
Decode Debug: PAL selected
Decode demo started.
Decode Debug: Codec Engine initialized
Decode Debug: Logging initialized
Decode Debug: Pause object opened
Decode Debug: Init rendezvous opened for 3 threads
Decode Debug: Cleanup rendezvous opened for 3 threads
Decode Debug: Priming rendezvous opened for 2 threads
Decode Debug: Display buffer 0 mapped to 0x42b45000 has physical address
0x80800000
Decode Debug: Display buffer 1 mapped to 0x42c0f800 has physical address
0x808ca800
Decode Debug: Display buffer 2 mapped to 0x42cda000 has physical address
0x80995000
Decode Debug: Video display device initialized.
Decode Debug: Display thread created
Decode Debug: Video file successfully opened
Decode Debug: Codec Engine opened in video thread
Decode Debug: OSD successfully initialized
Decode Debug: OSD transparency initialized
Decode Debug: Video decoder created
Decode Debug: Contiguous buffer allocated at physical address 0x87d00000
Decode Debug: Contiguous buffer allocated at physical address 0x87c35000
Decode Debug: Contiguous buffer allocated at physical address 0x87b6a000
Decode Debug: Contiguous buffer allocated at physical address 0x87a9f000
Decode Debug: Codec Engine opened in control thread
Decode Debug: MSP430 library initialized
Decode Debug: User interface created
Decode Debug: Entering control main loop.
Decode Debug: Entering display main loop.
Unable to handle kernel paging request at virtual address 43016132
pgd = c0004000
[43016132] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in: dsplinkk cmemk
CPU: 0
PC is at IPS_unregister+0x20c/0x318 [dsplinkk]
LR is at 0x0
pc : [<bf010964>] lr : [<00000000>] Tainted: PF
sp : c5659d44 ip : 43016132 fp : c5659d88
r10: c8d82600 r9 : 00000000 r8 : c88e0000
r7 : 00000000 r6 : c88e0000 r5 : bf02fac4 r4 : 00008000
r3 : 00000020 r2 : 00000001 r1 : c047d840 r0 : 00008000
Flags: Nzcv IRQs off FIQs on Mode SVC_32 Segment user
Control: 5317F Table: 8564C000 DAC: 00000015
Process decoded (pid: 1161, stack limit = 0xc56581a0)
Stack: (0xc5659d44 to 0xc565a000)
9d40: 00000000 60000013 00000000 c562bc60 c562bc60 bf01b968 bf02fecc
9d60: 00008000 bf02fecc 00008000 00000000 00000000 c888d000 c8dfee80 c5659dbc
9d80: c5659d8c bf01b628 bf010768 bf02fecc 00000000 00000000 bf02fe30 00008000
9da0: 00000001 00000000 c5659f68 0000000b c5659dd8 c5659dc0 bf014164 bf01b5d4
9dc0: 00000082 bf02f3a4 00000000 c5659dfc c5659ddc bf0061a4 bf0140e8 00000003
9de0: 0000c61c c51e7b20 00000000 c773e060 c5659e0c c5659e00 bf00620c bf0060a4
9e00: c5659e2c c5659e10 c008ad9c bf0061fc c5659e4c c773e060 00000ffd 00000008
9e20: c5659e4c c5659e30 c004d71c c008ad50 c773e060 c6c55080 c5630840 c6c550b0
9e40: c5659e6c c5659e50 c004df40 c004d69c c5659f68 c5659ee8 c5659e84 c5659e68
9e60: c5659e84 c5659e70 c004eb9c c004dcf0 c5658000 00000009 c5659ebc c5659e88
9e80: c0058e24 c004eacc c5630a40 c5659fb0 c0063770 c5658000 00000000 c5659fb0
9ea0: c0036154 c0036154 c5659ee8 00900005 c5659fac c5659ec0 c0039d58 c0058918
9ec0: c57e7a20 c564b700 fffffe00 00000000 c5659f04 c5630a40 c5659f04 c5659ee8
9ee0: c00a4a10 c012f4a8 00000009 00000000 00000000 00000000 00000000 c5659f08
9f00: c008aa00 c00a49f4 00000000 00000009 00000000 c049e000 c0036154 00900005
9f20: c5659f84 c5659f30 c008aa8c c008a798 c5114dd8 c04793c0 3ff40e45 3ab8a378
9f40: c06e52b0 00000101 00000001 00000000 00038b8c 00000001 c5659f84 c5659f68
9f60: c0099b4c c0072d5c fffffe00 fffffe00 00000000 c049e000 c5659fa4 c5659f88
9f80: c008ad04 0004dcc8 00000001 00000008 00000005 c0036154 c5658000 00900005
9fa0: 00000000 c5659fb0 c0035a0c c0039cfc fffffe00 00000000 000001b6 00000000
9fc0: 0004dcc8 00000001 00000008 0004dcc8 00038b8c 00049e6c 401fe000 42343344
9fe0: 00000000 423432dc 401b1a30 401989a0 60000010 00038b8c 0217e1a0 029d0ff9
Backtrace:
[<bf010758>] (IPS_unregister+0x0/0x318 [dsplinkk]) from [<bf01b628>]
(ZCPYMQT_close+0x64/0x300 [)[<bf01b5c4>] (ZCPYMQT_close+0x0/0x300 [dsplinkk])
from [<bf014164>] (LDRV_MSGQ_transportClose+0x)[<bf0140d8>]
(LDRV_MSGQ_transportClose+0x0/0xe4 [dsplinkk]) from [<bf0061a4>]
(DSPLINK_Cleanup+0) r6 = 00000000 r5 = BF02F3A4 r4 = 00000082
[<bf006094>] (DSPLINK_Cleanup+0x0/0x158 [dsplinkk]) from [<bf00620c>]
(DRV_Flush+0x20/0x2c [dspl) r6 = C773E060 r5 = 00000000 r4 = C51E7B20
[<bf0061ec>] (DRV_Flush+0x0/0x2c [dsplinkk]) from [<c008ad9c>]
(filp_close+0x5c/0x90)
[<c008ad40>] (filp_close+0x0/0x90) from [<c004d71c>]
(put_files_struct+0x90/0xf4)
r6 = 00000008 r5 = 00000FFD r4 = C773E060
[<c004d68c>] (put_files_struct+0x0/0xf4) from [<c004df40>] (do_exit+0x260/0xda0)
r7 = C6C550B0 r6 = C5630840 r5 = C6C55080 r4 = C773E060
[<c004dce0>] (do_exit+0x0/0xda0) from [<c004eb9c>] (sys_exit_group+0x0/0x1c)
[<c004eabc>] (do_group_exit+0x0/0xe0) from [<c0058e24>]
(get_signal_to_deliver+0x51c/0x564)
r5 = 00000009 r4 = C5658000
[<c0058908>] (get_signal_to_deliver+0x0/0x564) from [<c0039d58>]
(do_signal+0x6c/0x52c)
[<c0039cec>] (do_signal+0x0/0x52c) from [<c0035a0c>] (work_pending+0x1c/0x24)
Code: e595301c e5933020 e15e0003 2a000029 (e79c318e)
<6>note: decoded[1161] exited with preempt_count 1
BUG: scheduling while atomic: decoded/0x00000001/1161
caller is do_exit+0xd3c/0xda0
Segmentation fault
[EMAIL PROTECTED]:/home/WGV/decode# ./decoded -v davincieffect_pal.264
<vpbe_encoder_getmode>
<vpbe_encoder_getmode/>
Decode Debug: PAL selected
Decode demo started.
Decode Debug: Codec Engine initialized
TraceUtil> Error: Failed to open codec engine "decode"
TraceUtil> Error: Aborting TraceUtil_start
Decode Debug: Logging initialized
Decode Debug: Pause object opened
Decode Debug: Init rendezvous opened for 3 threads
Decode Debug: Cleanup rendezvous opened for 3 threads
Decode Debug: Priming rendezvous opened for 2 threads
Decode Debug: Display buffer 0 mapped to 0x41ac7000 has physical address
0x80800000
Decode Debug: Display buffer 1 mapped to 0x41b91800 has physical address
0x808ca800
Assertion failed (PMGR_MSGQ_IsInitialized == FALSE). File : pmgr_msgq.c Line :
1640
Decode Debug: VAssertion failed (LDRV_MSGQ_IsInitialized == FALSE). File :
ldrv_msgq.c Line : 132ideo display device initialized.
Decode Debug: Display thread created
Decode Debug: Video file successfully opened
Decode Debug: OSD successfully initialized
Decode Debug: OSD transparency initialized
DSP-side configuration mismatch/failure
0 -> success
Positive value -> DSP-side failure code.
(Uint32) -1 -> DSP-side component was not initialized.
DRV configuration status [0x0]
IPS configuration status [0x1]
POOL configuration status [0xffffffff]
MPCS configuration status [0xffffffff]
MPLIST configuration status [0xffffffff]
MQT configuration status [0xffffffff]
RINGIO configuration status [0xffffffff]
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source