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.

MCSDK VIDEO 2.1 PCIE Demo; Unable to run demo, log is attached.

Subject:

Unable to run demo. Log is attached.

Background:

Trying to run "MCSDK VIDEO 2.1 PCIE Demo Guide" for "pcie_h264hpenc_demo"

Followed instructions till:

{

Run Video Demos

For running a video demo, first reset DSP, then download sv04, and finally execute the demo:

Run a demo with output saved to file (applicable to all the demos)
cd demos/pcie_xxx_demo/scripts
./reset_dsp.sh <cpu_frequency>
./dnld_dsp.sh <num_dsps>
./demoSave2File.sh

}

Query:

What is going wrong after DMA complete (see in the attached log)? Why Core dump (see in the attached log)?


67204.log.txt

  • Hi,
    Please provide your setup details.
    1. Are you running the demo on DSPC 8681E?
    2. What is the host machine configuration?
  • Hello Raja,

    set up details are as follows:

    EVM: Advantech DSPC 8681E
    OS: Ubuntu 12.04, kernel 3.8.0-29
    desktop-linux-sdk_01_00_03_00
    mcsdk_video_2_1_0_8

    Please note: BIOS MCSDK is not installed. Is it required? Any other Desktop Linux SDK PACKAGES also required to be installed?

    Thanks and regards,

  • Please note: I'm working on DSPC8681E & other TI tools for the first time. Extensive work is awaiting. Help me identify if I've missed any step anywhere?
  • I tried afresh the steps from:
    processors.wiki.ti.com/.../Desktop-linux-sdk_01.00.00_Getting_Started_Guide

    But I skipped:
    Using larger and pre-reserved contiguous memory allocation: Optional

    because when ran "./install_grub.sh 520 8" I got:
    {
    Maximum physical memory 2147483648
    Reserved consistent memory 8 MB
    Reservation requested 520 MB. Max memory after reservation: 1528 MB
    ERROR: Cannot use GRUB reservation scheme with < 4 GB memory. Add more memory or reduced reserved size
    }

    Now, the query is:
    {
    ./run_dmatest.sh 4 0x400000
    }

    is giving:
    {
    dspBits = FFFFFFFF
    dspBits = FFFFFFFF
    Driver opened!
    cmem_drv: ERROR: DMA MEM Buffer allocation failed
    ERROR: contiguous memory allocation failed
    }

    So, is it the cause for failure of "./demoSave2File.sh" (& followed by core dump, see the attached log.txt) in original post above? How to resolve? 4GB RAM is compulsory for using desktop-linux-sdk_01_00_03_00 and for running demo?

    Thanks & regards,
  • Hi Shashwat, If I remember correctly it is required to have more than 4GB in order to correctly have running Ubuntu and being able to reserve some memory for running the video demos.
    Thank you,Paula