AnsweredAssumed Answered

about imx6d memory DMA test

Question asked by sandy zhao on Feb 21, 2013
Latest reply on Jul 3, 2014 by jimmychan
Branched to a new discussion

1.I reserve 20MB memory using  linux kernel cmdline "mem=800".

2.I want use sdma to copy the first 10MB to second 10Mb position ,and then to get the used time

3.I use imx-test-3.0.0\module_test\mxc_sdma_mem_test.c,but cant compile it

 

work_sandy_host/nfs_host/test_memory_dma/test_module/mxc_sdma_mem_test.c : In function 'mxc_printSDMAcontext':

 

/work_sandy_host/nfs_host/test_memory_dma/test_module/mxc_sdma_mem_test.c :52:2: error: implicit declaration of function 'IO_ADDRESS' [-Werror=implicit-function-declaration]

 

/work_sandy_host/nfs_host/test_memory_dma/test_module/mxc_sdma_mem_test.c :52:40: error: 'MX6Q_SDMA_BASE_ADDR' undeclared (first use in this function)

 

/work_sandy_host/nfs_host/test_memory_dma/test_module/mxc_sdma_mem_test.c :52:40: note: each undeclared identifier is reported only once for each function it appears in

 

/work_sandy_host/nfs_host/test_memory_dma/test_module/mxc_sdma_mem_test.c : In function 'sdma_open':

 

/work_sandy_host/nfs_host/test_memory_dma/test_module/mxc_sdma_mem_test.c :146:2: error: implicit declaration of function 'mxc_dma_request' [-Werror=implicit-function-declaration]

 

/work_sandy_host/nfs_host/test_memory_dma/test_module/mxc_sdma_mem_test.c :146:33: error: 'mMXC_DMA_MEMORY' undeclared (first use in this function)

 

make[1]: Leaving directory `/work_sandy_host/linux_imx6'

4.can you give me some advice?

 

Outcomes