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.
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"
文件名 | 文件大小 | File Type |
---|---|---|
0001-net-macb-Fix-ptp-time-adjustment-for-large-negative-.patch | 1 KB | PATCH |
AR# 71332 | |
---|---|
日期 | 07/19/2018 |
状态 | Active |
Type | 综合文章 |
器件 | |
Tools | |
Boards & Kits |