AnsweredAssumed Answered

Can I use mxc_sdma_mem_test.c for i.MX6Q?

Question asked by Hiromichi Matsumura on May 20, 2014

Dear all,

 

I am developing the pci device driver using sdma in i.MX6Q on Sabrelite.

The aim of the driver is to transfer the memory to pci space.

 

I think that I use the test code, mxc_sdma_mem_test.c in imx-test.

I tried to build the test code, but I couldn't build the test code.

I attached the "error.log".

 

Can I use mxc_sdma_mem_test.c for i.MX6Q?

If I can use the code, could you please show me how to build the code?

If I can't, could you please show me the other sample code for sdma?

 

My environments is as follows:

     Target: Sabrelite(i.MX6Q)

     Build Environments: Yocto (Dora)

 

Change the Makefile for build:

     imx-test-3.10.9-1.0.0/module_test/Makefile

     ----------------------------------------------------------------

     *** 15,23 ****

       ifeq ($(CONFIG_MXC_SECURITY_RNG),y)

       module_list-y += sahara_test_driver.o

       endif

     ! ifeq ($(CONFIG_MXC_SDMA_API),y)

       module_list-y += mxc_sdma_mem_test.o

     ! endif

       ifeq ($(CONFIG_FB_MXC_EINK_PANEL),y)

       module_list-y += epdc_test_driver.o

       endif

     --- 15,23 ----

       ifeq ($(CONFIG_MXC_SECURITY_RNG),y)

       module_list-y += sahara_test_driver.o

       endif

     ! #ifeq ($(CONFIG_MXC_SDMA_API),y)

       module_list-y += mxc_sdma_mem_test.o

     ! #endif

       ifeq ($(CONFIG_FB_MXC_EINK_PANEL),y)

       module_list-y += epdc_test_driver.o

       endif

     ----------------------------------------------------------------

 

Best regards,

Hiromichi

Original Attachment has been moved to: error.log.zip

Outcomes