Hello,
Thank you in advance.
Best regards,
Junhui
The 802.1Qbv basetime needs to be an agreed-upon future time in the 1588 clock domain. It is up to the applications/network how the base-time is decided.
After clock synchronization within a given offset (say 50 ns) is established, all nodes can agree that the base time is the start of the next second. Clock synchronization can be checked by polling the status of the ptp4l service, either by parsing its raw output or with the pmc program.
You can check the tsn-scripts from the unofficial openil-community repo as an example:
https://github.com/vladimiroltean/tsn-scripts/blob/master/time-test.sh#L555