Dear All,
I'm using EZSDK 5.05.01.04 on a custom DM8148 board, with 512MB of DDR2.
We have no problem with previous SDK, but with thisone, when loading HDVICP2 firmware by passing to firmwareloader the"mm_dm81xxbm_512M.bin" configuration I get a syslink error, as in the following dump (please note that some debugging stuff has been enabled inside firmware loader to dump memory regions)
root@dm814x-evm:~# /etc/init.d/load-hd-firmware.sh start
DM814X prcm_config_app version: 2.0.0.1
Doing PRCM settings...
PRCM for IVHD0 is in Progress, Please wait.....
BW Phy Addr : 0x48180600 Data : 0x00000001
AW Phy Addr : 0x48180600 Data : 0x00000002
Phy Addr : 0x48180c04 Data : 0x00000037
BW Phy Addr : 0x48180620 Data : 0x00070000
AW Phy Addr : 0x48180620 Data : 0x00050002
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 : 0x7a4ecf00
AW Phy Addr : 0x58088000 Data : 0xeafffffe
BW Phy Addr : 0x58098000 Data : 0x5c51bcd4
AW Phy Addr : 0x58098000 Data : 0xeafffffe
BW Phy Addr : 0x48180c10 Data : 0x00000003
AW Phy Addr : 0x48180c10 Data : 0x00000000
Phy Addr : 0x48180c14 Data : 0x00000007
PRCM for IVHD0 is Done Successfully
PRCM Initialization completed
Loading syslink module
[ 107.190000] SysLink version : 2.20.00.14
[ 107.190000] SysLink module created on Date:Nov 9 2012 Time:16:32:42
Loading HDVICP2 Firmware
FIRMWARE: memory map bin file: /usr/share/ti/ti-media-controller-utils/mm_dm81xxbm_512M.bin
FIRMWARE: isI2cInitRequiredOnM3: 0
Current FL_DEBUG = log
Allowed FL_DEBUG levels: error, warning, info, debug, log
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1
Total Memory segments: 4
Memory Segment : 0
===================
name : IPC_SR_VIDEO_M3_VPSS_M3
size : 1048576
seg_type : 3
flags : 0x0
system_addr : 0x9a100000
slave_virtual_addr : 0x9a100000
master_core_id : 1
core_id_mask : 0xe
cache_enable_mask : 0x6
cache_operation_mask : 0x0
shared_region_id : 1
Memory Segment : 1
===================
name : VPSS_M3_INT_HEAP_CACHED
size : 28311552
seg_type : 2
flags : 0x0
system_addr : 0x9a200000
slave_virtual_addr : 0x9a200000
master_core_id : 255
core_id_mask : 0x4
cache_enable_mask : 0x0
cache_operation_mask : 0x0
shared_region_id : 255
Memory Segment : 2
===================
name : VIDEO_M3_INT_HEAP_CACHED
size : 25165824
seg_type : 2
flags : 0x0
system_addr : 0x9bd00000
slave_virtual_addr : 0x9bd00000
master_core_id : 255
core_id_mask : 0x2
cache_enable_mask : 0x1
cache_operation_mask : 0x0
shared_region_id : 255
Memory Segment : 3
===================
name : IPC_SR_FRAME_BUFFERS
size : 197132288
seg_type : 3
flags : 0x0
system_addr : 0xab000000
slave_virtual_addr : 0xab000000
master_core_id : 1
core_id_mask : 0xe
cache_enable_mask : 0x6
cache_operation_mask : 0x6
shared_region_id : 2
Entered start_firmware
ProcMgr_attach: Success
ProcMgr_load: Success
Ipc_control: Success
Entering memstp_[ 108.240000] Assertion at Line no: 452 in /sdk-5.05.01.04/component-sources/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Linux/SharedRegionDrv.c: (status >= 0) : failed
createSr(0x40b9f010, 0xbe8d3a38)
Entered memstp_mapPhyAddr2UsrVirtual(0x9a100000, 1048576)
ProcMgr_map Success VirtAddr: 0x40f45000
ProcMgr_translateAddr Status [0x0] User Virtual Address [0x40f45000]
Leaving memstp_createSr, retVal: 0
Entering memstp_createSr(0x40b9f0d0, 0xbe8d3a38)
Entered memstp_mapPhyAddr2UsrVirtual(0xab000000, 197132288)
ProcMgr_map Success VirtAddr: 0x410ae000
ProcMgr_translateAddr Status [0x0] User Virtual Address [0x410ae000]
Leaving memstp_createSr, retVal: 0
FIRMWARE: Memory Configuration status : In Progress
FIRMWARE: 1 start Successful
Loading HDVPSS Firmware
FIRMWARE: memory map bin file: /usr/share/ti/ti-media-controller-utils/mm_dm81xxbm_512M.bin
FIRMWARE: isI2cInitRequiredOnM3: 0
Current FL_DEBUG = log
Allowed FL_DEBUG levels: error, warning, info, debug, log
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1
Total Memory segments: 4
Memory Segment : 0
===================
name : IPC_SR_VIDEO_M3_VPSS_M3
size : 1048576
seg_type : 3
flags : 0x0
system_addr : 0x9a100000
slave_virtual_addr : 0x9a100000
master_core_id : 1
core_id_mask : 0xe
cache_enable_mask : 0x6
cache_operation_mask : 0x0
shared_region_id : 1
Memory Segment : 1
===================
name : VPSS_M3_INT_HEAP_CACHED
size : 28311552
seg_type : 2
flags : 0x0
system_addr : 0x9a200000
slave_virtual_addr : 0x9a200000
master_core_id : 255
core_id_mask : 0x4
cache_enable_mask : 0x0
cache_operation_mask : 0x0
shared_region_id : 255
Memory Segment : 2
===================
name : VIDEO_M3_INT_HEAP_CACHED
size : 25165824
seg_type : 2
flags : 0x0
system_addr : 0x9bd00000
slave_virtual_addr : 0x9bd00000
master_core_id : 255
core_id_mask : 0x2
cache_enable_mask : 0x1
cache_operation_mask : 0x0
shared_region_id : 255
Memory Segment : 3
===================
name : IPC_SR_FRAME_BUFFERS
size : 197132288
seg_type : 3
flags : 0x0
system_addr : 0xab000000
slave_virtual_addr : 0xab000000
master_core_id : 1
core_id_mask : 0xe
cache_enable_mask : 0x6
cache_operation_mask : 0x6
shared_region_id : 2
Entered start_firmware
ProcMgr_attach: Success
ProcMgr_load: Success
Ipc_control: Success
Entering memstp_createSr(0x4cc07010, 0xbebe0a38)
Entered memstp_mapPhyAddr2UsrVirtual(0x9a100000, 1048576)
ProcMgr_map Success VirtAddr: 0x40538000
ProcMgr_translateAddr Status [0x0] User Virtual Address [0x40538000]
Leaving memstp_createSr, retVal: 0
Entering memstp_createSr(0x4cc070d0, 0xbebe0a38)
Entered memstp_mapPhyAddr2UsrVirtual(0xab000000, 197132288)
ProcMgr_map Success VirtAddr: 0x40710000
ProcMgr_translateAddr Status [0x0] User Virtual Address [0x40710000]
Leaving memstp_createSr, retVal: 0
FIRMWARE: Memory Configuration status : In Progress
FIRMWARE: 2 start Successful
Even if the above error is present it seems that all stuff work correctly (e.g. runDecodeDisplayHDMI works).
Does anybody encountered a similar issue?
Will it be a problem? If so how can it be solved? Any clue?
Best Regards and Thanks in Advance,
Andrea