This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VPSS-M3核挂掉是什么原因



硬件: 8168

软件 :DVRRDK_3.0

在我的应用里面,我有4路SDI摄像机输入,有三路网络摄像机输入,配置参数(分辨率都为1080P30)以后,系统运行到 SWMS: Create in progress时候出现问题

[m3vpss ]  15198: SWMS: Create in progress !!!
 [m3vpss ] Memory allocation failed due to insufficient free memory, requested - 4147200
 [m3vpss ]  15277: SYSTEM  : FREE SPACE : System Heap      = 5760 B, Mbx = 10239 msgs)


4111:!!!SLAVE CORE [VPSS-M3] DOWN!!!
SystemLink_copySlaveCoreExceptionContext:146
mmap of [0xbe9e0000:36864]
mmap virt addresss:0x40024000
munmap of [0x40024000:36864]
SystemLink_copySlaveCoreExceptionContext:153
 [m3vpss ]  15277: SYSTEM  : FREE SPACE : SR0 Heap         = 10519808 B (10 MB)
 [m3vpss ]  15277: SYSTEM  : FREE SPACE : Frame Buffer     = 2944 B (0 MB)
 [m3vpss ]  15277: SYSTEM  : FREE SPACE : Bitstream Buffer = 2649984 B (2 MB)
 [m3vpss ]  15277: SYSTEM  : FREE SPACE : Tiler 8-bit      = 134217728 B (128 MB)  - TILER ON
 [m3vpss ]  15277: SYSTEM  : FREE SPACE : Tiler 16-bit     = 134217728 B (128 MB)  - TILER ON
 [m3vpss ]  15278: Assertion @ Line: 1281 in links_m3vpss/swMs/swMsLink_drv.c: status == FVID2_SOK : failed !!!

这个是我的Memory Map,

Memory Map - 2GB DDR, > 1GB Linux in 2 segments
  0x80000000     +-------------------+
         ^       |                   |
         |       |  128 MB           | Linux
         |       |                   |
         |       +-------------------+
         |       |  327.5MB          | (SR1) Bitstream buffer
         |       |                   | Cached on A8. Cached on M3, although access by DMAs
         |       +-------------------+
         |       |   124 KB          | (SR3)InterDucati IPC ListMP .Cached on M3
         |       +-------------------+  
         +       |   2.5 MB          | Video M3 Code
       512 MB    +-------------------+
         +       |   12 MB           | Video M3 Data
         |       +-------------------+
         |       |   1.5 MB          | VPSS  M3 Code
         |       +-------------------+
         |       |   17 MB           | VPSS  M3 Data
         |       +-------------------+
         |       |   3972 KB          | DSP Code
         |       +-------------------+
         v       |   19.5 MB         | DSP Data
  0xA0000000     +-------------------+
         ^       |   256 MB          | Tiled 8-bit + 16-bit region
         |       +-------------------+
         |       |  233.75 MB        | (SR2) Frame Buffer Region - <VPSS - Video M3 Frame Buf>
         |       +-------------------+  
         +       |                   |
       512 MB    |  15 MB            | (SR0) Syslink MsgQ/IPC List MP - <Non-cached on M3>
         +       +-------------------+
         |       |  128 KB           | Video M3 exception context
         |       +-------------------+  
         |       |  128KB            | Vpss M3 exception context
         |       +-------------------+  
         |       |  2 MB             | VPSS M3 - VPDMA Descriptor
         |       +-------------------+
         |       |  2 MB             | VPSS M3 - FBDev Shared Memory
         |       +-------------------+
         |       |  2 MB             | Host - VPSS M3 Notify(For FBDev)
         |       +-------------------+
         v       |  1 MB             | Remote Debug Print
   0xC0000000    +-------------------+
         ^       |                   |
         |       |                   |
         |       |  1024 MB          | Memory for Linux Kernel
         |       |                   | Available only in split of linux kernel
         |       |                   |
         v       |                   |
   0xFFFFFFFF    +-------------------+