AR# 71332

|

2018.1/2 Zynq UltraScale+ MPSoC: Linux GEM PTP time adjustment fails for large negative delta

Description

When Zynq UltraScale+ MPSoC GEM acts as a PTP slave trying to synchronize with a master whose initial system time is very far behind that of the Zynq UltraScale+ MPSoC devices, it requests a large negative delta adjustment.

There is a driver bug in this computation, and as a result this particular time adjustment request fails leading to even more time difference between the slave and master.

Solution

To fix this issue, you will need to apply the attached patch.

The patch should be applied to <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend

Note: To apply a patch to recipes, please refer to (UG1144) or http://www.wiki.xilinx.com/PetaLinux+Yocto+Tips

$ cp 0001-net-macb-Fix-ptp-time-adjustment-for-large-negative-.patch <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/linux-xlnx

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend

# linux-xlnx_%.bbappend content 

SRC_URI_append = "file://0001-net-macb-Fix-ptp-time-adjustment-for-large-negative-.patch"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

Attachments

Associated Attachments

AR# 71332
Date 07/19/2018
Status Active
Type General Article
Devices
Tools
Boards & Kits
People Also Viewed