Other Parts Discussed in Thread: PCF8575, PMP
Hi,
I am running the VC demo on DM814x .
The VC Daughter card is connected to DM814x EVM with HDMI input from the Blu-Ray player 1080P@60 fps,
as required for this VC demo package.
We are using SD card boot, The followingis the problem faced while running this demo package:
1. When we are loding HDMI support module (insmod TI81xx_HDMI.ko hdmi_mode=2) in 1080P60 mode, a segmentation fault is observed.
2. The loading of vc_a8host_debug.xv5T application loads the video module, but when loading the vpss module it hangs at:
[t=0x006f0057] [tid=0x4001b000] ipc_support_desc: Doing Ipc_CONTROLCMD_STARTCALLBACK()
Please provide your inputs for resolving the same.
Boot Arguments Used:
mmc init
setenv bootargs 'console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootdelay=2 rw rootfstype=ext3 mem=128M ip=10.1.115.199 vram=50M'
fatload mmc 1 0x81000000 uImage
bootm 0x81000000
Logs:
root@dm814x-evm:/ti814x-evm# insmod syslink.ko
SysLink version : 02.00.00.67_alpha2
SysLink module created on Date:Aug 9 2011 Time:19:13:06
Entered KnlUtilsDrv_initializeModule
traceMask value: 0x0
Leaving KnlUtilsDrv_initializeModule 0x0
root@dm814x-evm:/ti814x-evm# ./prcm_config_app s
/dev/mem opened.
Doing GEL setting...
CortxA8: Output: PRCM for IVHD0 is in Progress, Please wait.....
BW Phy Addr : 0x48180600 Data : 0x00000002
AW Phy Addr : 0x48180600 Data : 0x00000002
Phy Addr : 0x48180c04 Data : 0x00000037
BW Phy Addr : 0x48180620 Data : 0x00070000
AW Phy Addr : 0x48180620 Data : 0x00070002
BW Phy Addr : 0x48180624 Data : 0x00030000
AW Phy Addr : 0x48180624 Data : 0x00010002
Phy Addr : 0x48180600 Data : 0x00000102
BW Phy Addr : 0x48180c10 Data : 0x00000007
AW Phy Addr : 0x48180c10 Data : 0x00000003
Phy Addr : 0x48180c14 Data : 0x00000004
BW Phy Addr : 0x58088000 Data : 0xceda7c39
AW Phy Addr : 0x58088000 Data : 0xeafffffe
BW Phy Addr : 0x58098000 Data : 0xa1fd5a19
AW Phy Addr : 0x58098000 Data : 0xeafffffe
BW Phy Addr : 0x48180c10 Data : 0x00000003
AW Phy Addr : 0x48180c10 Data : 0x00000000
Phy Addr : 0x48180c14 Data : 0x00000007
CortxA8: Output: PRCM for IVHD0 is Done Successfully
CortxA8: Output: User Can Connect to ICONT1 & ICONT2 of IVHD0
CortxA8: Output: Omx Initialization completed
root@dm814x-evm:/ti814x-evm# insmod TI81xx_HDMI.ko hdmi_mode=2
Unhandled fault: external abort on non-linefetch (0x1008) at 0xc8d3a008
Internal error: : 1008 [#1]
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in: TI81xx_hdmi(+) syslink ipv6
CPU: 0 Not tainted (2.6.37-rc3 #1)
PC is at ti81xx_hdmi_lib_config+0x160/0xbc4 [TI81xx_hdmi]
LR is at 0x0
pc : [<bf180804>] lr : [<00000000>] psr: 40000013
sp : c4bb9e90 ip : 0000001c fp : c4bb9edc
r10: 00000000 r9 : c4bb8000 r8 : bf182440
r7 : bf181ac7 r6 : bf182580 r5 : bf1825cc r4 : bf1825ec
r3 : 000fffff r2 : c8d3a000 r1 : bf182564 r0 : bf182694
Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 83e74019 DAC: 00000015
Process insmod (pid: 996, stack limit = 0xc4bb82e8)
Stack: (0xc4bb9e90 to 0xc4bba000)
9e80: c4bb8000 00000400 c4bb9ecc c4bb9ea8
9ea0: c0044e84 c0197928 46c00400 00000002 00000002 bf181ac7 bf182440 000fffff
9ec0: bf182564 bf182564 00000000 00000002 c4bb9ef4 c4bb9ee0 bf181328 bf1806b0
9ee0: bf182564 00000000 c4bb9f14 c4bb9ef8 bf181798 bf181300 fa106000 00000000
9f00: bf182288 bf181ac7 c4bb9f44 c4bb9f18 bf185210 bf181724 bf181ac7 c4bb9f28
9f20: c0075218 00000000 bf182440 00012008 00012020 bf185000 c4bb9f7c c4bb9f48
9f40: c00333d8 bf18500c bf182440 00012008 00012020 c003df48 00000000 bf182440
9f60: 00012008 00012020 c003df48 00000000 c4bb9fa4 c4bb9f80 c00846d4 c0033314
9f80: c00af540 c00af458 00000000 00008000 00012020 00000080 00000000 c4bb9fa8
9fa0: c003dda0 c0084644 00000000 00008000 00012020 000043bb 00012008 00000001
9fc0: 00000000 00008000 00012020 00000080 00012008 00000000 00000003 00000000
9fe0: bef20ed9 bef20c6c 00008f5c 401d77d4 60000010 00012020 00000000 00000000
Backtrace:
[<bf1806a4>] (ti81xx_hdmi_lib_config+0x0/0xbc4 [TI81xx_hdmi]) from [<bf181328>] (ti81xx_hdmi_set_mode+0x34/0x38 [TI81xx_hdmi])
r6:00000002 r5:00000000 r4:bf182564
[<bf1812f4>] (ti81xx_hdmi_set_mode+0x0/0x38 [TI81xx_hdmi]) from [<bf181798>] (ti81xx_hdmi_lib_init+0x80/0xbc [TI81xx_hdmi])
r5:00000000 r4:bf182564
[<bf181718>] (ti81xx_hdmi_lib_init+0x0/0xbc [TI81xx_hdmi]) from [<bf185210>] (ti81xx_hdmi_init+0x210/0x2c4 [TI81xx_hdmi])
r7:bf181ac7 r6:bf182288 r5:00000000 r4:fa106000
[<bf185000>] (ti81xx_hdmi_init+0x0/0x2c4 [TI81xx_hdmi]) from [<c00333d8>] (do_one_initcall+0xd0/0x1a4)
r8:bf185000 r7:00012020 r6:00012008 r5:bf182440 r4:00000000
[<c0033308>] (do_one_initcall+0x0/0x1a4) from [<c00846d4>] (sys_init_module+0x9c/0x1bc)
[<c0084638>] (sys_init_module+0x0/0x1bc) from [<c003dda0>] (ret_fast_syscall+0x0/0x30)
r7:00000080 r6:00012020 r5:00008000 r4:00000000
Code: e59f1a50 e59f3a54 e5912008 e50b3020 (e5923008)
---[ end trace 04dee5c34b794c90 ]---
Segmentation fault
root@dm814x-evm:/ti814x-evm# ./vc_a8host_debug.xv5T ./out
SDK VC Demo
===+=======
[t=0x00000003] [tid=0x4001b000] ipc_support_desc: Entering ipc_initialize: (void)
[t=0x000000c8] [tid=0x4001b000] ipc_support_desc: filePath = vc_m3video.xem3
[t=0x00000103] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_open()
[t=0x0000016c] [tid=0x4001b000] ipc_support_desc: Processor state is Unknown
[t=0x000001a4] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_attach()
[t=0x0000034e] [tid=0x4001b000] ipc_support_desc: Processor state is Powered
[t=0x00000392] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_load()
[t=0x000003c5] [tid=0x4001b000] ipc_support_desc: Loading Image vc_m3video.xem3
File name being loaded : vc_m3video.xem3
[t=0x00037397] [tid=0x4001b000] ipc_support_desc: Processor state is Loaded
[t=0x00037441] [tid=0x4001b000] ipc_support_desc: Doing Ipc_CONTROLCMD_LOADCALLBACK()
[t=0x0003e9e9] [tid=0x4001b000] ipc_support_desc: Processor state is Loaded
[t=0x0003ea5e] [tid=0x4001b000] ipc_support_desc: Processor state is Loaded
[t=0x0003eaa2] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_start()
[t=0x0003eb1d] [tid=0x4001b000] ipc_support_desc: Processor state is Running
Before start cb enter key to continue.................
[t=0x0032bacb] [tid=0x4001b000] ipc_support_desc: Doing Ipc_CONTROLCMD_STARTCALLBACK()
[t=0x0032c914] [tid=0x4001b000] ipc_support_desc: Processor state is Running
SCB completed Running
Enter key to continue.................
[t=0x004705f4] [tid=0x4001b000] ipc_support_desc: Entering ipc_initialize: (void)
[t=0x0047072c] [tid=0x4001b000] ipc_support_desc: Entering ipc_initialize: (void)
[t=0x00470779] [tid=0x4001b000] ipc_support_desc: filePath = vc_m3vpss.xem3
[t=0x004707af] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_open()
[t=0x00470811] [tid=0x4001b000] ipc_support_desc: Processor state is Unknown
[t=0x00470849] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_attach()
[t=0x0047092d] [tid=0x4001b000] ipc_support_desc: Processor state is Powered
[t=0x0047096d] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_load()
[t=0x0047099f] [tid=0x4001b000] ipc_support_desc: Loading Image vc_m3vpss.xem3
File name being loaded : vc_m3vpss.xem3
[t=0x0059952c] [tid=0x4001b000] ipc_support_desc: Processor state is Loaded
[t=0x005995e1] [tid=0x4001b000] ipc_support_desc: Doing Ipc_CONTROLCMD_LOADCALLBACK()
[t=0x00599707] [tid=0x4001b000] ipc_support_desc: Processor state is Loaded
[t=0x00599750] [tid=0x4001b000] ipc_support_desc: Processor state is Loaded
[t=0x00599790] [tid=0x4001b000] ipc_support_desc: Doing ProcMgr_start()
[t=0x005997e8] [tid=0x4001b000] ipc_support_desc: Processor state is Running
Before start cb enter key to continue.................
[t=0x006f0057] [tid=0x4001b000] ipc_support_desc: Doing Ipc_CONTROLCMD_STARTCALLBACK()