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.

where is loadmodules.sh?

Other Parts Discussed in Thread: TVP5146, TVP7002

Hi,

I have been using LeopardDM368 running with TIDVSDK.

 somehow dumb question

I can't  find the location of loadmodules.sh in TIDVSDK.

I need to change the settings of CMEMK.

There are a lot of loadmodules.sh files inside the ti-dvsdk_dm368-evm_4_02_00_06, but which one is used at boot time.  Any help?

Regards,

Dasari.

  • Hi Dasari,

    Please checkout the filesystem location.

    <TI DVSDK filesystem location>/etc/init.d/loadmodules.sh

    <TI DVSDK filesystem location>/etc/rc5.d/Sxyloadmodules

  • Hi Tirtus,

    Thanks for your information.

     <TI DVSDK filesystem location>/etc/rc5.d/Sxyloadmodules    I dont have this path. 

    Can you suggest me to get above mentioned files. I followed  this link to install TIDVSDK.

    http://stevegigijoe.blogspot.in/2011/06/leopardboard-dm368-running-with-ti-dvsdk.html
     

    <TI DVSDK filesystem location>/etc/init.d/loadmodules.sh   In this path inplace of loadmodules.sh I have file with name loadmodule-rc.  Are these files same?


    Regards

    Dasari

     

  • Hi Dasari,

    I'm not able to download the DVSDK.

       In this path inplace of loadmodules.sh I have file with name loadmodule-rc.  Are these files same?

    No problem, Remove all the loadmodules-rc and loadmodules.sh files from filesystem (take a backup and delete).

  • Hi,

    Thanks for information. If I remove all loadmodules.sh files, How can I get new files?

    What is the command to get new loadmodules.sh files?

    It might be silly question. I am very new to use DVSDK. 

    Thanks a lot for your help.

    Regards,

    Dasari

  • Hi Dasari,

    I can't  find the location of loadmodules.sh in TIDVSDK.

    I need to change the settings of CMEMK.

    The "loadmodules" is used to load the modules automatically while booting.

    Please find out the location where the CMEMK configuration happening.

    If I remove all loadmodules.sh files, How can I get new files?

    Sorry, I thought that you don't want to run "loadmodules" script.

    So, you can edit the script as per your CMEM config if available.

  • Hi Tirtus,

    Can you please tell me Bydefault path for CMEM config file?

    Regards,

    Dasari

  • Hi Dasari,

    Can you please tell me Bydefault path for

    Please change "phys_start and phys_end" in "loadmodules-rc" as per your requirement.

    Log:

    titus@Titus:~/backUP_server/titus/ti-e2e/dvsdk_omapl138-evm_04_03_00_06/filesystem/etc/init.d$ ls
    alignment.sh  dbus-1     halt           matrix-gui-e  networking            rcS          single          thttpd        urandom
    alsa-state    devpts.sh  hostapd        modutils.sh   populate-volatile.sh  reboot       sysfs.sh        udev
    banner        dropbear   hostname.sh    mountall.sh   psplash               rmnologin    syslog          udev-cache
    bootmisc.sh   finish.sh  hwclock.sh     mountnfs.sh   ramdisk               save-rtc.sh  syslog.busybox  umountfs
    checkroot     functions  loadmodule-rc  netperf       rc                    sendsigs     telnetd         umountnfs.sh
    titus@Titus:~/backUP_server/titus/ti-e2e/dvsdk_omapl138-evm_04_03_00_06/filesystem/etc/init.d$
    titus@Titus:~/backUP_server/titus/ti-e2e/dvsdk_omapl138-evm_04_03_00_06/filesystem/etc/init.d$

    Use the same the filesystem for booting purpose to get affect.

    http://processors.wiki.ti.com/index.php/Changing_the_DVEVM_memory_map#Calculating_CMEM_size_and_partitions

    http://processors.wiki.ti.com/index.php/CMEM_Overview#Test_Setup_and_Validation_Process

  • Hi Tirtus,

    I will check by changing phys_start and phys_end in loadmodule-rc according to our requirement.


    I will update status.

    Thanks for your help.

    Regards,

    Dasari

  • Hi Tirtus,

    I have been using custom made LeopardDM368 with DVSDK 4_02_00_06. 

    version: linux-2.6.32.17-psp03.01.01.39.

    Available RAM =128M

    Drivers tvp7002 and tvp5146

    Booting through SD

    I have alloted memory as follows

    BUFFER=24M

    LINUX=72M

    CMEM=32MB

    boot arguments as follows

    mmc rescan 0
    setenv bootargs 'console=ttyS0,115200n8  root=/dev/mmcblk0p2 rw ip=off mem=72M  davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC  vpfe_capture.cont_bufoffset=6291456 vpfe_capture.cont_bufsize=6291456 video=davincifb:vid0=off:vid1=off:osd1=off dm365_imp.oper_mode=0 davinci_capture.device_type=1 rootwait'
    fatload mmc 0 80700000 uImage
    bootm 80700000

    I used to run pipeline as follows

    gst-launch -v v4l2src always-copy=FALSE input-src=Composite ! "video/x-raw-yuv, format=(fourcc)NV12, width=736,

    height=480"   !  TIVidenc1 engineName=codecServer codecName=h264enc ! dmaiperf   print-arm-load=true ! rtph264pay

    pt=96 ! udpsink host=162.168.1.33 port=3000

    Its not running. It seems Stopping at encoder. Its not printing timestamp.

    I am guessing memory allocation problem. is it correct?

    can you please suggest me proper memory allocation of  memory ?

    Regards,

    Dasari.