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.

Video conference demo using EZSDK 5.03 / Netra EVM DM816x

Hi

I am trying to run VC demo using EZSDK 5.03.01.15 + overlay patch. Everything compiles ok but for running the demo I noticed a lot of changes have been done comparing with previous SDKs (5.00.09 for example).  I have tried some combinations without luck and I would like to check  if someone has a working script and bootargs that can share with me, or if someone can spot an error in my sequential steps please let me know. 

Script ran it:

../../../usr/bin/prcm_config_app s

insmod ../../../lib/modules/2.6.37/kernel/drivers/dsp/syslink.ko

./slaveloader startup VPSS-M3 dm816x_hdvpss.xem3 -> I found “slaveloader” in a http://bangsdowebsvr01.india.ti.com:8060/LinuxPSP/DM816x_04_00/04_00_02_14/index_FDS.html  DM816x HDVPSS binary package (TI816x-HDVPSS-01.00.01.33). Alternatively I tried:    ../../../usr/bin/firmware_loader 2 ./dm816x_hdvpss.xem3 start mm_dm81xxbm_vc3.bin

 insmod vpss.ko -> I found drivers on DM816x HDVPSS binary package (TI816x-HDVPSS-01.00.01.33) and also in the FS at:  ../../../lib/modules/2.6.37/kernel/drivers/

insmod ti81xxfb.ko

insmod ti81xxhdmi.ko

../../../usr/bin/firmware_loader 1 ./vc3_m3video.xem3 start mm_dm81xxbm_vc3.bin -> Not sure about Process ID, I used “1”

../../../usr/bin/firmware_loader 2 ./vc3_m3vpss.xem3 start mm_dm81xxbm_vc3.bin -> Not sure about Process ID, I used “2”

./vc3_a8host_debug.xv5T 127.0.0.1 10000 30 h264 

Additionally, I removed load-hd-firmware.sh  from rc3

root@dm816x-evm:/etc/rc3.d# update-rc.d -f load-hd-firmware.sh remove

 Finally I tried in bootargs notifyk.vpssm3_sva=0xA0000000 and notifyk.vpssm3_sva=0xBF900000 without any luck so far..

Thanks a lot any help would be appreciated

Paula

 

 

  • Below solution...

    Wiki information: http://ap-fpdsp-swapps.dal.design.ti.com/index.php/EZSDK_Overlay_Installer_Build_Instructions  Attached quick VC start guide: 3107.TI816x_VC_Quick_Start_Guide.doc

    My bootargs:

    setenv bootargs 'console=ttyO2,115200n8 root=/dev/nfs nfsroot=192.168.0.143:/home/pcarrillo/workdir/Netra_EZSDK_5_3_1,nolock rw mem=128M ip=dhcp ti816xfb.vram=0:16M notifyk.vpssm3_sva=0xBF900000'

    Used script on board console:

    ../../../usr/bin/prcm_config_app s

    insmod ../../../lib/modules/2.6.37/kernel/drivers/dsp/syslink.ko

    ../../../usr/bin/firmware_loader 1 ./vc3_m3video.xem3 start mm_dm81xxbm_vc3.bin

    ../../../usr/bin/firmware_loader 2 ./vc3_m3vpss.xem3 start mm_dm81xxbm_vc3.bin

    insmod vpss.ko sbufaddr=0xbfb00000 i2c_mode=1

    insmod ti81xxhdmi.ko

    insmod ti81xxfb.ko

    ./vc3_a8host_debug.xv5T 127.0.0.1 10000 60 h264

  • Hello all:
            I encounter the same problem about how to update the M3 firmware which in  EZSDK packages to the version TI81xx-HDVPSS-01.00.01.37 which in PSP packages(TI81XX-LINUX-PSP-04.04.00.01) on Dm8148EVM.
           According to the TI81XX VPSS Video Driver User Guide document ,I found that if I use the latest M3 firmware (TI81xx-HDVPSS-01.00.01.37 ),I must abide the key rules as belows :
    1、use "notifyk.vpssm3_sva=0xA0000000" not "0xBF9000000(EZSDK offerd)"
    2、use "./slaveloader startup VPSS-M3 ti814x_hdvpss_1G.xem3" not " firmware_loader  dm814x_hdvpss.xem3 start(EZSDK methord)"
    3、use “ insmod vpss.ko sbufaddr=0xA0200000” not "insmod vpss.ko sbufaddr=0xBFB00000(EZSDK methord)"
    execept that ,I also
    1、 update the syslink and ipc and xdc to the version which fit TI81xx-HDVPSS-01.00.01.37 and TI81XX-LINUX-PSP-04.04.00.01.
    2、Change the Rules.mak which in the ezsdk,and compile syslink and omx and gstomx.
        But,When  I use gstomx (gstreamer)、omx(which in the EZSDK packages) to Play Mpeg2 video. If I do as above and use TI81xx-HDVPSS-01.00.01.37 will result the followings errors:
     Assertion at Line no: 445 in /home/anuo/Sdb1/Dm81xx/ezsdk5_0301_15/Myfiles/sysli
    nk_2_10_03_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/sysl
    ink/ipc/hlos/knl/Linux/SharedRegionDrv.c: (heapHandle != NULL) : failed
    Assertion at Line no: 1354 in /home/anuo/Sdb1/Dm81xx/ezsdk5_0301_15/Myfiles/sysl
    ink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/HeapMemMP.c: (hpHandle != NULL)
    : failed
    According to http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map document,I found only the following file may be need to change:
    omx_05_02_00_30_1/src/ti/omx/build/MemSegmentDefinition.xs:
    In this file ,I change the followings section:
    memory[11] = ["HDVPSS_NOTIFY_MEM",
      {
              name: "HDVPSS_NOTIFY_MEM",
              base: 0xBF900000,--------change to 0xA0000000
              len: 0x00200000,
              space: "data"
      }];
     
      memory[12] = ["HDVPSS_V4L2_FBDEF_MEM",
      {
              name: "HDVPSS_V4L2_FBDEF_MEM",
              base: 0xBFB00000,----------change to 0xA0200000
              len: 0x00200000,
              space: "data"
      }];
    If I do this ,errors still exist.Any other things I lost?
     
    So:
    1、Anyone ever test omx or gstomx(which in EZSDK ) when use the newer M3 firmware which from PSP packages( use "notifyk.vpssm3_sva=0xA0000000" methord)? If not,
           then how to use the omx/gstomx with firmware (HDVPSS-01.00.01.37 )  from PSP(PSP-04.04.00.01) ?
    2、Which files in  EZSDK  need to change if I use the M3 firmware (HDVPSS-01.00.01.37 )  from PSP(PSP-04.04.00.01),or  I must change  M3 firmware map(I only have the bin file ,not NDA custormer)? or waitting for the next ezsdk release?