Hi all,
DVSDK's default Codec Engine examples memory map is as bellow
0xC0000000 .. 0xC1FFFFFF ( size 32MB): Linux: booted with MEM = 32M
0xC2000000 .. 0xC2BFFFFF ( size 12MB): CMEM: shared ARM/DSP I/O buffers
0xC2C00000 .. 0xC2EFFFFF ( size 3MB): SDRAM
0xC2F00000 .. 0xC2F00FFF ( size 4KB): RESET_VECTOR: reset vectors
0xC2F01000 .. 0xC2FFFFFF ( size 1020KB): DSPLINKMEM: memory for DSPLINK
0xC3000000 .. 0xC3FFFFFF ( size 16MB): RESET_VECTOR: reset vectors
And my g729 encoder and decoder works well with this memory map.
But I want to partition it as below to fit my DVEVM board:
0xC0000000 .. 0xC5FFFFFF ( size 96MB): Linux: booted with MEM = 96M
0xC6000000 .. 0xC6BFFFFF ( size 12MB): CMEM: shared ARM/DSP I/O buffers
0xC6C00000 .. 0xC6EFFFFF ( size 3MB): SDRAM
0xC6F00000 .. 0xC6F00FFF ( size 4KB): RESET_VECTOR: reset vectors
0xC6F01000 .. 0xC6FFFFFF ( size 1020KB): DSPLINKMEM: memory for DSPLINK
0xC7000000 .. 0xC7FFFFFF ( size 16MB): RESET_VECTOR: reset vectors
As suggested,
1. First, I change the boot argument in my linux bootloader.
2. Then modified dsp server memory map file ti/sdo/ce/examples/servers/all_codecs/all_evmOMAPL138.tci and rebuild my dsp server.
3. Last, change the phys_start and phys_end addr when load cmemk.ko module.
And result is when I run two instances of g729 encoder and decoder, the audio with jitter and is not hear clearly. When I run one instance of g729 encoder and decoder, the audio is ok.
I don't know why.
Is there anything else I need to modify about memory map?
My nfs file system: arago-base-tisdk-image-da850-omapl138-evm
Best regards,
Buga