[SOLVED] Where is loadmodules.sh?

[SOLVED] Where is loadmodules.sh?

This question is answered

Hi everyone,

A somehow dumb question :)

I can't seem to find the location of loadmodules.sh in RR_SDK 2011Q2

I need to change the settings of CMEMK.

There are a lot of loadmodules.sh files inside the $DEVDIR, but which one is used at boot time.

Thanks for the answer in advance.

MoZa

Verified Answer
  • Hi,

    loadmodules.sh can be located at DVSDK but at 2011Q2, coprocessors.init will initialize CMEM and others in order to change the settings of CMEMK go to the configuration menu:

    make config

    And at Proprietary software you will find the amount of reserved memory for cmemk, and others.

    Carlos Aguero
    Embedded Software Engineer
    RidgeRun

All Replies
  • Hi,

    loadmodules.sh can be located at DVSDK but at 2011Q2, coprocessors.init will initialize CMEM and others in order to change the settings of CMEMK go to the configuration menu:

    make config

    And at Proprietary software you will find the amount of reserved memory for cmemk, and others.

    Carlos Aguero
    Embedded Software Engineer
    RidgeRun

  • Hi,

    I quote Carlos from another thread,

    It helped me a lot to solve the problem with CMEM errors. 

    I add it here for other people who might have the same problem as me.

    Thanks for the support Carlos

     

    Carlos Aguero

    Hi,

    At 2011Q2 configuration I changed two sections in order to run a video recorded with the pipe that you used to create file01.mov

    At make config menu:

    Architecture configurations -> Maximum Video Input Buffer Size (720P) #Select 720P

    Then at Proprietary software

    (0x3B00000) Amount of reserved memory from the kernel #Originally at: 0x1D00000 set to 0x3B00000

    (0x3200000) Amount of reserved memory for cmemk #Originally at: 0xF00000 set to 0x3200000

    Make and install

    I used this pipe to reproduce the video:

    gst-launch filesrc location=test.mov ! qtdemux name=demux ! queue ! dmaidec_h264 numOutputBufs=50 ! video/x-raw-yuv,format=\(fourcc\)NV12,width=720,height=480 ! queue ! dmaiperf ! TIDmaiVideoSink videoStd=D1_NTSC sync=false enable-last-buffer=false accelFrameCopy=true

    Hope this helps

    Carlos Aguero
    Embedded Software Engineer
    RidgeRun