• Adam Wujek's avatar
    userspace/rootfs_override: change handling of ppsi.conf · 1c0e4648
    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's avatarAdam Wujek <adam.wujek@cern.ch>
    1c0e4648
Name
Last commit
Last update
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
hwinfo-sdb Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...