Hi, we are trying to make ptp4l working with 2 arm devices (iMX8) connected to an AVB switch (MOTU).
Connecting the two devices directly and running ptp4l with a standard configuration file make it works and one of the two become slave to the other: # # 802.1AS example configuration containing those attributes which # differ from the defaults. See the file, default.cfg, for the # complete list of available options. # [global] gmCapable 1 priority1 248 priority2 248 logAnnounceInterval 0 logSyncInterval -3 syncReceiptTimeout 3 neighborPropDelayThresh 800 min_neighbor_prop_delay -20000000 assume_two_step 1 path_trace_enabled 1 follow_up_info 1 transportSpecific 0x1 ptp_dst_mac 01:80:C2:00:00:0E network_transport L2 delay_mechanism P2P Running the same with the two devices connected to the switch doesn't work and it seems like they don't see each other. Reducing priority1 to a value smaller than the switch one (e.g. 240) make both devices to become grand master and not synchronized. Making the two devices to be slave only makes them both to be slave to the switch and we can see that they get synchronized. Here is the config file (found in some automotive configuration): # # Automotive Profile example configuration for clients containing those # attributes which differ from the defaults. See the file, default.cfg, for # the complete list of available options. # [global] # # Options carried over from gPTP. # gmCapable 1 priority1 248 priority2 248 logSyncInterval -3 syncReceiptTimeout 3 neighborPropDelayThresh 800 min_neighbor_prop_delay -20000000 assume_two_step 1 path_trace_enabled 1 follow_up_info 1 transportSpecific 0x1 ptp_dst_mac 01:80:C2:00:00:0E network_transport L2 delay_mechanism P2P # # Automotive Profile specific options # BMCA noop slaveOnly 1 inhibit_announce 1 asCapable true ignore_source_id 1 # Required to quickly correct Time Jumps in master step_threshold 1 operLogSyncInterval 0 operLogPdelayReqInterval 2 msg_interval_request 1 servo_offset_threshold 30 servo_num_offset_values 10 The problem is that in this way the date is set on both devices to 1970 and then we can't run any internet service. Does anyone know how to make ptp4l work whith complex network with AVB switches? We think we are missing a piece. Thank you, Andrea Albano Andrea Albano Director of Engineering BdSound Palazzo R2, Strada 7, Milanofiori 20089 Rozzano (MI) - Italy Tel.: +39 0289950230 Mob: +39 3666531597 Email: andrea.alb...@bdsound.com www.bdsound.com<http://www.bdsound.com/> [cid:template13_sm_fb_18d17647-954c-4110-871a-7113c8c0de9a11111.png] <https://www.facebook.com/bdsound.srl/> [cid:template13_sm_linkedin_5d790cd9-4767-49a2-bbb7-5bc1b350de8311111.png] <https://it.linkedin.com/company/bdsound-srl> [cid:template13_sm_twitter_bbd37982-0cdf-4e18-9c44-2326e4c7fc8911111.png] <https://twitter.com/bdsound?lang=it> <https://plus.google.com/+Bdsound> <https://www.bdsound.com/news/2019/06/bdsound-sensors-expo-2019-san-jose-ca/><https://www.bdsound.com/we-wont-stop/><https://developer.amazon.com/en-US/alexa/alexa-live><https://www.bdsound.com/alexa?utm_campaign=cps&utm_source=sign&utm_medium=email&utm_content=banner&utm_term=cps+bd><https://www.bdsound.com/bdsound-becomes-an-amazon-alexa-cps-provider/?utm_campaign=cps&utm_source=sign&utm_medium=email&utm_content=btmbnn&utm_term=cps+bd><https://www.bdsound.com/news/2019/06/visit-us-at-stmicroelectronics-techno-day-italy-2019/><https://www.bdsound.com/contact/> <http://www.bdsound.com/kiosks> <https://www.bdsound.com/contact/> <http://www.bdsound.com/news/2018/06/bdsound-sensors-expo-2018-san-jose-ca/><http://www.bdsound.com/news/2018/06/bdsound-sensors-expo-2018-san-jose-ca/>P.IVA: IT02177500184 Informativa ex artt. 13 e 14 del Regolamento UE 2016/679 sul sito https://www.bdsound.com/privacy-policy/ This e-mail (and any attachment(s)) is strictly confidential and for use only by intended recipient(s). Any opinions therein expressed are those of the author and do not necessarily mirror the views and opinions of BdSound. Therefore its content doesn't represent any commitment between BdSound and the recipient(s) and BdSound has no liability or responsibility for the above mentioned content. Il contenuto e gli allegati di questo messaggio sono strettamente confidenziali, e ne sono vietati la diffusione e l'uso non autorizzato. Le opinioni ivi eventualmente espresse sono quelle dell'autore e non riflettono necessariamente le opinioni ed il punto di vista di BdSound. Di conseguenza il messaggio non costituisce impegno contrattuale tra BdSound ed il destinatario, e BdSound non assume alcuna responsabilità riguardo ai contenuti del testo e dei relativi allegati, né per eventuali intercettazioni, modifiche o danneggiamenti.
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users