i.MX8M connection to FPGA KB article

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

i.MX8M connection to FPGA KB article

1,899 Views
vdoser
Contributor I

Hello,

I'm following this KB article to setup iMX8M EVK connection to FPGA over FlexSPI https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Expend-i-MX8M-93-Capability-to-Connect-F... , which does not provide a test app source code. I'm wondering if someone could hint with the test app implementation?

I'm a newbie to iMX Linux...

Thank you in advance,

Serguei

0 Kudos
Reply
5 Replies

1,884 Views
vdoser
Contributor I
Thank you for replying, but the download link contains only a binary file for the test app, not its source code. At least that's what i get on my side...
0 Kudos
Reply

1,790 Views
vdoser
Contributor I

Hello @Chavira, I was wondering if any hints can be provided by NXP on how the  flexspi_fpga_test app source code looks like, to implement something similar on our side?

Thank you,

Serguei

0 Kudos
Reply

1,880 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @vdoser !

 

The .dtb inside of the folder "flexspi_fpga_test" is the device tree compiled for the test.

 

You have to compile the kernel including the driver ("flexspi_fpga_driver") and then flash the kernel on your board to test the example.

 

You can find instructions on how to compile by following the link:

 

 https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

The source code is available on our GitHub:

 

https://github.com/nxp-imx/

 

Best Regards!

Chavira

0 Kudos
Reply

1,877 Views
vdoser
Contributor I
sorry, not sure how to follow this instruction in the Test1 or Test2:
"Read/write FPGA/CPLD test
.$/flexspi_fpga_test -p 0x08000000 -s 768"

I think this step runs an app called flexspi_fpga_test ? If so, where can i get its source?
0 Kudos
Reply

1,886 Views
Chavira
NXP TechSupport
NXP TechSupport


Hi @vdoser!
Thank you for contacting NXP Support!

You can download all the files of this article at the bottom of the page (see attached image)

Chavira_0-1701971525567.png


If you have questions about the compilation of the kernel I recommend reading our Linux Documentation:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Best Regards!

Chavira

0 Kudos
Reply