-
Adam Wujek authored
This patch is to replace previous way of managing ppsi configuration file. Instead of copying proper file based on chosen configuration PTP_* option in dot-config, now ppsi.conf file is assembled based on PORTXX_PARAMS fields in dot-config. --Kconfig: - remove options: - PTP_WR_DEFAULT - PTP_WR_MASTER - PTP_WR_AUTO - PTP_WR_AUTO_UDP - PTP_NONWR_UDP_ALL - add PTP_PORT_PARAMS (to let assembly ppsi.conf file) - keep option PTP_CUSTOM to use user's ppsi configuration file - move PTP_CUSTOM_FILENAME to different position - add property "proto" to PORTXX_PARAMS --remove predefined ppsi configs (not to be used anymore) from /wr/etc/ppsi-config-pool/: - WR_DEFAULT - WR_MASTER - WR_AUTO - WR_AUTO_UDP - NONWR_UDP_ALL --add new script assembly_ppsi_conf.sh to create ppsi.conf file. ppsi.conf file is assembled based on PORTXX_PARAMS fields like port name, proto(col) and role. All master, slave or auto ports are set to use whiterabbit extension --add file /wr/etc/ppsi-pre.conf to keep top of ppsi.conf including global options (later all options may be moved to dot-conf) --modivy apply_dot-config to use assembly_ppsi_conf.sh instead of old way. NOTE: update of documentation is missing Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
1c0e4648
Kconfig 13.16 KiB