cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aymanhendawy
Visitor
Visitor
472 Views
Registered: ‎11-11-2018

ZCU102 - JESD204B linux driver installation and testing

Dear All,

I'm trying to test JESD204B linux driver by following this link "https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841739/jesd204b", but unfortunately I can't tell if it's probed successfully or not.

My setup is as following,

  • ZCU102 board
  • External linux source of linux-xlnx tagged at 2018.2
  • Petalinux 2018.2

 

I have updated "system-user.dtsi" as the link above and below recommendtations,

 

I can't get any "lane0_info", "lane0_syncstat", "reg_access", "sync_status", here's my output for sysfs,

root@xilinx-zcu102-zu9-es2-rev1_0-2018:~# ls -al /sys/devices/platform/amba_pl\@0/a0001000.jesd204/
total 0
drwxr-xr-x 3 root root 0 May 2 13:14 .
drwxr-xr-x 8 root root 0 May 2 13:14 ..
-rw-r--r-- 1 root root 4096 May 2 13:17 driver_override
-r--r--r-- 1 root root 4096 May 2 13:17 modalias
lrwxrwxrwx 1 root root 0 May 2 13:17 of_node -> ../../../../firmware/devicetree/base/amba_pl@0/jesd204@a0001000
drwxr-xr-x 2 root root 0 May 2 13:17 power
lrwxrwxrwx 1 root root 0 May 2 13:17 subsystem -> ../../../../bus/platform
-rw-r--r-- 1 root root 4096 May 2 13:14 uevent
root@xilinx-zcu102-zu9-es2-rev1_0-2018:~# ls -al /sys/devices/platform/amba_pl\@0/a0000000.jesd204/
total 0
drwxr-xr-x    3 root     root             0 May  2 13:14 .
drwxr-xr-x    8 root     root             0 May  2 13:14 ..
-rw-r--r--    1 root     root          4096 May  2 13:17 driver_override
-r--r--r--    1 root     root          4096 May  2 13:17 modalias
lrwxrwxrwx    1 root     root             0 May  2 13:17 of_node -> ../../../../firmware/devicetree/base/amba_pl@0/jesd204@a0000000
drwxr-xr-x    2 root     root             0 May  2 13:17 power
lrwxrwxrwx    1 root     root             0 May  2 13:17 subsystem -> ../../../../bus/platform
-rw-r--r--    1 root     root          4096 May  2 13:14 uevent
root@xilinx-zcu102-zu9-es2-rev1_0-2018:~# ls -al /sys/devices/platform/amba_pl\@0/a0002000.jesd204_phy/
total 0
drwxr-xr-x    3 root     root             0 May  2 13:14 .
drwxr-xr-x    8 root     root             0 May  2 13:14 ..
-rw-------    1 root     root          4096 May  2 13:17 configure_pll
lrwxrwxrwx    1 root     root             0 May  2 13:17 driver -> ../../../../bus/platform/drivers/jesd204b_phy
-rw-r--r--    1 root     root          4096 May  2 13:17 driver_override
-rw-------    1 root     root          4096 May  2 13:17 line_rate_band
-r--r--r--    1 root     root          4096 May  2 13:17 modalias
lrwxrwxrwx    1 root     root             0 May  2 13:17 of_node -> ../../../../firmware/devicetree/base/amba_pl@0/jesd204_phy@a0002000
drwxr-xr-x    2 root     root             0 May  2 13:17 power
lrwxrwxrwx    1 root     root             0 May  2 13:17 subsystem -> ../../../../bus/platform
-rw-r--r--    1 root     root          4096 May  2 13:14 uevent

 

dmesg have nothing related to jesd 

dmesg | grep jesd

 

Kindly, find attached

"pl.dtsi", "system-user.dtsi", "JESD Vivado block diagram.pdf", JESD .hdf file of the project "design_1_wrapper.hdf", and vivado .tcl design script "design_1.tcl".

Note: I can't attach .dtsi, or defconfig files, so I just added ".txt" extension at the end of each of these files, you just have to remove this ".txt" extension to open these files and compressed the ".hdf" file to "design_1_wrapper.7z"

I really appreaciate any help to get JESD works.

Thanks

 

Tags (2)
0 Kudos
Reply
0 Replies