Custom SDMA script for i.MX7D/S

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom SDMA script for i.MX7D/S

2,074 Views
ko-hey
Senior Contributor II

Hi all

I want to expand SDMA's script function.

Q1.
It seems that NXP provides an assembler for creating SDMA sript, is it available ?
If possible, please tell me the origin url.

The following URL teach me NXP provides a assembler for creating SDMA sript.
http://billauer.co.il/blog/2011/10/imx-sdma-howto-assembler-linux/

Q2.
It seems to be a mechanism to expand binary data converted script into machine language into RAM under SDMA module using channel 0.
What method is recommended for making binary?

Is there a way to add the machine language output from the assembler using Hex editor ?

According to the following PDF, it can only for i.MX6.
http://cache.freescale.com/files/soft_dev_tools/doc/data_sheet/950-00140.pdf

Q3.
Is there sample code to run SDMA using my own SDMA script ?


Q4.
Furthermore, do you have sample code for 2DMA and 3D DMA ?


Ko-hey

Labels (3)
4 Replies

1,276 Views
ceggers1
Contributor IV

Hi Ko-hey,

please read the following page regarding a new approach for making custom SDMA scripts:

https://community.nxp.com/t5/i-MX-Processors/SDMA-port-for-GNU-binutils-assembler-linker-debugger/m-...

regards
Christian

0 Kudos

1,335 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

unfortunately nxp does not support creation custom sdma script,

mentioned link is unofficial link, not supported by nxp.

The same answer is for other questions, customer can use sdma provided in official bsp

releases described on

http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i....

Note, additional help with sdma can be provided to customers through NXP Professional Services:

http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,335 Views
ko-hey
Senior Contributor II

Hi Igor

I understand.

I ask one more question.

How can I build the sdma-imx7d.bin from SDMA RAM scripts (sdma-mx7d.bin.ihex) ?

Ko-hey

1,335 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

as this is not officially supported, unfortunately there is no

available customers documentation for that, sorry.

Please try suggested path for creating custom sdma scripts.

Best regards
igor