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.

[DM365] plz help me on running demos

hello, everybody

I'm an undergraduate student in S.Korea

I'm working on my prof's DM365 DVEVM

and I built all of the softwares to develop.

and I'm testing the input and output with demos.

but it doesn't work on my system.

I loaded root fs using nfs from my host.

and the parameter on u-boot is this
---------------------------------------------------
setenv bootargs 'mem=76M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=$(nfshost):$(rootpath),nolock ip='192.168.1.240' video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,2025K dm365_imp.oper_mode=0'
---------------------------------------------------

and...I tried to run the demo with like this-

./loadmodules_hd.sh
CMEMK module: built on Mar 24 2010 at 23:13:06
  Reference Linux version 2.6.18
  File /opt/mv_pro_5.0/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuc
ioremap_nocache(0x85000000, 50331648)=0xd6000000
allocated heap buffer 0xd6000000 of size 0x134000
cmem initialized 20 pools between 0x85000000 and 0x88000000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x8000000 -> 0x84c00000)
ioremap_nocache(0x1000, 28672)=0xc5070000
no remaining memory for heap, no heap created for memory block 1
cmem initialized 1 pools between 0x1000 and 0x8000
IRQK module: built on Mar 24 2010 at 23:13:11
  Reference Linux version 2.6.18
  File /opt/mv_pro_5.0/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuc
irqk initialized
EDMAK module: built on Mar 24 2010 at 23:13:10
  Reference Linux version 2.6.18
  File /opt/mv_pro_5.0/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuc

./interface
Demo interface started at level 0.
Interface Error: Failed to create display device instance

and

./decode -v [davincieffect.mpeg4 or 264]
Decode demo started.
Error: Failed to create attribute window device
Error: Failed to create UI

I'm using camera and TV Card through composite.

the screen of TV is became to black when I try [interface]

and the screen of TV is became to white when I try [decode]

What is the reason of this problem?

What am I supposed to do to solve this problem ?

  • Hello,

    I'm assuming you are using DVSDK 2.10.01.18. If you are not, you should upgrade. The download is available from:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_2_10/latest/index_FDS.html

    Looking at the getting started guide, these are the bootargs suggested:

    console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=<nfs host IPAddr>:<nfs root path>,nolock mem=80M video=davincifb:vid0= OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4

    I suggest:

    1) Your bootargs are close but not identical, please align them with the GSG.

    2) Make sure you are running the latest DVSDK version as per above.

    3) Make sure you are booting the right kernel. The board typically has a linux kernel in flash, you should make sure you are booting the right kernel by using TFTP (and then possibly flash it if you like). See the GSG on how to set up a TFTP server.

    Regards, Niclas

  • My company just bought a DM365 EVM last week and I'm running into exactly the same problem that Young-ju ran into. The DVSDK I am using is 2.10.01.18. The bootargs I used was bootargs=mem=60M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=10.1.4.16:/home/user/workdir/filesys_mv,nolock ip=dhcp video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,2025K dm365_imp.oper_mode=0. After running ./loadmodules_hd.sh, ./interface gave me the same error message as Young-ju got, and a TI login screen was displayed on the TV connected to the EVM. I also tried ./decode -v data/videos/davincieffect.264 and also got the same error message as Young-ju got and nothing was displayed on the TV.

    Can you advise me on what to do to get the "out-of-the-box" demo running? Thanx much.

    -- Pearl Wang

    pwang@ipvideosys.com

  • Pearl, that thread is over a year old. DVSDK 4_02_00_06 is out for DM365 now, try that.

  • Thanks Jon! I installed DVSDK 3_10_00_19 and the demo is running fine.

    -- Pearl Wang

    pwang@ipvideosys.com