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.

pools insmod loadmodules.sh

Other Parts Discussed in Thread: OMAP-L137

I'm using an OMAP-L137 on custom hardware. I'm using EMIFB.

I'm trying to understand the loadmodules.sh insmod command for cmemk.ko. I'm probably going to need to change it for my target board and application. The current line is

insmod -f cmemk.ko phys_start=0xC2000000 phys_end=0xC2C00000 pools=20x4096,10x131072,2x1048576

This is very similar to the line as listed in the build_instructions.html, which says that the CMEM module is instructed to set aside two pools, one containing 20 4K buffers, the other containing two 1MB buffers. It then goes on to say that this is sufficient for the video_copy application; your application will likely need different settings.

When I look at the command, I would guess that 3 pools are set aside. I also need to know how these pools are used so that I can set the numbers correctly for my application. Are the pools used for the Memory_contigAlloc calls? Or are they used for something else?