To summarize the situation, we used a platform based on DM6446 EVM with TVP5146, we have integrated MPEG and H264 encode and resizer.
I finally configured the OSD/VENC to output it to a monitor from an image sensor.
While running the video encoding, few minutes later, the video is frozen and sometimes the system would hang afterwards.
This happens in a random way but always happens after 3 minutes, or 20 minutes or more than after the encoding start...
I suspected something wrong in terms of memories specially either with Davinci or ARM.
I have checked the CPU, swap. Every thing seems to be fine !
Note this issue happens for both TMX320DM6446ZWT (Revision 1.1) and TMX320DM6446AZWT (Revision 1.2) and noticed that this problem occurs more often when recording video through the GSTREAMER (ffmpeg) which is I know not a TI product.
I have carefully read the Silicon errata document (SPRZ241N) .
It seems that I am not concerned with the advisory 2.2.27: VPFE: Preview Engine Hangs When the Video Port is Enabled.
However, I have some doubt with the advisory 1.3.24: ARM: Concurrent Access to ARM Internal Memory May Fail.
How can I check if my problem is related to this advisory.
Which on-line commands or script shall I run to get such information as I am not very familiar with ARM internal memory.
Not sure if the frozen or hang video problem is related to my video freezing problems…
Any help or suggestions would be grateful appreciated !
NOTA BENE:
I am using the Linux 2.6.32 with dvdsk 2.00.00.22 and DM6446 DSP.
I use the frame buffer to display both OSD and video...
davincifb davincifb: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 2025KB
davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1224KB
davincifb davincifb: dm_osd1_fb: 720x576x4@0,0 with framebuffer size 2025KB
davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1224KB
For your information, the interested UBoot parameters is as follows:
videostd=pal
bootargs=console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootdelay=4 rw consoleblank=0 mem=108M video=davincifb:osd0=720x576,2025K@0,0:osd1=720x576,2025K davinci_enc_mngr.ch0_mode=pal davinci_enc_mngr.ch0_output=COMPOSITE