Your loadmodules.sh shows you giving 12MB to CMEM (although the insmod line
appears to be commented out). This amount will satisfy your specified needs of
My memory req are like
pool fitting a size 4147200
pool fitting a size 8294400
although enough for only one of each. However, you are partitioning the 12MB
with too many pools/buffers to allow your allocations to succeed. Try
specifying:
pools=1x8294400,1x4147200
If you need more than just those two buffers, you will need to give less memory
to Linux and more to CMEM. Linux kernel memory is specified on the boot
command. With your given loadmodules.sh, you would need to be specifying
mem=116M at a maximum, and to give more to CMEM you would need to specify less
than 116M.
- Rob
________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of ashish pareek [EMAIL
PROTECTED]
Sent: Monday, November 03, 2008 4:56 AM
To: Vladimir Pantelic
Cc: davinci
Subject: Re: Re: CMEM Error
Hi,
Since i am new to linux can u let me know how i can exchange memory with linux .
My loadmodules.sh script looks like
#!/bin/sh
# 12MB
# insmod cmemk.ko phys_start=0x87400000 phys_end=0x88000000
pools=1x2097152,2x1529856,7x829440,1x524288,1x108680,1x81920,2x8192,6x4096
./mapdmaq
insmod dm350mmap.ko
rm -f /dev/dm350mmap
mknod /dev/dm350mmap c `awk "\\$2==\"dm350mmap\" {print \\$1}" /proc/devices` 0
My memory req are like
pool fitting a size 4147200
pool fitting a size 8294400
Regard's
Ashish
On Mon, 03 Nov 2008 Vladimir Pantelic wrote : >ashish pareek wrote: >> Hi, >>I
tried to configure my memory requirements in loadmodules.sh script that
allocated memory pools , but i got error >>CMEMK Error :failed to get big
enough free block . > >increase the size of memory that you give to cmem and
reduce the size given to linux (mem=xxx). > >>Is it because my mem req are so
high ? How cud i find maxm memory supported ? > >I don't know your memory
requirements, but you exchange cmem for linux mem easily. > > >> >>Ashish >> >>
>>On Mon, 03 Nov 2008 Vladimir Pantelic wrote : >> >ashish pareek wrote: >> >>
>>Hi , >> >>Is it possible to have an jpg image of high resolution (i.e. 1920 x
1080) from jpeg engine using DM355 . Are their any kind of hardware limitation
in doing that ? >> >>My idea is to get an high resolution RAW and YUV (i.e.
1920 x 1080) image and than convert YUV image to jpg using JPEG engine . >> >>
>> >>When i tried to have an image 1920 x 1080 resolution i found following
error >> >>CMEM Error : getPool : failed to get a pool fitting a size 4147200
>> >>CMEM Error : getPool : failed to get a pool fitting a size 8294400 >> > >>
>CMEM was not able to find a large enough buffer, check how it is configured
(when the modules is loaded) and increase the pool size. >> > >> > >> > >>
>_______________________________________________ >> >Davinci-linux-open-source
mailing list >> >[email protected] >>
>http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source >> >>
>> >>Rediff Shopping >> > > >_______________________________________________
>Davinci-linux-open-source mailing list
>[email protected]
>http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source