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
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 AgueroEmbedded Software EngineerRidgeRun
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 installI 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 AgueroEmbedded Software EngineerRidgeRun
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 installI 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