SRIO testing for P2040

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

SRIO testing for P2040

994 Views
gouravjain
Contributor IV

Hello all,

In my design, which is based on P2041RDB board, SRIO is being connected to IDT SRIO switch.
Is there any sample code available for Processor P2040 either in UBoot or linux to start some basic testing for the SRIO interface.

Thanks in advance.

regards,

Gourav

0 Kudos
Reply
2 Replies

794 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello gourav jain,

You could use USDPAA SRA application provided in the Linux SDK to do the basic connection verification. SRA is a demo application to implement SRIO functions, via dma and srio driver interface. It supports SRIO SWRITE, NWRITE, NWRITE_R, NREAD, ATOMIC_INC, ATOMIC_DEC, ATOMIC_CLR, ATOMIC_SET type protocols based on
window/segment/subsegment, using command input.

Please refer to the section "9.9.16 NXP USDPAA SRA User Manual" in the document https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf  for details.

You could download and install SDK 2.0 Source and Cache ISOs from Linux® SDK for QorIQ ® Processors|NXP .


Have a great day,
TIC

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

0 Kudos
Reply

794 Views
gouravjain
Contributor IV

Hi Yiping,

In the section its written like " Currently, it can run on P3041DS/P4080DS/P5020DS/T4240QDS/B4860QDS board."

Will it work on P2040/41 board also??
Will the same application available on "QorIQ-SDK-V1.4-20130625" version??

regards,

Gourav

0 Kudos
Reply