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.

OMAPL138 Memory Leak

I've a 128MB DDR, and my bootargs is "mem=60m"

When the Linux booted, the system use about 20M

When I load dsp.out, the load program use about 11M

And my arm-side program use about 35M, when I run it, then error  occrus:

"Segment fault" or "Can't load shared lib xxx.so",

 

So I try to set the bootargs to "mem=100m", and modify the dsp project file  dsplink-omapl138gem-base.tci

"RESET_VECTOR.base" from 0xc3e00000 ( 62M ) to 0xc64000000(100M)

But this time, I've got the error "memory size is wrong" when I load dsp.out

I think I've to also modify some code to rebuild dsplinkk.ko, right?

So what should I do and how to rebuild ko file, just like rebuild all " make dsplink _clean ;     make dsplink"

or just get into some folder and only rebuild dsplinkk.ko?

Another question, when I modified the kernel src, do I need the rebuild the ko file, I think ko file is a driver and it need to be rebuilded,

but I found it doesn't need?

 

Last question,  can dsp.out run on it's inner-Ram, not DDR?