Hi All,
In our board based on P2041rdb, SRIO lines are connected to IDT SRIO switch.
Its in 2x mode. serdes lines SD_TX04/SD_RX04, SD_TX05/SD_RX05 are connected to IDT SRIO switch.
I want to perform link test in UBOOT and then linux.
Can some one let me know how to proceed further ??
Thanks,
Gourav
Use Ubuntu 12 or Ubuntu 14. Do not use Ubuntu 16 or Ubuntu 18.
Usually the following command sequence is used for SDK 2.0 installing under Ubuntu 14.04 64-bit:
Message: /bin/sh -> dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
Install SDK v2.0-1703
Have a great day,
Pavel Chubakov
-------------------------------------------------------------------------------
Note:
This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------
New version of SDK usually uses new version of Linux kernel. For example SDK 2.0 Linux kernel is Linux kernel 4.1.8.
Some problems or mistakes are fixed in new SDK version.
Have a great day,
Pavel Chubakov
-------------------------------------------------------------------------------
Note:
This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------
I'm trying to compile SDK-2 kernel, but its giving error...
While SDK-1.4 is working fine. So if you guide me how to use SRIO in SDK-1.4, will be easier for me to proceed.
There is the same driver is the SDK 2.0 ("./drivers/uio/fsl_srio_uio.c").
Have a great day,
Pavel Chubakov
-------------------------------------------------------------------------------
Note:
This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------
yeah ..i understood your's point.
But, my question is why should I use SDK-2 ?? While same srio files are available in SDK-1.4
Find SRIO driver in kernel source folder.
The following path is needed if T1040RDB board:
/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/linux-qoriq/4.1-r0/git/drivers/uio
Use similar path for the P2041.
Have a great day,
Pavel Chubakov
Hi Pavel,
I can see "./drivers/uio/fsl_srio_uio.c" in my working SDK-1.4.
So whats the point of going for higher version SDK-2???
Cant i use all the SRIO related features by using SDK-1.4?
Thanks for help.
I missed out to enable one more thing. Anyways i got the source code.
Now i'm going to fuse new image into the card and i'll let you know if any issue comes.
Use the following page:
Find "Download" on this page.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pavel,
I have downloaded SDK2 and able to cross compile kernel in standalone basis.
Can you pls let me know where i can find srio files in kernel dir, since im not able to see any relevant files
thanks,
Gourav
See the Sections 9.9.18 and 12.3.5 of SDK 2.0-1703 documentation:
https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf
These Sections contains information for installing and testing SRIO on the P2041/P3041/P4080/P5020/T4240/B4860.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pavel,
Thanks for the response.
Can you pls share the link from where i can download SDk-2.0 freely.
Currently we are using "Linux-3.8.13-rt9-QorIQ-SDK-V1.4" and there is no USDPAA SRA application.
Pls let me know how to get it.