I'm developing on the DM8148 using the TI_EZSDK_5_05_02_00. There is 512 MB's of memory available and I've followed the directions here to make all needed changes:
http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map#Changing_Memory_Map_For_512MB_DM814x_Board
The board boots and I can load the provided FW(dm814x_hdvicp.xem3 and dm814x_hdvpss.xem3) and can successfully run the sample code (encode_a8host_debug and decode_a8host_debug).
Before I run the sample code, I see I have ~91MB of RAM left.
root@dm814x-evm:~# free
total used free shared buffers
Mem: 167948 76500 91448 0 852
Swap: 0 0 0
Total: 167948 76500 91448
root@dm814x-evm:~#
However, after I run the sample code, I see I only have ~65 MB of RAM left.
root@dm814x-evm:/mnt/nfs# free
total used free shared buffers
Mem: 167948 102860 65088 0 852
Swap: 0 0 0
Total: 167948 102860 65088
From my understanding, I thought the hardware uses memory that's been mapped elsewhere outside of the Linux kernel, such as IPC_SR_FRAME_BUFFERS. Why is there any memory taken from Linux? The encoded files are valid and play as expected.
Can someone help me figure this out?
Thanks!