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.
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
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
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!
-----------------------------------------------------------------------------------------------------------------------