UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant welcomelm
Participant
233 Views
Registered: ‎01-07-2019

PTP problems on ZCU102

Hi everyone

I was trying to run linuxptp 2.0 on ZCU102, which is running petaLinux 20183, which was compiled by me.

CONFIG_MACB_USE_HWSTAMP is enabled

The kernel is configured to use GEM3

ptp4l throwed the following log

timed out while polling for tx timestamp

Later, when I was debugging kernel

I found that both gem_ptp_txstamp was called but failed at

if (!GEM_BFEXT(DMA_TXVALID, desc->ctrl))
return -EINVAL;

It seems bit 23 of Tx buffer descriptor was never set to indicates a timestamp is captured in the buffer
descriptor

I checked the DMA config register and it was set to 0x70180f10, which means the extended buffer descriptor mode was set.

Can any one share any insight for this?

 

Thanks

 

Min

 

 

0 Kudos