On OMAP4430 platform,
I try to enable H264 SVC functionality by setting numTemporalLayer to IH264_TEMPORAL_LAYERS_2.
(file modified: device/ti/proprietary/27.IS.2.M1/ducati/WTSD_DucatiMMSW/omx/omx_il_1_x/omx_h264_enc/src/OMX_H264VideoEncoderUtils.h)
After this modification, TI VTC H264 encode sample application always fails to run and Ducati codec dies with unknown reason.
How can I properly enable Ducati H264 SVC encode on OMAP4430?
Thank you.
Following is Ducati codec error message after applying the modification:
[  436.157867] omap_hwmod: iva_seq1: failed to hardreset
[  436.183319] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[  436.202484] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 1867.574707] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 1867.580902] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
[ 1867.602783] omap_hwmod: ipu: failed to hardreset
[ 1867.607879] omap-iommu omap-iommu.0: ducati: version 2.1
[ 1867.728088] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 1867.834625] rpmsg_omx rpmsg-omx1: local addr assigned: 0x402
[ 1867.842468] rpmsg_omx rpmsg6: conn rsp: status 0 addr 103
[ 1867.890136] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[ 1867.910797] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2041.160552] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2041.166900] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
[ 2041.188995] omap_hwmod: ipu: failed to hardreset
[ 2041.194122] omap-iommu omap-iommu.0: ducati: version 2.1
[ 2041.314239] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 2041.421264] rpmsg_omx rpmsg-omx1: local addr assigned: 0x402
[ 2041.429260] rpmsg_omx rpmsg6: conn rsp: status 0 addr 103
[ 2041.469024] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[ 2041.494506] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2049.592864] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2049.599090] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
[ 2049.621276] omap_hwmod: ipu: failed to hardreset
[ 2049.626403] omap-iommu omap-iommu.0: ducati: version 2.1
[ 2049.746154] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 2049.856964] rpmsg_omx rpmsg-omx1: local addr assigned: 0x402
[ 2049.865112] rpmsg_omx rpmsg6: conn rsp: status 0 addr 103
[ 2049.917083] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[ 2049.943725] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2055.798706] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2055.804870] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
[ 2055.827728] omap_hwmod: ipu: failed to hardreset
[ 2055.833526] omap-iommu omap-iommu.0: ducati: version 2.1
[ 2055.954223] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 2056.061004] rpmsg_omx rpmsg-omx1: local addr assigned: 0x402
[ 2056.074676] rpmsg_omx rpmsg6: conn rsp: status 0 addr 103
[ 2056.123809] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[ 2056.152069] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2058.725402] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2058.732849] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 2058.873687] rpmsg_omx rpmsg-omx1: local addr assigned: 0x402
[ 2058.881652] rpmsg_omx rpmsg6: conn rsp: status 0 addr 103
[ 2058.932312] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[ 2058.957916] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2060.451293] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2060.459564] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 2060.604736] rpmsg_omx rpmsg-omx1: local addr assigned: 0x402
[ 2060.612579] rpmsg_omx rpmsg6: conn rsp: status 0 addr 103
[ 2060.662811] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[ 2060.684509] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2062.300384] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2062.308227] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 2062.427062] rpmsg_omx rpmsg-omx1: local addr assigned: 0x402
[ 2062.434570] rpmsg_omx rpmsg6: conn rsp: status 0 addr 103
[ 2062.486816] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 103
[ 2062.510131] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2117.042175] Audio_Path_Switch: SPK
[ 2117.055755] aic31xx_hw_params: playback_stream= 0 capture_stream=1         priv_playback_stream= 1 priv_record_stream=0
[ 2117.100280] Left DAC powered up,counter = 1
[ 2117.107299] Right DAC powered up,counter= 1
[ 2117.147369] ##SPL Power up Iterations 6
[ 2117.157226] ##SPR Power up Iterations 1
[ 2117.161895] unmuting codec
[ 2120.219726] muting codec
[ 2125.247802] ##SPL Power down Iterations 1
[ 2125.258270] ##SPR Power down Iterations 1
[ 2125.265747] Left DAC powered down,                         counter = 1
[ 2125.273193] RDAC powered down, counter = 1
[ 2152.835235] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2152.841522] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
[ 2152.863494] omap_hwmod: ipu: failed to hardreset
[ 2152.868621] omap-iommu omap-iommu.0: ducati: version 2.1
[ 2152.986846] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
[ 2164.507995] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
[ 2164.532897] omap_hwmod: ipu: failed to hardreset
[ 2164.538574] omap-iommu omap-iommu.0: ducati: version 2.1
[ 2169.774536] omap-rproc omap-rproc.1: rproc_watchdog_isr
[ 2169.780578] omap_rproc_dump_registers: REGISTER DUMP FOR REMOTEPROC ipu
[ 2169.788146] omap_rproc_dump_registers: PC is at 00345b22
[ 2169.794189] omap_rproc_dump_registers: LR is at 00345b23
[ 2169.801177] omap_rproc_dump_registers: pc : [<00345b22>]    lr : [<00345b23>]    psr: 61000000
[ 2169.801177] sp : 85a0e898  ip : 85a0e858  fp : 802753d8
[ 2169.816589] omap_rproc_dump_registers: r10: 80256a51  r9 : 0000802f  r8 : 00000000
[ 2169.825500] omap_rproc_dump_registers: r7 : 000000cc  r6 : 00000001  r5 : 85a0e8c4  r4 : 002d8b3c
[ 2169.835174] omap_rproc_dump_registers: r3 : 00000000  r2 : 9f070000  r1 : 00000010  r0 : 00000000
[ 2169.844848] omap_rproc_dump_registers: Flags: nZCv  IRQs on  FIQs on
[ 2169.852020] _event_notify: remoteproc: ipu has crashed
[ 2169.857635] rpmsg_rproc_error: Fatal error in ipu
[ 2169.862823] rpmsg_rproc_error: Fatal error in ipu
[ 2169.867980] rpmsg_reset_work: reseting virtio device 0
[ 2169.873809] rpmsg_resmgr rpmsg0: Enter rprm_remove
[ 2169.880798] rpmsg_omx rpmsg-omx0: rpmsg omx driver is removed
[ 2169.888305] rpmsg_reset_work: reseting virtio device 1
[ 2169.893981] rpmsg_resmgr rpmsg2: Enter rprm_remove
[ 2169.900054] rpmsg_omx rpmsg-omx1: rpmsg omx driver is removed
[ 2169.907409] rproc_reset_poolmem: invalid pool
[ 2169.912322] omap-rproc omap-rproc.1: stopped remote processor ipu
[ 2169.919860] omap-rproc omap-rproc.1: powering up ipu
[ 2169.925476] virtio_rpmsg_bus virtio2: rpmsg backend virtproc probed successfully
[ 2169.936187] virtio_rpmsg_bus virtio3: rpmsg backend virtproc probed successfully
[ 2169.964782] omap-rproc omap-rproc.1: Loaded BIOS image ducati-m3.bin, size 5358968
[ 2169.973052] omap-rproc omap-rproc.1: BIOS image version is 2
[ 2170.001556] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
[ 2170.025726] omap_hwmod: ipu: failed to hardreset
[ 2170.031463] omap-iommu omap-iommu.0: ducati: version 2.1
[ 2170.043029] omap-rproc omap-rproc.1: remote processor ipu is now up
[ 2170.057891] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 2170.064605] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 2170.071380] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 2170.078094] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 2170.084838] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x32
[ 2170.093719] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x33
[ 2170.102539] virtio_rpmsg_bus virtio2: creating channel rpmsg-omx addr 0x3c
[ 2170.110778] rpmsg_omx rpmsg-omx0: new OMX connection srv channel: 1024 -> 60!
[ 2170.206207] virtio_rpmsg_bus virtio3: creating channel rpmsg-omx addr 0x3c
[ 2170.216247] rpmsg_omx rpmsg-omx1: new OMX connection srv channel: 1024 -> 60!
[ 2172.805847] binder: release 120:999 transaction 46359 in, still active
[ 2172.812896] binder: send failed reply for transaction 46359 to 2261:2261
[ 2172.984252] Audio_Path_Switch: SPK
[ 2173.007232] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2173.014892] rpmsg_omx rpmsg13: conn rsp: status 0 addr 101
[ 2173.677673] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2173.686523] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2173.694244] rpmsg_omx rpmsg13: conn rsp: status 0 addr 101
[ 2174.566711] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101
[ 2174.575744] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
[ 2174.583526] rpmsg_omx rpmsg13: conn rsp: status 0 addr 101
[ 2174.613616] rpmsg_omx rpmsg-omx1: Disconnecting from OMX service at 101